Discord Trigger (Lisboa)
AI-generatedSummary
Listen for a selected Discord event and emit its serialized data to the workflow when it passes the configured filters. Choose a trigger type, then optionally filter messages by pattern and scope events by server, channels, roles, or user IDs as applicable.
Inputs
- Trigger Type (required) — Select new message, message update or deletion, reaction added or removed, member join, leave or update, role create, delete or update, voice state change, or scheduled event create or update.
- Message Pattern — For new messages, match any message, a bot mention, or content that contains, starts with, ends with, or exactly equals the pattern value, or matches it as a regular expression. Invalid regular expressions do not match.
- Pattern Value — Text or regular expression used by the selected message pattern; shown only for content-based patterns.
- Ignore Bot Messages — For message create, update, and delete events, skip messages authored by bots. Defaults to true.
- Allow Direct Messages — For new message events, include direct messages as well as server messages. Defaults to false.
- Server — Select a server, or leave empty to listen across servers where the bot is present.
- Channels — For message, reaction, and message update/delete events, select channels to include; an empty selection allows all channels in the selected server.
- Required Roles — For new message and member update events, require the message author or updated member to have at least one selected role. Empty allows all.
- Filter by User IDs — Comma-separated user IDs to include for new messages, message updates, member join/leave/update, or voice state changes. Empty allows all users.
Output shape
One item per matching Discord event, containing a JSON object.
Message create/delete, reaction, member join/leave, and role create/delete events emit a single serialized object. Message update, member update, role update, and voice state change events emit an object with old and new values. Scheduled event creation emits event details; scheduled event updates emit a smaller set of fields. Partial messages contain only ID, channel ID, guild ID, and a partial flag. Requires Discord bot API credentials with a bot token; the client requests privileged Guild Members, Guild Presences, and Message Content intents.