Dropping a custom var via Set Participant Data in an IVR flow, but it’s gone by the time I hit the next node.
{
“key”: “ext_id”,
“value”: “12345”
}
Trying to read it back with a Get Participant Data action immediately after and it returns null. Am I missing a sync step or is this just a bug in the current build?
You’re probably hitting the scope boundary. Set Participant Data lives on the session, but if you’re jumping between nodes that trigger a new context or if the key isn’t defined in the flow’s variable list, it drops. Make sure ext_id is actually declared as a flow variable first. Also, check your JSON syntax. You used curly quotes in your example, which breaks the parser. It needs straight quotes.
{
"key": "ext_id",
"value": "12345"
}
Define the variable in the flow setup, use straight quotes, and it should stick.