Trigger and action

NO IMAGE

 Home > Connect > IFTTT > Trigger and action

Explain and use triggers and actions

TypeTrigger or action nameDescription
TriggerBOT DoneTriggered by the completion of BOT execution.
Get the BOT's output value and use it in subsequent actions.
ActionExecute BOTYou can execute BOT on cloud BOT as an action.
You can specify input values when executing BOT.

BOT Done (Trigger)

Triggered by the completion of BOT execution.
Get the BOT's output value and use it in subsequent actions.

BOT Done settings (Setup)

Cloud BOT accountSelect the Cloud BOT contract.
You can select a contract with an external connection enabled in Cloud BOT.
BOTSelect the BOT to trigger.
You can select a BOT that has already been externally connected with the cloud BOT.
LanguageSelect the BOT execution language.

Parameter definitions of BOT Done

Key nameValue
Cloud BOT accountPublic ID for the API
BOTBOT ID
LanguageRequested language (Japanese: ja, English: en)

Result of executing BOT

Key nameValue
JobIdJob ID
BotIdBOT ID
BotNameBOT name
StartTimeTime when execution started(Month d, YYYY at HH:MM am/pm)
ElapsedTimeNumber of seconds for execution
Data1~10BOT Output value
OutputJsonOutput value of execution API response (JSON)

Execute BOT (action)

You can execute BOT on cloud BOT as an action.
You can specify input values when executing BOT.

BOT execution settings (Setup)

Cloud BOT accountSelect the Cloud BOT contract.
You can select a contract with an external connection enabled in Cloud BOT.
BOTSelect the BOT to execute.
You can select a BOT that has already been externally connected with the cloud BOT.
LanguageSelect the BOT execution language.
Data1〜10Set the BOT input value. If not set, it will run with the default values of BOT.
The input values entered in Data1~Data10 are handed over as input data 1~10 when executing the BOT.
Please refer to here for the input format.
API Parameters(JSON)API Parameters set the payload (JSON) of BOT execution API requests.

Parameter definitions of Execute BOT

Key nameValue
Cloud BOT accountPublic ID for the API
BOTBOT ID
LanguageRequested language (Japanese: ja, English: en)
Data1~10BOT Input Value
API Parameters(JSON)API Parameters set the payload (JSON) of BOT execution API requests.

Result of executing BOT

Key nameValue
langRequested language (Japanese: ja, English: en)
botPublic ID for API/bots/BOT ID
Data1~10BOT Output Value
OutputJsonOutput value of execution API response (JSON)

About data values

Input/output data 1 to 10 defined in Cloud BOT correspond to Data1 to Data10 of IFTTT.
*Values after 11 cannot be passed directly to IFTTT, so it is necessary to analyze the json data output to OutputJson of IFTTT.

About the text format of Data1~10

The text format is determined by each data type set in the cloud BOT value.
*If a comma or pipe contains spaces before or after it, those spaces are excluded from the string.

Data typeText formatExamples
Text typeExpress in plain text.Waffle (plain)
Multiple text typeExpress by pipe delimiter.Recommended|Discounted Items|Baked Sweets
File typeRepresents the Ref value of a file.
(If there are multiple files, they are represented by pipe delimiters.)
https://example.com/waffle_plane.png

Group

Group lines are separated by commas.

Data typeExamples
Text typeWaffle (plain) , Waffle (sugar)
Multiple text typeRecommended|Discounted Products|Baked Sweets,Recommended|Baked Sweets
File typehttps://example.com/waffle_plane.png,https://example.com/waffle_sugar.png