I’ve hit a snag with the Platform API while trying to map historical Zendesk ticket comments to GC interactions.
In Zendesk, we relied on simple public and private comment flags. I am trying to replicate this by creating GC interactions via the POST /api/v2/interactions endpoint. I am using the Genesys Cloud Python SDK version 2023.10.0. When I attempt to set the type to email and include a notes array to represent private comments, I receive a 422 Unprocessable Entity error.
The specific error message states: Invalid interaction definition: The 'notes' field is not supported for interaction type 'email' in this context.
I understand that GC handles private context differently than Zendesk, but I need a way to ingest this historical data for reporting purposes. In Zendesk, we could easily filter views by comment type. How should I structure the JSON payload to successfully map these private comments? Should I be using a different interaction type, or is there a specific custom attribute I should be leveraging instead of the notes array?
Any practical migration advice on handling this data structure difference would be incredibly helpful. I want to ensure our client’s historical data remains accurate and searchable in the new GC environment. Thanks in advance for your help!