This tool lets you extract values from a user’s response and save them as dynamic variables.
Add a Extract Dynamic Variable Tool
This would give your agent the ability to extract variable. The description is optional here.
Add Variables
Click “+Add” at the bottom.fill in the following details:
Text
, Number
, Enum
, or Boolean
.You can create variables of the following types:
"headache"
, "John Smith"
42
, 98.6
"Yes"
, "No"
, "Maybe"
Click Save to add variable.
Add more variables as per requirement
Save the Extract Dynamic Variable Tool
Click the save button
Update prompt for function
It’s best to include in the prompt explicitly when is the best time to invoke the extract variable function. For example: