Your chatbot can provide personalized responses to your visitors. You can use data from a form submission or from managed users.
Any field included in a form can be used by the chatbot to customize responses to the visitor. For managed users, you can use ID, email, and name.
To use form submission data in your chatbot, you’ll need:
- The form field reference ID: a unique ID for a specific field in your form.
- A Navigate to page action: this allows the form to send a visitor to a different page and make the form submission available on that page.
- A code snippet to enter in the Directive or Greeting field of the chatbot.
Find the reference ID
The reference ID is the unique identifier for each field in your form.
- In your form component, click the field you want to use. The right sidebar will open.
- In the Content tab, click the down arrow to expand the Reference section.
- In the Reference ID field, copy the value to your clipboard.
- You can use the preset value or enter your own unique value.
- Repeat for each field you want to use.
Add a Navigate to page action
- In your form component, click any field to expand the right sidebar.
- In the Actions tab, click + Add action.
- In the new window, click the Action dropdown menu.
- Select Navigate to page.
- Click the Page dropdown menu.
- Select a page to send the user to.
- Select the Send data to this page checkbox.
- Click Create action.
Create a code snippet
To customize your chatbot greeting or directive you must use a code snippet. This will allow the chatbot to retrieve that data during the conversation.
- In your chatbot component, click the chatbot to expand the right sidebar.
- In the Content tab, enter the following code snippet into the field you want to personalize:
{{params.fieldreference|default:"default wording"}}
. - In the code snippet, replace:
-
fieldreference
with the reference ID for the field you want to use. -
default wording
with a default text. If the field has a blank value, the default text will be used instead.- You must keep the double quotation marks around
default wording
.
- You must keep the double quotation marks around
-
- Repeat for each field you want to use.
- Click Save changes.

Then, in your Greeting field, you would enter:
How can I help you today, {{params.firstName|default:"friend"}}
?
You can test this in the following interface: https://personalization-example.zapier.app/page. If you input the name "Florian" and submit the form on the home page, it will use that information on the next page.

If you want to send data from multiple fields to your chatbot, you can use a text editor like Microsoft Word, Google Docs, or any other text editor built into your computer to paste your reference IDs into and edit your code snippets.
If your interface has managed users, you can use code snippets to customize the greeting or directive in your chatbot with their user ID, email, or name.
Managed user information | Code snippet to use |
ID | {{currentUser.id}} |
{{currentUser.email}} |
|
Name | {{currentUser.name}} |
- In your chatbot component, click the chatbot to expand the right sidebar.
- In the Content tab, enter a code snippet for the field you want to personalize.
- Repeat for each field you want to use.
- Click Save changes.
The space where you place the managed user information will appear as blank when editing your page.

Here is an example of a directive that includes managed user information:
You are a helpful travel assistant. Call the user by their name, which is {{currentUser.name}}
.

You can also use form submissions and managed user data to personalize text components.