Post messages, read a channel, open forum threads and answer slash commands from any Windmill script, flow or app. A webhook URL is enough to post; a bot token does the rest.
What you can do with Discord
Complete, deployable projects built around Discord — the fastest way to get something real running.
Set up in 3 steps
Create a webhook in your server
In Discord, open Server Settings, then Integrations, then Webhooks. Create one, pick the channel it posts to, and copy its URL.
Add the resource in Windmill
Open Resources, add a resource of type discord_webhook, and paste the URL.
Run your first script
Fork the send message script below, or set the error handler script as a flow's failure step to get alerts in the channel.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Rename Channel
Find Channel
Delete Channel
Add Role
Get message
Find User
List Channels
Modify Channel
Remove User Role
List Users that Reacted with Emoji
Create Guild Channel
List Channel Messages
Post Reaction with Emoji
List Guild Members
Send Message (Advanced)
Send Message With File
Send Message
List Channel Invites
Create Channel Invite
Send the error to discord
Ask channel for approval
Receive Application Command Sample
Edit message
Send a message to discord using webhook
Create a Discord forum channel thread
Send message to Discord channel using Discord Bot
Create Discord thread and send messages
Read last message sent to a Discord channel
Send app report
Send message to channel using webhook
Flows
Multi-step workflows that already wire Discord to something else.
Trigger flows from Discord
Discord is not only a destination. These inbound paths are supported today.
Slash commands
Type a command in Discord and it starts a flow, with what you typed as its inputs.
All resource types
Questions
Webhook or bot?
A webhook only posts to the one channel it was created for, and needs no application — that covers alerts and reports. Create a Discord application and use the discord_bot_configuration resource when a script must read messages, manage threads, or answer interactions.
Where do the bot fields come from?
Create an application at discord.com/developers/applications. bot_token is on the Bot tab; application_id and public_key are on General Information.
Is my webhook URL stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest — and anyone holding that URL can post to the channel.