Mutation
mutation CreateDemoChannel($input: CreateDemoChannelInput!) {
createDemoChannel(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"channelType": "SLACK",
"integrationId": "id"
}
}Response
{
"data": {
"createDemoChannel": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
createDemoChannel
Creates (or reuses) a demo channel on the given integration’s support channel (e.g. a demo Slack channel), invites the installing user, and seeds a demo customer thread so the integration can be tried out before going live.
MUTATION
createDemoChannel(input: CreateDemoChannelInput!): CreateDemoChannelOutput!Arguments
input
required
Returns
error
Mutation
mutation CreateDemoChannel($input: CreateDemoChannelInput!) {
createDemoChannel(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"channelType": "SLACK",
"integrationId": "id"
}
}Response
{
"data": {
"createDemoChannel": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

