When creating a chatbot, you can use an action to call a defined API which then can POST to a URL of your choice (webhook) the problem is I’m trying to include the value of dialogs in the bot flow, but the values aren’t escaped.
I tried using the liquid | escape
within the plaintext message but it doesn’t appear to work (it just outputs a blank value). Here’s the payload:
{
"hello": "Here's the value of the dialog: ${{node::1234567890}}"
}
also tried ${{node::1234567890 | escape}}
to no avail.
I’m surprised values aren’t escaped for this already, but I must be missing something. Anyone know how to get escaped dialog values in my JSON payload?
Example: