Script generator Applet
Explore Plans
Mobile menu Close menu
DiscordDiscord

New message in channel

This trigger fires when a new message is posted in a channel you select.

About this trigger

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This trigger fires when a new message is posted in a channel you select.
API endpoint slug
discord.new_message_in_channel

Trigger fields

Channel ID Nested dropdown list

Label
Which channel?
Helper text
If a server is not present, Reconnect to the Discord service at ifttt.com/discord/settings
Slug
channel_id
Required
true
Can have default value
false

Ingredients

Created atDate and time when the message was posted.

Slug
created_at
Filter code
Discord.newMessageInChannel.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

MessageThe contents of the message.

Slug
message
Filter code
Discord.newMessageInChannel.Message
Type
String
Example
Hey everyone 👋

AuthorThe author of the message.

Slug
author
Filter code
Discord.newMessageInChannel.Author
Type
String
Example
username123

Link to messageThis is a link to the message in Discord.

Slug
link_to_message
Filter code
Discord.newMessageInChannel.LinkToMessage
Type
Web URL
Example
https://discord.com/channels/833856998537166918/833856998537166921/1181411805982105631