XFlux

Blog/

Send X/Twitter Account Alerts to Discord

Pipe X account posts into Discord: XFlux monitors → signed webhooks → Discord webhook or bot — without polling timelines yourself.

The goal

Teams want a Discord channel that lights up when a founder, exchange, or macro account posts. Building that with raw polling means hosting a worker, storing cursors, and handling outages.

A cleaner path: monitor the @handle in XFlux, receive a signed HTTP webhook, and forward a short embed to Discord’s incoming webhook URL.

Minimal architecture

1) Create a Discord channel webhook (Channel settings → Integrations). 2) Deploy a tiny HTTPS receiver (Cloudflare Worker, Vercel route, or Make.com). 3) Create an XFlux monitor for the account and point it at your receiver. 4) On POST, verify signature, format content, POST to Discord.

Make.com users can skip custom code: see /docs/integrations/make. Product landing: /twitter-discord-alerts.

Receiver sketch (Node)

Illustrative handler — verify HMAC in production before trusting the body.

// After verifying XFlux signature...
const discordWebhook = process.env.DISCORD_WEBHOOK_URL;
const tweet = payload.tweet; // shape depends on monitor event

await fetch(discordWebhook, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    content: `**@${payload.username}** posted:\n${tweet.text}\n${tweet.url}`,
  }),
});

Ops tips

Rate-limit Discord posts if an account threads aggressively. Deduplicate by tweet id. Use separate Discord channels per risk tier (macro vs memecoins) so traders can mute noise.

More on monitors: /blog/twitter-account-monitor-webhook. Trading keywords: /docs/guides/trading-keywords.

FAQ

Can Discord call XFlux directly?
Discord incoming webhooks only receive POSTs. You need a middle layer (your server or Make) that XFlux calls first.
Is a Discord bot token required?
Not for channel webhooks. Bot tokens are for richer bots (slash commands, roles). Webhooks cover most “post appeared” alerts.
Which plan do I need?
Live monitor delivery requires a paid plan. Free is enough to wire test pings while you build the Discord forwarder.

Build with XFlux

Free tier for reads and one monitor. Starter from $19/mo for signed webhooks and faster polling.

More from the blog

Send X/Twitter Account Alerts to Discord | XFlux