Skip to content

Chatbot ​

Interact with Chatbot

Triggers ​

Events from this node that can start a flow. Add one from Choose a trigger.

Message Sent ​

Triggered when a response is sent from the chatbot to a user

Settings

No settings.

Output

Later steps use this data through Current Trigger in the $ picker. For example, channelId is $trigger.output.channelId.

json
{
  "channelId": "string",
  "traits": {
    "organizationId": "string",
    "botId": "string",
    "integrationId": "string"
  },
  "content": {
    "userId": "string",
    "messages": [
      {}
    ],
    "replyToken": "string",
    "channels": [
      "string"
    ],
    "data": {
      "messages": [
        {}
      ]
    }
  }
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
channelIdTextID of the channel
traitsObjectTraits of the event
traits.organizationIdTextID of the organization
traits.botIdTextID of the bot
traits.integrationIdTextID of the integration
contentObjectContent of the sent message
content.userIdTextID of the user (Use in message sent to LINE)
content.messages[]ListMessages of the event (Use in message sent to LINE)
content.replyTokenTextReply token of the event (Use in message sent to LINE)
content.channels[]ListWebsocket channels (Use in message sent to WEB)
content.dataObjectData of the sent message (Use in message sent to WEB)
content.data.messages[]ListMessages of the event (Use in message sent to WEB)
content.data.messages[].typeTextType of the message
content.data.messages[].fromTextThe message sent from
content.data.messages[].dataObjectData of the message (The structure is different depending on the type of message)

Message Received ​

Triggered when a new message is received from a user to the chatbot

Settings

No settings.

Output

Later steps use this data through Current Trigger in the $ picker. For example, botId is $trigger.output.botId.

json
{
  "botId": "string",
  "integrationId": "string",
  "organizationId": "string",
  "userId": "string",
  "platform": {},
  "data": {
    "events": [
      {
        "type": "string",
        "source": {},
        "message": {},
        "variables": "string"
      }
    ]
  }
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
botIdTextID of the bot
integrationIdTextID of the integration
organizationIdTextID of the organization
userIdTextID of the user
platformObjectPlatform converastion (line, web)
dataObjectData of the received message
data.events[]ListEvents of the conversation
data.events[].typeTextType of the event
data.events[].sourceObjectSource of the event
data.events[].source.typeTextType of the source
data.events[].source.userIdTextID of the user
data.events[].messageObjectMessage data
data.events[].message.typeTextType of the message
data.events[].message.dataObjectData of the message
data.events[].variablesKey–value pairsVariables

Actions ​

Steps this node can perform. Add one from Add a step, then pick the action.

Create Bot ​

Create a new chatbot

Settings

FieldTypeRequiredDescription
NameTextYesName of the bot
DescriptionTextDescription of the bot
Connect BotYes / NoChoose whether the bot should be connected

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "name": "string",
  "avatar": "string",
  "organizationId": "string",
  "status": "string",
  "description": "string",
  "diagramVersion": 0,
  "isConnected": false,
  "metadata": "string",
  "settings": {
    "intentGlobalNoMatch": "string",
    "timeoutFlowEnabled": false,
    "endConversationMessage": {
      "enable": false,
      "message": "string"
    }
  },
  "created": "string",
  "updated": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextUnique identifier for the bot
nameTextName of the bot
avatarTextAvatar URL for the bot
organizationIdTextID of the organization that owns the bot
statusTextCurrent status of the bot (DRAFT, PUBLISHED, UNPUBLISHED)
descriptionTextDescription of the bot
diagramVersionNumberVersion number of the bot's diagram
isConnectedYes / NoWhether the bot is currently connected
metadataKey–value pairsAdditional metadata for the bot
settingsObjectConfiguration settings for the bot
settings.intentGlobalNoMatchTextGlobal no match intent setting
settings.timeoutFlowEnabledYes / NoWhether timeout flow is enabled
settings.endConversationMessageObjectEnd conversation message settings
settings.endConversationMessage.enableYes / NoWhether to enable end conversation message
settings.endConversationMessage.messageTextEnd conversation message text
createdTextTimestamp when the bot was created
updatedTextTimestamp when the bot was last updated

Get Bots ​

Get all chatbots

Settings

FieldTypeRequiredDescription
LimitNumberYesLimit the number of bots to get
Default: 20
NextTextNext cursor to get the next page of bots

Output

Later steps use this data by picking this step in the $ picker. For example, data[0].id is $.<step ID>.output.data[0].id.

json
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "avatar": "string",
      "organizationId": "string",
      "status": "string",
      "description": "string",
      "diagramVersion": 0,
      "isConnected": false,
      "metadata": "string",
      "settings": {
        "intentGlobalNoMatch": "string",
        "timeoutFlowEnabled": false,
        "endConversationMessage": {}
      },
      "created": "string",
      "updated": "string"
    }
  ],
  "pagination": {
    "limit": 0,
    "next": "string"
  }
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
data[]ListData of the items
data[].idTextUnique identifier for the bot
data[].nameTextName of the bot
data[].avatarTextAvatar URL for the bot
data[].organizationIdTextID of the organization that owns the bot
data[].statusTextCurrent status of the bot (DRAFT, PUBLISHED, UNPUBLISHED)
data[].descriptionTextDescription of the bot
data[].diagramVersionNumberVersion number of the bot's diagram
data[].isConnectedYes / NoWhether the bot is currently connected
data[].metadataKey–value pairsAdditional metadata for the bot
data[].settingsObjectConfiguration settings for the bot
data[].settings.intentGlobalNoMatchTextGlobal no match intent setting
data[].settings.timeoutFlowEnabledYes / NoWhether timeout flow is enabled
data[].settings.endConversationMessageObjectEnd conversation message settings
data[].settings.endConversationMessage.enableYes / NoWhether to enable end conversation message
data[].settings.endConversationMessage.messageTextEnd conversation message text
data[].createdTextTimestamp when the bot was created
data[].updatedTextTimestamp when the bot was last updated
paginationObjectPagination information
pagination.limitNumberNumber of items to get per page
pagination.nextTextNext cursor to get the next page of items

