When our backend creates a conversation on behalf of a user with POST /conversations, the request only takes the message body and the contact. There's no way to set custom conversation attributes or tags in the same request.
That matters because workflows evaluate their audience and start routing as soon as the conversation is created. If we set the attributes in a separate call afterwards, routing has already happened, so the workflow can't branch on them from the start.
Our use case: an in-app AI assistant hands conversations over to Intercom when it detects a support issue. How the conversation should be handled depends on values that only our platform knows at that moment:
- The role the user is acting in (for example, client or advisor, which can change from one part of the app to another).
- How the chat was opened.
- The kind of inquiry (a general question or an incident report).
None of these can be worked out inside Intercom. Today we work around it with a "Wait for webhook" step at the start of the workflow and send the values in a second call. That adds latency and leaves a gap where things can fail.
Request: accept custom conversation attributes (and ideally tags) in POST /conversations, and apply them before workflows evaluate their audience and branches. Something like:
{
"from": { "type": "user", "id": "..." },
"body": "...",
"custom_attributes": {
"user_role": "advisor",
"inquiry_type": "incident"
}
}