conversationAssign
Assigns a conversation to an agent, a team, or both.
For example:
mutation(
$agentId: ID,
$conversationId: ID!,
$teamId: ID,
$skipNotifications: Boolean
) {
conversationAssign(
input: {
agentId: $agentId,
conversationId: $conversationId,
teamId: $teamId,
skipNotifications: $skipNotifications
}
) {
changesetId
conversation {
... on Conversation {
id
assigned {
at
agent {
id
name
}
team {
id
name
}
}
}
}
diffs {
query
delta
}
errors {
path
message
}
}
}
To unassign a conversation see conversationUnassign.
conversationAssign(
input: ConversationAssignInput!
): ConversationAssignPayload
Arguments
conversationAssign.input ● ConversationAssignInput! non-null input common
Parameters for ConversationAssign
Type
ConversationAssignPayload object common
Autogenerated return type of ConversationAssign