Discord webhooks

Payload shape and setup

Paste a Discord webhook URL (https://discord.com/api/webhooks/...) into the endpoint settings. Other addresses are refused. Each successful submission sends a message to that channel within 1.5 seconds. If Discord is slow or down, form-relay still saves the lead and logs the failure.

The payload shape:

json
{
  "content": "New lead via **waitlist**",
  "embeds": [
    {
      "title": "Lead received",
      "color": 2067276,
      "fields": [
        { "name": "email", "value": "you@example.com", "inline": true },
        { "name": "name",  "value": "You",             "inline": true }
      ],
      "timestamp": "2024-01-01T00:00:00.000Z"
    }
  ]
}