Looking for advice on mapping Zendesk ticket comments to Genesys Cloud interactions via a custom Data Action. We are in the final stages of migrating our support workflow from Zendesk to Genesys Cloud. The goal is to preserve historical context by pushing past ticket notes into the GC interaction timeline.
The Data Action triggers successfully on new interactions, but fails when processing legacy data imports. The response returns a 400 Bad Request with the message: Invalid payload structure for interaction history update. The endpoint is /api/v2/interactions/history.
In Zendesk, we used a simple JSON array for comments. The GC documentation here suggests a nested object structure for external_source_id. I have tried flattening the JSON and wrapping it in a standard interaction envelope, but the 400 error persists.
Is there a specific schema requirement for the body field when using the genesys:interactions:history:update action? Or is this a known limitation with bulk imports? We need this resolved before go-live next Tuesday.