Update Bot ​

Update an existing chatbot

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to update
NameTextName of the bot
DescriptionTextDescription of the bot
StatusChoiceOptions: Draft, Published, Unpublished
Connect BotYes / NoWhether the bot should be connected

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "name": "string",
  "avatar": "string",
  "organizationId": "string",
  "status": "string",
  "description": "string",
  "diagramVersion": 0,
  "isConnected": false,
  "metadata": "string",
  "settings": {
    "intentGlobalNoMatch": "string",
    "timeoutFlowEnabled": false,
    "endConversationMessage": {
      "enable": false,
      "message": "string"
    }
  },
  "created": "string",
  "updated": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextUnique identifier for the bot
nameTextName of the bot
avatarTextAvatar URL for the bot
organizationIdTextID of the organization that owns the bot
statusTextCurrent status of the bot (DRAFT, PUBLISHED, UNPUBLISHED)
descriptionTextDescription of the bot
diagramVersionNumberVersion number of the bot's diagram
isConnectedYes / NoWhether the bot is currently connected
metadataKey–value pairsAdditional metadata for the bot
settingsObjectConfiguration settings for the bot
settings.intentGlobalNoMatchTextGlobal no match intent setting
settings.timeoutFlowEnabledYes / NoWhether timeout flow is enabled
settings.endConversationMessageObjectEnd conversation message settings
settings.endConversationMessage.enableYes / NoWhether to enable end conversation message
settings.endConversationMessage.messageTextEnd conversation message text
createdTextTimestamp when the bot was created
updatedTextTimestamp when the bot was last updated

Get Bot ​

Get an existing chatbot

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to get

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "name": "string",
  "avatar": "string",
  "organizationId": "string",
  "status": "string",
  "description": "string",
  "diagramVersion": 0,
  "isConnected": false,
  "metadata": "string",
  "settings": {
    "intentGlobalNoMatch": "string",
    "timeoutFlowEnabled": false,
    "endConversationMessage": {
      "enable": false,
      "message": "string"
    }
  },
  "created": "string",
  "updated": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextUnique identifier for the bot
nameTextName of the bot
avatarTextAvatar URL for the bot
organizationIdTextID of the organization that owns the bot
statusTextCurrent status of the bot (DRAFT, PUBLISHED, UNPUBLISHED)
descriptionTextDescription of the bot
diagramVersionNumberVersion number of the bot's diagram
isConnectedYes / NoWhether the bot is currently connected
metadataKey–value pairsAdditional metadata for the bot
settingsObjectConfiguration settings for the bot
settings.intentGlobalNoMatchTextGlobal no match intent setting
settings.timeoutFlowEnabledYes / NoWhether timeout flow is enabled
settings.endConversationMessageObjectEnd conversation message settings
settings.endConversationMessage.enableYes / NoWhether to enable end conversation message
settings.endConversationMessage.messageTextEnd conversation message text
createdTextTimestamp when the bot was created
updatedTextTimestamp when the bot was last updated

