Could someone explain the specific JSON structure requirements for the “Create Interaction” action when migrating legacy Zendesk ticket metadata? We are currently finalizing the migration from Zendesk to Genesys Cloud, aiming to replicate our previous workflow where ticket comments were automatically converted into digital channel interactions.
Background
Our migration strategy involves a real-time webhook that triggers an Architect flow whenever a new Zendesk ticket is created with a specific tag. The goal is to create a corresponding Interaction in Genesys Cloud to maintain a unified agent view, similar to how Zendesk Sunshine Conversations handled multi-channel threads. We are using the Genesys Cloud v2.0 API within the Architect flow via the “Generic Web Service” action.
Issue
The flow successfully authenticates and reaches the Genesys Cloud API endpoint /api/v2/interactions. However, the response consistently returns a 400 Bad Request with the error message: Invalid input: The interaction type must be one of [voice, digital, callback]. The request body includes a type field set to "digital", which appears valid. The error persists even when we simplify the payload to only include the required fields. This feels like a schema mismatch similar to the macro parameter validation issues we faced in Zendesk, but the documentation is less explicit about the nested object structure for digital interactions.
Troubleshooting
- Verified the API credentials and scope permissions (interaction:write) are correct.
- Tested the same JSON payload using Postman, which also returns a 400 error, suggesting the issue is with the payload structure, not the Architect flow logic.
- Reviewed the Genesys Cloud API documentation for
CreateInteractionRequest, but the examples for digital interactions are sparse compared to voice. - Checked the timezone settings (Europe/Paris) to ensure no timestamp formatting issues, though the error message points to the type field.
Has anyone successfully mapped Zendesk ticket fields to Genesys Cloud digital interactions? Any example payloads or known schema quirks would be incredibly helpful.