How to get custom attribute from inbound message API in inbound message flow

I want to create an inbound message flow which routes request from api/v2/conversations/messages/{{integration_id}}/inbound/open/message to acd based on the custom atrribute filed "Escalation".
{
"type": "Text",
"text": "help me",
"channel": {
"type": "Private",
"messageId": "{{$randomUUID}}",
"to": { "id": "{{integration_id}}" },
"from": { "id": "{{customerId}}" },
"time": "{{current_time}}",
"metadate":{
"customAttributes":{
"Escalation": "true"
}
}
}
}

This is the request body. I my inbound message flow I want that if "Escalation" =="true" then route to ACD.

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