Stuck on migrating Zendesk ticket triggers to Genesys Cloud Architect IVR flows. The Set Variable block throws a 400 Bad Request when trying to parse the legacy Zendesk JSON payload. In Zendesk, this logic was handled by simple automation rules, but the JSON path syntax in GC seems to require a specific format I cannot find documented.
This looks like a JSON path syntax mismatch. The Set Variable block expects $.data.tickets[0].comments[0].body instead of the Zendesk-style dot notation. Check the raw payload structure in the integration logs to confirm the array indexing.
Have you tried wrapping the Zendesk payload in a generic object first? The Set Variable block often chokes on direct array access if the schema isn’t explicitly defined. Using a JSON Extract block to flatten the structure before variable assignment usually resolves the 400 error without needing complex path syntax adjustments.