Discord

Post Discord Webhook Message

Posts a message to a Discord channel using a webhook URL.

Unverified

What the model is told

Post a short message to the team's Discord channel, for example to hand off a customer request. Write a clear summary. Do not include full card numbers, passwords or other sensitive details. Returns an empty 204 response on success.

Request

POSThttps://discord.com/api/webhooks/YOUR_DISCORD_WEBHOOK_ID/YOUR_DISCORD_WEBHOOK_TOKEN

Headers

  • Content-Typeapplication/json

Body

{
  "content": "{{message}}",
  "allowed_mentions": {
    "parse": []
  }
}

Parameters

  • message stringThe message text, up to 2000 characters.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "699b6f25-3219-4fca-ab9c-9ecbdedab61e",
    "type": "HTTP_REQUEST",
    "label": "Post Discord Webhook Message",
    "name": "post_discord_webhook_message",
    "customName": false,
    "description": "Post a short message to the team's Discord channel, for example to hand off a customer request. Write a clear summary. Do not include full card numbers, passwords or other sensitive details. Returns an empty 204 response on success.",
    "parameters": [
      {
        "name": "message",
        "type": "string",
        "description": "The message text, up to 2000 characters."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://discord.com/api/webhooks/YOUR_DISCORD_WEBHOOK_ID/YOUR_DISCORD_WEBHOOK_TOKEN"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": "{\n  \"content\": \"{{message}}\",\n  \"allowed_mentions\": {\n    \"parse\": []\n  }\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.