Assign Parameters in Conversations

The chatbot conversation can remember certain parameters that are set in the conversation. These can be set at various points to help make decisions at future points in the conversation. A classic example is setting parameter based on users selection.

For ex. if a user is asked a question "Please select the reason for contacting us today" and presented with options "Sales" and "Support", we can store their selection in a parameter for use in the rest of the conversation.

How to set a parameter?

  • Open the conversation flow and navigate to the node where you would like to set a parameter.

  • Click on the node and open the right panel

  • In the right panel scroll down to Additional Settings and click Edit next to Assign Parameters

  • In the popup you will be able to add parameters and save them at this node.

  • If a captured or declared parameter holds sensitive data such as an API Key, email etc. you should declare it under Sensitive Parameters to ensure it is scrubbed from the transcript.

  • Optionally the parameter can be declared as Encrypted

Note: Parameters are assigned after the node has been evaluated and are available for use from the subsequent steps

Types of Parameter Values

Fixed Values

Fixed parameter values can be used to set parameters for routing the conversation or using some conversation state available from the platform.


Expressions allow to transform data and store the result in a parameter. The expressions are useful if you are looking to do operations such as math operations, string manipulation and certain built in functions that are provided through the platform.


Here is a list of operators that you use with the conversation parameters

Utility Functions

In addition to the operators you can also use certain prebuilt utility functions.

How to unset a parameter value?

You can unset a parameter by choosing the Unset option and giving the parameter name or path you would like to unset.

You can use path notation as well ex. a.b.c

How to use parameters in messages?

Parameters can be used in our templating language by referring to them as follows:

Hello {{ firstName }}

Action Parameters

Action parameters are special purpose parameters that allow you to define actions to take during the flow execution. These are fixed value parameters with value serving as a property of the parameter.

You can set this like the image below:

Last updated