# Data Merge - Text

1. Click the Component's settings icon, or\
   click on the Component as displayed in the Canvas, or\
   go to the Component Settings panel.

***

<div align="left"><figure><img src="/files/uLn1CdOXbmHpVjyQs2K4" alt=""><figcaption></figcaption></figure></div>

2. Position the cursor where you want to insert the merged field.

***

<div align="left"><figure><img src="/files/bcVHJ3kuf2hLR6q6V46u" alt=""><figcaption></figcaption></figure></div>

3. Click the `field` button.

***

<div align="left"><figure><img src="/files/aWCJHPcp4lhV2diTqlzf" alt=""><figcaption></figcaption></figure></div>

4. Select the desired field.

***

<div align="left"><figure><img src="/files/0K0pXnFnJCkbV5h06C8E" alt=""><figcaption></figcaption></figure></div>

5. The merged field will be inserted at the cursor's position, in the form `{{!label}}`. This will be replaced with the data from the field when the document is generated. You can check this by using the **Preview** function and choosing a record to generate the document for.


---

# Agent Instructions: 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:

```
GET https://help.smallbuilder.com/smallbuilder-documents/data-merge/data-merge-text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
