Payload
string
required
The conversation. Always present.
string
The member who owns the conversation now.
string
The member who owned it before. Omitted when nobody did, which is the case
for a first assignment and for every conversation somebody takes.
string
How the owner was chosen:
routing when routing rules assigned it, manual
when a person took it or transferred it. Treat any other value as
informational rather than as an error.string
The channel the conversation came from:
phone, email, sms, widget,
meeting, slack.Where assignments come from
Email, SMS, call and meeting conversations start with no owner, so for those
this fires only when somebody takes one.
Worth knowing
- Offering a conversation fires nothing. When routing offers a conversation to several people at once, nobody owns it yet. The event arrives when one of them takes it.
- Taking a conversation that already has an owner changes nothing, so it sends nothing either.
- The owner can arrive unchanged. Routing that runs again for a conversation
can assign the person who already had it, and
previousAssigneeIdthen equalsassigneeId. - Ids, not names.
assigneeIdandpreviousAssigneeIdare member ids. Resolve them against your workspace’s member list, and cache the map.