How to call passed variables into the chat bot in chat architect

We are using this code to pass in values to the chat from page that holds the chat widget. In the chat architect how to we actually call on those values to write those vars to the chat?

Genesys("command", "Database.set", {
messaging: {
customAttributes: {
email: 'xxxxxxxxxxxxxx'
}
}
});

Please give exact syntax as this is nowhere to be found in your documentation that we can find.

We want to say:

Hi, we received your email as : xxxxxxxxx

Thanks!

Hi @osands your email attribute can be retrieved within Architect Flow using Get Participant Data action: the Attribute Name value would match your key name, so in this case email.
See this similar post on Community > Genesys Cloud - Main - Genesys

Thanks we got it working.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.