> For the complete documentation index, see [llms.txt](https://docs.cosmocloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cosmocloud.io/flow-builder/node-types/variable-nodes/strings/concat-strings.md).

# Concat Strings

The **Concat Strings** node is used to concatenate two or more strings together. It combines the specified strings into one. The resulting concatenated string is then stored in a new variable.

### Properties Panel

| **Field**              | **Description**                                                                      | **Required** |
| ---------------------- | ------------------------------------------------------------------------------------ | ------------ |
| Node name              | [Node Name](https://docs.cosmocloud.io/concepts-and-in-depth/flow-builder/node-name) | true         |
| New string name        | Name of the new variable in which the concatenated string would be stored            | true         |
| Strings to concatenate | Values or Variables containing strings needs to be concatenated                      | true         |
| Delimiter              | The character or set of characters that is used to separate each concatenated value  | false        |

### Example

Let's say you want to generate the full name of user from user's first and last name. User First Name is stored in `$.variable.firstname` User Last Name is stored in `$.variable.lastname`

1. Set `New string name` to `full_name`.
2. Set `Strings to concatenate` to `$.variable.firstname`
3. Click `New Value` Button in `Strings to concatenate` section.
4. Set `Strings to concatenate` to `$.variable.lastname`
5. Set `Delimiter` to (in case you want space between first and last name else leave blank).

It will append the string present in `$.variable.firstname` to string present in `$.variables.lastname`. The variable `$.variables.fullname` will contain the concatenated string. If the variable `$.variables.fullname` does not exists, then it will create a new variable. If it exists, it would overwrite the value with the concatenated string.

### Returns

This node does not return any value, but sets a variable with your provided `< New string name>` in the flow context.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cosmocloud.io/flow-builder/node-types/variable-nodes/strings/concat-strings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