Delete Bot ​

Delete an existing chatbot

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to delete

Output

Later steps use this data by picking this step in the $ picker. For example, data is $.<step ID>.output.data.

json
{
  "data": "string",
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataAnyResult returned by the DECA Chatbot API. Its shape depends on the action: a delete may return the removed record, true, an empty object, or nothing
statusText"success" when the DECA Chatbot API accepted the request

Get Diagram ​

Get the diagram for a chatbot

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to get the diagram for

Output

Later steps use this data by picking this step in the $ picker. For example, flows[0].id is $.<step ID>.output.flows[0].id.

json
{
  "flows": [
    {
      "id": "string",
      "botId": "string",
      "name": "string",
      "category": "string",
      "type": "string",
      "nodes": {},
      "configs": {
        "intentNodes": []
      },
      "created": "string",
      "updated": "string"
    }
  ],
  "version": 0,
  "variables": [
    {
      "botId": "string",
      "id": "string",
      "name": "string",
      "created": "string",
      "updated": "string"
    }
  ],
  "intents": [
    {
      "id": "string",
      "label": "string",
      "language": "string",
      "botId": "string",
      "utterances": [
        "string"
      ],
      "created": "string",
      "updated": "string"
    }
  ],
  "settings": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
flows[]ListFlows in the diagram
flows[].idTextID of the flow
flows[].botIdTextID of the bot this flow belongs to
flows[].nameTextName of the flow
flows[].categoryTextCategory of the flow
flows[].typeTextType of the flow
flows[].nodesObjectNodes in the flow
flows[].configsObjectConfiguration for the flow
flows[].configs.intentNodes[]ListIntent nodes configuration
flows[].configs.intentNodes[].intentScopeTextScope of the intent
flows[].configs.intentNodes[].intentIdTextID of the intent
flows[].configs.intentNodes[].IDTextID of the flow
flows[].createdTextTimestamp when the flow was created
flows[].updatedTextTimestamp when the flow was last updated
versionNumberVersion number of the diagram
variables[]ListVariables in the diagram
variables[].botIdTextID of the bot this variable belongs to
variables[].idTextID of the variable
variables[].nameTextName of the variable
variables[].createdTextTimestamp when the variable was created
variables[].updatedTextTimestamp when the variable was last updated
intents[]ListIntents in the diagram
intents[].idTextID of the intent
intents[].labelTextLabel of the intent
intents[].languageTextLanguage of the intent
intents[].botIdTextID of the bot this intent belongs to
intents[].utterances[]ListList of utterances for the intent
intents[].createdTextTimestamp when the intent was created
intents[].updatedTextTimestamp when the intent was last updated
settingsObjectSettings for the diagram

Get Diagram Versions ​

Get all versions of the diagram for a chatbot

Settings

FieldTypeRequiredDescription
Bot IDTextYes
TypeChoiceOptions: User-created, Auto-generated
LimitationNumberYesSelect or enter the maximum number of versions to retrieve.
Default: 20
Next CursorTextID of the bot whose diagram versions to retrieve

Output

Later steps use this data by picking this step in the $ picker. For example, data[0].name is $.<step ID>.output.data[0].name.

json
{
  "data": [
    {
      "name": "string",
      "botId": "string",
      "created": "string",
      "updated": "string",
      "version": 0,
      "type": "string"
    }
  ],
  "pagination": {
    "limit": 0,
    "next": "string"
  }
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
data[]ListData of the items
data[].nameTextName of the diagram version
data[].botIdTextID of the bot this diagram version belongs to
data[].createdTextTimestamp when the diagram version was created
data[].updatedTextTimestamp when the diagram version was last updated
data[].versionNumberVersion number of the diagram
data[].typeTextType of the diagram version
paginationObjectPagination information
pagination.limitNumberNumber of items to get per page
pagination.nextTextNext cursor to get the next page of items

Create Diagram Version ​

Create a new version of the diagram

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to create the diagram version for
NameTextName of the diagram version

Output

Later steps use this data by picking this step in the $ picker. For example, data is $.<step ID>.output.data.

json
{
  "data": "string",
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataAny
data.nameTextName of the diagram version
data.botIdTextID of the bot this diagram version belongs to
data.createdTextTimestamp when the diagram version was created
data.updatedTextTimestamp when the diagram version was last updated
data.versionNumberVersion number of the diagram
data.typeTextType of the diagram version
statusText"success" when the DECA Chatbot API accepted the request

Get Diagram Version ​

Get a version of the diagram

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to get the diagram version for
VersionNumberYesVersion number of the diagram to get

Output

Later steps use this data by picking this step in the $ picker. For example, name is $.<step ID>.output.name.

json
{
  "name": "string",
  "botId": "string",
  "created": "string",
  "updated": "string",
  "version": 0,
  "type": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
nameTextName of the diagram version
botIdTextID of the bot this diagram version belongs to
createdTextTimestamp when the diagram version was created
updatedTextTimestamp when the diagram version was last updated
versionNumberVersion number of the diagram
typeTextType of the diagram version

Delete Diagram Version ​

Delete a version of the diagram

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to delete the diagram version for
VersionNumberYesVersion number of the diagram to delete

Output

Later steps use this data by picking this step in the $ picker. For example, data is $.<step ID>.output.data.

json
{
  "data": "string",
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataAnyResult returned by the DECA Chatbot API. Its shape depends on the action: a delete may return the removed record, true, an empty object, or nothing
statusText"success" when the DECA Chatbot API accepted the request

Restore Diagram Version ​

Restore a version of the diagram

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to restore the diagram version for
VersionNumberYesVersion number of the diagram to restore

Output

Later steps use this data by picking this step in the $ picker. For example, data.success is $.<step ID>.output.data.success.

json
{
  "data": {
    "success": false
  },
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataObjectOutcome reported by the DECA Chatbot API
data.successYes / NoWhether the operation succeeded
statusText"success" when the DECA Chatbot API accepted the request

Get Integrations ​

Get all integrations

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to get the integrations for
LimitNumberYesLimit the number of integrations to get
Default: 20
NextTextNext cursor to get the next page of integrations
PrevTextPrev cursor to get the previous page of integrations

Output

Later steps use this data by picking this step in the $ picker. For example, data[0].organizationId is $.<step ID>.output.data[0].organizationId.

json
{
  "data": [
    {
      "organizationId": "string",
      "integrationType": "line",
      "name": "string",
      "ocsChannelId": "string",
      "externalId": "string",
      "metadata": "string",
      "created": "string",
      "updated": "string",
      "configs": {},
      "integrationId": "string",
      "platform": "CHATBOX",
      "status": "ENABLE",
      "botId": "string"
    }
  ],
  "pagination": {
    "limit": 0,
    "next": "string"
  }
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
data[]ListData of the items
data[].organizationIdTextID of the organization that owns the integration
data[].integrationTypeTextType of the integration
data[].nameTextName of the integration
data[].ocsChannelIdTextOCS Channel ID of the integration
data[].externalIdTextExternal ID of the integration
data[].metadataKey–value pairsAdditional metadata for the integration
data[].createdTextTimestamp when the integration was created
data[].updatedTextTimestamp when the integration was last updated
data[].configsObjectConfiguration for the integration
data[].integrationIdTextID of the integration
data[].platformTextPlatform of the integration, values 'CHATBOX', 'WEB', 'LINE'
data[].statusTextStatus of the integration, values 'ENABLE', 'DISABLE', 'PENDING'
data[].botIdTextID of the bot that owns the integration
paginationObjectPagination information
pagination.limitNumberNumber of items to get per page
pagination.nextTextNext cursor to get the next page of items

Delete 3rd Party Integration ​

Delete a 3rd party integration

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to delete the integration for
Integration IDTextYesID of the integration to delete

Output

Later steps use this data by picking this step in the $ picker. For example, data is $.<step ID>.output.data.

json
{
  "data": "string",
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataAnyResult returned by the DECA Chatbot API. Its shape depends on the action: a delete may return the removed record, true, an empty object, or nothing
statusText"success" when the DECA Chatbot API accepted the request

Get Integration ​

Get an integration

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to get the integration for
Integration IDTextYesID of the integration to get

Output

Later steps use this data by picking this step in the $ picker. For example, organizationId is $.<step ID>.output.organizationId.

json
{
  "organizationId": "string",
  "integrationType": "line",
  "name": "string",
  "ocsChannelId": "string",
  "externalId": "string",
  "metadata": "string",
  "created": "string",
  "updated": "string",
  "configs": {},
  "integrationId": "string",
  "platform": "CHATBOX",
  "status": "ENABLE",
  "botId": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
organizationIdTextID of the organization that owns the integration
integrationTypeTextType of the integration
nameTextName of the integration
ocsChannelIdTextOCS Channel ID of the integration
externalIdTextExternal ID of the integration
metadataKey–value pairsAdditional metadata for the integration
createdTextTimestamp when the integration was created
updatedTextTimestamp when the integration was last updated
configsObjectConfiguration for the integration
integrationIdTextID of the integration
platformTextPlatform of the integration, values 'CHATBOX', 'WEB', 'LINE'
statusTextStatus of the integration, values 'ENABLE', 'DISABLE', 'PENDING'
botIdTextID of the bot that owns the integration

Disable Integration ​

Disable an integration

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to disable the integration for
Integration IDTextYesID of the integration to disable

Output

Later steps use this data by picking this step in the $ picker. For example, data.success is $.<step ID>.output.data.success.

json
{
  "data": {
    "success": false
  },
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataObjectOutcome reported by the DECA Chatbot API
data.successYes / NoWhether the operation succeeded
statusText"success" when the DECA Chatbot API accepted the request

Update Flow ​

Update a flow

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to update the flow for
Flow IDTextYesID of the flow to update
NameTextName of the flow
DescriptionTextDescription of the flow
CategoryChoiceCategory of the flow
Options: Topic, Component, Snippet

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "botId": "string",
  "name": "string",
  "category": "topic",
  "type": "start",
  "description": "string",
  "creator": "string",
  "nodes": {},
  "configs": {
    "intentNodes": [
      {
        "intentScope": "string",
        "intentId": "string",
        "ID": "string"
      }
    ]
  }
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the flow
botIdTextID of the bot that owns the flow
nameTextName of the flow
categoryTextCategory of the flow
typeTextType of the flow ('start', 'timeout', 'error', 'end', 'normal')
descriptionTextDescription of the flow
creatorTextCreator of the flow
nodesObjectNodes of the flow
configsObjectConfiguration for the flow
configs.intentNodes[]ListIntent nodes configuration
configs.intentNodes[].intentScopeTextScope of the intent
configs.intentNodes[].intentIdTextID of the intent
configs.intentNodes[].IDTextID of the flow

Delete Flow ​

Delete a flow

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to delete the flow for
Flow IDTextYesID of the flow to delete

Output

Later steps use this data by picking this step in the $ picker. For example, data is $.<step ID>.output.data.

json
{
  "data": "string",
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataAnyResult returned by the DECA Chatbot API. Its shape depends on the action: a delete may return the removed record, true, an empty object, or nothing
statusText"success" when the DECA Chatbot API accepted the request

Duplicate Flow ​

Duplicate a flow

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to duplicate the flow for
Flow IDTextYesID of the flow to duplicate
NameTextName of the flow

Output

Later steps use this data by picking this step in the $ picker. For example, data is $.<step ID>.output.data.

json
{
  "data": "string",
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataAny
data.idTextID of the flow
data.botIdTextID of the bot that owns the flow
data.nameTextName of the flow
data.categoryTextCategory of the flow
data.typeTextType of the flow ('start', 'timeout', 'error', 'end', 'normal')
data.descriptionTextDescription of the flow
data.creatorTextCreator of the flow
data.nodesObjectNodes of the flow
data.configsObjectConfiguration for the flow
data.configs.intentNodes[]ListIntent nodes configuration
data.configs.intentNodes[].intentScopeTextScope of the intent
data.configs.intentNodes[].intentIdTextID of the intent
data.configs.intentNodes[].IDTextID of the flow
statusText"success" when the DECA Chatbot API accepted the request

Create Intent ​

Create an intent

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to create the intent for
LabelTextYesLabel of the intent
LanguageChoiceYesLanguage of the intent
Options: English, Japanese
UtterancesListYesList of utterances for the intent

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "label": "string",
  "language": "en",
  "botId": "string",
  "utterances": [
    "string"
  ]
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the intent
labelTextLabel of the intent
languageTextLanguage of the intent
botIdTextID of the bot that owns the intent
utterances[]ListList of utterances for the intent

Get Intents ​

Get all intents by pagination

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to get the intents for
LimitNumberYesLimit the number of intents to get
Default: 20
NextTextNext cursor to get the next page of intents
PrevTextPrev cursor to get the previous page of intents

Output

Later steps use this data by picking this step in the $ picker. For example, data[0].id is $.<step ID>.output.data[0].id.

json
{
  "data": [
    {
      "id": "string",
      "label": "string",
      "language": "en",
      "botId": "string",
      "utterances": [
        "string"
      ]
    }
  ],
  "pagination": {
    "limit": 0,
    "next": "string"
  }
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
data[]ListData of the items
data[].idTextID of the intent
data[].labelTextLabel of the intent
data[].languageTextLanguage of the intent
data[].botIdTextID of the bot that owns the intent
data[].utterances[]ListList of utterances for the intent
paginationObjectPagination information
pagination.limitNumberNumber of items to get per page
pagination.nextTextNext cursor to get the next page of items

Get Intent ​

Get an intent

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to get the intent for
Intent IDTextYesID of the intent to get

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "label": "string",
  "language": "en",
  "botId": "string",
  "utterances": [
    "string"
  ]
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the intent
labelTextLabel of the intent
languageTextLanguage of the intent
botIdTextID of the bot that owns the intent
utterances[]ListList of utterances for the intent

Update Intent ​

Update an intent

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to update the intent for
Intent IDTextYesID of the intent to update
LabelTextLabel of the intent
LanguageChoiceLanguage of the intent
Options: English, Japanese
UtterancesListList of utterances for the intent

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "label": "string",
  "language": "en",
  "botId": "string",
  "utterances": [
    "string"
  ]
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the intent
labelTextLabel of the intent
languageTextLanguage of the intent
botIdTextID of the bot that owns the intent
utterances[]ListList of utterances for the intent

Delete Intent ​

Delete an intent

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to delete the intent for
Intent IDTextYesID of the intent to delete

Output

Later steps use this data by picking this step in the $ picker. For example, data is $.<step ID>.output.data.

json
{
  "data": "string",
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataAnyResult returned by the DECA Chatbot API. Its shape depends on the action: a delete may return the removed record, true, an empty object, or nothing
statusText"success" when the DECA Chatbot API accepted the request

Create Variable ​

Create a variable

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to create the variable for
NameTextYesName of the variable
Default ValueTextDefault value of the variable
DescriptionTextDescription of the variable

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "botId": "string",
  "name": "string",
  "defaultValue": "string",
  "description": "string",
  "created": "string",
  "updated": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the variable
botIdTextID of the bot that owns the variable
nameTextName of the variable
defaultValueTextDefault value of the variable
descriptionTextDescription of the variable
createdTextTimestamp when the variable was created
updatedTextTimestamp when the variable was last updated

Get Variables ​

Get all variables by pagination

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to get the variables for

Output

Later steps use this data by picking this step in the $ picker. For example, [0].id is $.<step ID>.output.[0].id.

json
[
  {
    "id": "string",
    "botId": "string",
    "name": "string",
    "defaultValue": "string",
    "description": "string",
    "created": "string",
    "updated": "string"
  }
]

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the variable
botIdTextID of the bot that owns the variable
nameTextName of the variable
defaultValueTextDefault value of the variable
descriptionTextDescription of the variable
createdTextTimestamp when the variable was created
updatedTextTimestamp when the variable was last updated

Update Variable ​

Update a variable

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to update the variable for
Variable IDTextYesID of the variable to update
NameTextName of the variable
Default ValueTextDefault value of the variable
DescriptionTextDescription of the variable

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "botId": "string",
  "name": "string",
  "defaultValue": "string",
  "description": "string",
  "created": "string",
  "updated": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the variable
botIdTextID of the bot that owns the variable
nameTextName of the variable
defaultValueTextDefault value of the variable
descriptionTextDescription of the variable
createdTextTimestamp when the variable was created
updatedTextTimestamp when the variable was last updated

Delete Variable ​

Delete a variable

Settings

FieldTypeRequiredDescription
Bot IDTextYesID of the bot to delete the variable for
Variable IDTextYesID of the variable to delete

Output

Later steps use this data by picking this step in the $ picker. For example, data is $.<step ID>.output.data.

json
{
  "data": "string",
  "status": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
dataAnyResult returned by the DECA Chatbot API. Its shape depends on the action: a delete may return the removed record, true, an empty object, or nothing
statusText"success" when the DECA Chatbot API accepted the request