Mutation
mutation DeleteAutomationWorkflow($input: DeleteAutomationWorkflowInput!) {
deleteAutomationWorkflow(input: $input) {
automationWorkflow {
actions {
asset {
__typename
}
contentAssets {
__typename
}
createdAt
delaySeconds
displayName
embeddedLink {
__typename
}
}
billingPlanRestricted
createdAt
creator {
ambassadorLevel
ambassadorLevelId
avatarUrl
badges {
__typename
}
conversations {
__typename
}
createdAt
}
description
filter {
aiFilterPrompt
marketingAudiences {
__typename
}
resourceId
}
}
clientMutationId
errors
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"deleteAutomationWorkflow": {
"automationWorkflow": {
"actions": [
{
"asset": {
"__typename": "Asset"
},
"contentAssets": [
{
"__typename": "Asset"
}
],
"createdAt": "value",
"delaySeconds": 1,
"displayName": "string",
"embeddedLink": {
"__typename": "EmbeddedLink"
}
}
],
"billingPlanRestricted": true,
"createdAt": "value",
"creator": {
"ambassadorLevel": "string",
"ambassadorLevelId": 1,
"avatarUrl": "string",
"badges": [
{
"__typename": "Badge"
}
],
"conversations": {
"__typename": "PublicConversationConnection"
},
"createdAt": "value"
},
"description": "string",
"filter": {
"aiFilterPrompt": "string",
"marketingAudiences": [
{
"__typename": "MarketingAudience"
}
],
"resourceId": "id"
}
},
"clientMutationId": "string",
"errors": [
"string"
]
}
}
}Mutations
deleteAutomationWorkflow
Delete an automation workflow.
Required scope: host:write:network_integrations
MUTATION
deleteAutomationWorkflow(input: DeleteAutomationWorkflowInput!): DeleteAutomationWorkflowPayloadArguments
input
required
Parameters for DeleteAutomationWorkflow
automationWorkflow
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
Mutation
mutation DeleteAutomationWorkflow($input: DeleteAutomationWorkflowInput!) {
deleteAutomationWorkflow(input: $input) {
automationWorkflow {
actions {
asset {
__typename
}
contentAssets {
__typename
}
createdAt
delaySeconds
displayName
embeddedLink {
__typename
}
}
billingPlanRestricted
createdAt
creator {
ambassadorLevel
ambassadorLevelId
avatarUrl
badges {
__typename
}
conversations {
__typename
}
createdAt
}
description
filter {
aiFilterPrompt
marketingAudiences {
__typename
}
resourceId
}
}
clientMutationId
errors
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"deleteAutomationWorkflow": {
"automationWorkflow": {
"actions": [
{
"asset": {
"__typename": "Asset"
},
"contentAssets": [
{
"__typename": "Asset"
}
],
"createdAt": "value",
"delaySeconds": 1,
"displayName": "string",
"embeddedLink": {
"__typename": "EmbeddedLink"
}
}
],
"billingPlanRestricted": true,
"createdAt": "value",
"creator": {
"ambassadorLevel": "string",
"ambassadorLevelId": 1,
"avatarUrl": "string",
"badges": [
{
"__typename": "Badge"
}
],
"conversations": {
"__typename": "PublicConversationConnection"
},
"createdAt": "value"
},
"description": "string",
"filter": {
"aiFilterPrompt": "string",
"marketingAudiences": [
{
"__typename": "MarketingAudience"
}
],
"resourceId": "id"
}
},
"clientMutationId": "string",
"errors": [
"string"
]
}
}
}