Send IFTTT Event

BlockIFTTT

Send an event to IFTTT. Use the "Your bot sends an event" applet trigger to run an IFTTT Applet when this block is run. This block does not wait for the Applet to complete.

Inputs

Event NameRequired

This is the name of this event on IFTTT. Use it to distinguish different types of events.

Example: New member

Message

Message

Example: Alex joined the server!

Title

Title

Example: New member

Link URL

Link URL

Example: https://discord.com/channels/123/456

Image URL

Image URL

Example: https://cdn.discordapp.com/avatars/123/abc.png

Details

Provide any other values as newline separated name: value. Details are sent to IFTTT as text and JSON.

Example: username: alex member_count: 1204

Outputs

Event ID

ID of the sent event.

Example: V1StGXR8_Z5j

Build a bot using blocks like Send IFTTT Event

Use this block 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.

ID: ifttt_send_event

Inputs

FieldInventScript nameValue
Event Nameevent_namee.g. "New member"
Messagemessagee.g. "Alex joined the server!"
Titletitlee.g. "New member"
Link URLlink_urle.g. "https://discord.com/channels/123/456"
Image URLimage_urle.g. "https://cdn.discordapp.com/avatars/123/abc.png"
Detailsdetailse.g. "username: alex\nmember_count: 1204"

Outputs

FieldInventScript nameValue
Event IDevent_ide.g. "V1StGXR8_Z5j"

Example InventScript

iftttEvent := ifttt_send_event(Args{event_name: "New member"})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Event ID: " + iftttEvent.event_id,
})