IFTTT
App · 2 actions
Run your IFTTT applets from a workflow by firing a Webhooks event, with up to three values or any JSON object.
Trigger an applet
Fire a Webhooks event with up to three values, which runs every applet whose trigger is Webhooks' Receive a web request for that event name. The applet reads the values as Value1 to Value3.
Inputs
- Event name
event_nametextRequired - The event name in your applet's Webhooks trigger, exactly as typed there, such as front_door_opened. Every applet listening for it runs.
- Value 1
value1text - Text the applet can use as its Value1 ingredient. Left out when blank.
- Value 2
value2text - Text the applet can use as its Value2 ingredient. Left out when blank.
- Value 3
value3text - Text the applet can use as its Value3 ingredient. Left out when blank.
Outputs
event_nametext- The event fired
messagetext- IFTTT's answer, such as "Congratulations! You've fired the front_door_opened event". It comes whether or not an applet listens.
sentobject- The values sent, value1 to value3
Example output
{
"event_name": "front_door_opened",
"message": "Congratulations! You've fired the front_door_opened event",
"sent": {
"value1": "Front door",
"value2": "opened",
"value3": "8:02"
}
}Trigger an applet with JSON
Fire a Webhooks event with any JSON object, which runs every applet whose trigger is Webhooks' Receive a web request with a JSON payload for that event name. The applet reads it in its filter code.
Inputs
- Event name
event_nametextRequired - The event name in your applet's Webhooks trigger, exactly as typed there, such as front_door_opened. Every applet listening for it runs.
- JSON payload
payloadobjectRequired - A JSON object to send, such as {"temperature": 21, "room": "kitchen"}, or an object from an earlier step.
Outputs
event_nametext- The event fired
messagetext- IFTTT's answer, such as "Congratulations! You've fired the front_door_opened event". It comes whether or not an applet listens.
sentobject- The JSON object sent
Example output
{
"event_name": "front_door_opened",
"message": "Congratulations! You've fired the front_door_opened event",
"sent": {
"room": "kitchen",
"temperature": 21
}
}