Embedding
How to embed user data in content
Last updated
Was this helpful?
How to embed user data in content
Last updated
Was this helpful?
Information captured by the Virtual Agent becomes valuable when you can use it as part of the conversation. Therefore, most content fields used in the Content section of the platform can be merged with information that is gathered by the Virtual Assistent, such as user data, conversation data and bot data.
Information can be embedded in content fields using the . In the next examples you see how to do this.
Embedding the user name and email address:
Embedding the bot title:
Leaving a message to call back:
Any variable in the objects user
, conversation
and bot
can be used. These are the most frequently used variables:
user.first_name
First name
user.last_name
Last name
user.email
Email address
user.phone
Phone number
user.locale
The preferred language of the user
user.user_id
The id of the user
conversation.locale
The language of the conversation
conversation.message
The last user message
bot.title
The title of the bot
bot.purpose
The description of the bot
bot.id
The id of the bot