How do you get the conversationID in a workflow

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.

1 Like

You need to pass it in as an input to the workflow

I don't see a way to pass the conversation id from the Process Automation API

{
"target": {
"type": "",
"id": "",
"workflowTargetSettings": {
"dataFormat": ""
}
},
"enabled": true,
"matchCriteria": [
{
"jsonPath": "",
"operator": "",
"value": "",
"values": [
{}
]
}
],
"name": "",
"topicName": "",
"eventTTLSeconds": 0,
"delayBySeconds": 0,
"description": ""
}

Not sure which topic you are using but topic events contain relevant information like conversationId in their payloads. For example:

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.

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.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.