KG1980 | 2023-07-29 00:28:07 UTC | #1
Workflows have an Action call Get Conversation Data. The input required is Conversation ID but I don't see how to get the conversation ID of the interaction that triggered the workflow.
https://help.mypurecloud.com/articles/get-conversation-data-action/
MelissaBailey | 2023-07-29 00:52:01 UTC | #2
You need to pass it in as an input to the workflow
KG1980 | 2023-07-31 18:17:42 UTC | #3
I don't see a way to pass the conversation id from the Process Automation API
https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-processautomation-triggers
{ "target": { "type": "", "id": "", "workflowTargetSettings": { "dataFormat": "" } }, "enabled": true, "matchCriteria": [ { "jsonPath": "", "operator": "", "value": "", "values": [ {} ] } ], "name": "", "topicName": "", "eventTTLSeconds": 0, "delayBySeconds": 0, "description": "" }
Ebenezer_Osei | 2023-07-31 19:28:10 UTC | #4
KG1980, post:1, topic:21224
to get the conversation ID of the int
Not sure which topic you are using but topic events contain relevant information like conversationId in their payloads. For example: https://developer.genesys.cloud/platform/process-automation/#example-of-an-event-schema
KG1980 | 2023-07-31 23:33:08 UTC | #5
I am using the ACD.End trigger. The question is how do you access the payload from the workflow if we don't know the conversationid of the call that triggered the workflow.
zubair | 2023-08-01 01:00:22 UTC | #6
Hi, in your workflow create a string variable "*conversationId*" and enable "*Input to flow*" under Variable Options. When the workflow is triggered, this field will populate automatically.
system | 2023-09-01 01:00:57 UTC | #7
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 21224