Send Discord Message
Send a message to a Discord channel via webhook. Use this to post alerts, notifications, or updates to Discord servers. Max 2000 characters. Supports custom bot username. Ideal for: price alerts, trade notifications, portfolio updates, community announcements.
Catalog action Messaging discord
Send a message to a Discord channel via webhook. Use this to post alerts, notifications, or updates to Discord servers. Max 2000 characters. Supports custom bot username. Ideal for: price alerts, trade notifications, portfolio updates, community announcements.
At a Glance
| Field | Value |
|---|---|
| Action ID | send-discord-message |
| Category | Messaging |
| Connector | discord |
| Requires gas | No |
| Funds movement | None declared |
| Tags | messaging, discord, notification, webhook, alert, write, chat, community |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Message text to send. Supports Markdown: bold, italic, 'code', links. Max 2000 characters. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
status | string | Yes | - |
error | string | No | Error message if failed |
Examples
json{ "type": "send-discord-message", "payload": { "message": "Workflow completed" }, "children": [], "connector": { "type": "discord", "id": "conn_discord" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/send-discord-message/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "message": "Workflow completed" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
