Send Discord Message
Overview
The Send Discord Message node posts messages to a Discord channel using a webhook. Use it for alerts, summaries, notifications, and community updates directly from your workflow.
Description
Post updates to Discord.
Provide a Discord webhook URL and message content. You can send simple text messages or rich embeds with titles, colors, and images.
Alerts & Logs
Notify your team about system events or errors.
Community Updates
Post announcements to public channels automatically.
Input Parameters
Configure the message content.
webhookUrlstringRequired"https://discord.com/api/webhooks/..."messagestringRequired"Build successful!"titlestringOptionalcolorstringOptional"65280"imagestringOptionalOutput Parameters
The node returns the delivery status.
deliveryStatusstringOptionalresponseStatusnumberOptionalOutput Type
Output Type: JSON
Returns a JSON object confirming the message delivery.
Example Usage
Example 1: Simple Notification
Send a text message.
{ "webhookUrl": "https://discord.com/api/webhooks/...", "message": "New user signed up: Jane Doe"}
{ "deliveryStatus": "success", "responseStatus": 204}
Example 2: Rich Embed
Send a styled alert.
{ "webhookUrl": "https://discord.com/api/webhooks/...", "title": "Deployment Success", "message": "Version 2.0 is live.", "color": "5763719"}
{ "deliveryStatus": "success", "responseStatus": 204}
How to Use in a No-Code Workflow
Add the Node
Place the Send Discord Message node in your workflow.
Get Webhook
Paste your Discord Webhook URL (see guide below).
Compose Message
Enter the message text and optional title or color.
Run
Execute the node to post the message to the channel.
Create a Discord Webhook URL
Follow these steps to generate a webhook URL for your server:
Server Settings
Open Discord, click the arrow next to your server name, and select Server Settings.
Integrations
Go to Integrations in the sidebar and click on Webhooks.
Create Webhook
Click New Webhook. Give it a name and choose the Channel where it will post.
Copy URL
Click Copy Webhook URL. Use this URL in the node's webhookUrl field.
Keep your webhook URL secure. Anyone with this URL can post messages to your channel.
Best Practices
- Use embeds for structured, professional-looking updates.
- Rate-limit your messages to avoid being blocked by Discord.
Do / Don’t
- ✔️ Use distinct colors for different alert types (e.g., Red for Error, Green for Success).
- ✔️ Include timestamps or IDs in the message for reference.
- ❌ Don’t post sensitive user data (PII) to public channels.
- ❌ Don’t spam the channel with high-frequency logs.
Common Errors
Invalid webhookErrorOptionalRequest blockedErrorOptionalExample Workflow Integration
Use Case: CI/CD Pipeline Alert
Notify the team when a build completes.
- Webhook Trigger: Build system sends status.
- If/Else: Check if success or failure.
- Discord Message: Send green embed for success, red for failure.
Workflow Data Flow:
{{build.status}} → {{condition.value}}
{{build.logs}} → {{discord.message}}
