Hey everyone,
I’m building out a new IVR flow and need to pass some custom variables from an earlier webform submission into the Genesys Cloud participant context. I’m using the ‘Set Participant Data’ data action, but the values aren’t sticking when I try to pull them later in the flow using the {{ participant.customData.myKey }} syntax.
Here’s the JSON payload I’m sending to the data action:
{
"key": "customer_tier",
"value": "platinum",
"scope": "conversation"
}
The action reports success, no errors in the flow logs. But when I hit a subsequent ‘Set IVR Variable’ action to map that participant data to an IVR variable, the IVR variable comes back empty. I’ve double-checked the spelling and casing. Everything looks right.
Is there a delay or a specific order I need to follow? I’m assuming the participant data update is synchronous, but maybe I’m missing something about how the context propagates. I’ve tried adding a small delay action just to be sure, but that didn’t help either.
Also, I noticed the docs mention a ‘scope’ parameter. I’ve tried ‘conversation’ and ‘participant’, but neither seems to make the data available immediately downstream. Am I doing something wrong with the scope, or is this a known limitation?
Any thoughts?