var trigger = ifttt_applet()
func main() {
send_text_message(Args{channel_id: "CHANNEL_ID", message_content: "Message: " + trigger.message})
}
Run this flow from an IFTTT applet with the inventor.bot action "Run a flow".
Outputs
The applet's Message field.
Example: New video: How to build a bot
The applet's Title field.
Example: How to build a bot
The applet's Link URL field.
Example: https://youtu.be/dQw4w9WgXcQ
The applet's Image URL field.
Example: https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg
The applet's Details field, any other text the applet sends.
Example: Score: 42
ID of the IFTTT applet that ran this flow.
Example: zgD6EJ8h
Link to the applet on IFTTT (only its owner can open it).
Example: https://ifttt.com/myrecipes/personal/zgD6EJ8h
Timezone of the IFTTT user.
Example: America/Los_Angeles
ID of this request.
Example: V1StGXR8_Z5j
Use this trigger in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.
Advanced Documentation
This documentation can be useful when using code mode.
ifttt_appletOutputs
| Field | InventScript name | Value |
|---|---|---|
| Message | message | e.g. "New video: How to build a bot" |
| Title | title | e.g. "How to build a bot" |
| Link URL | link_url | e.g. "https://youtu.be/dQw4w9WgXcQ" |
| Image URL | image_url | e.g. "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg" |
| Details | details | e.g. "Score: 42" |
| Applet ID | applet_id | e.g. "zgD6EJ8h" |
| Applet URL | applet_url | e.g. "https://ifttt.com/myrecipes/personal/zgD6EJ8h" |
| User Timezone | user_timezone | e.g. "America/Los_Angeles" |
| Request ID | run_id | e.g. "V1StGXR8_Z5j" |