Automate with
Discord
Discord isn't just for gaming. It's become the async ops hub for remote teams, communities, and dev shops. NVS turns Discord channels into a real-time command center for your business automations.
Use Cases
Every Discord message is checked. Bot messages are filtered out immediately. Real messages get context fetched from Redis, GPT-4o-mini generates a reply, and history is updated before responding.
Trigger
Discord Message
discord.webhook
Bot webhook fires on every message in monitored channels.
IF
Is Bot Message?
nvs.condition
Prevents the bot from replying to itself and entering an infinite loop.
YES
Output
Ignore
nvs.end
Bot message filtered. Workflow exits with no action.
NO
Load Memory
redis.get
Conversation history for this user_id fetched from Redis.
Generate Reply
openai.gpt4omini
GPT-4o-mini generates a contextual reply using the conversation history.
Save to Memory
redis.set
New message and reply appended to Redis for future context.
Output
Send Reply
discord.message
AI reply posted to the same Discord channel.
A /save-article slash command extracts a URL, fetches the article metadata, and saves it to a Notion reading list. Discord's ping verification is handled as a guard before processing.
Trigger
Slash Command
discord.webhook
Discord sends a POST to the webhook when /save-article is used.
IF
Discord Ping?
nvs.condition
Discord sends a type=1 ping to verify webhooks. Must respond immediately.
YES
Output
Respond Pong
webhook.respond
HTTP 200 with pong payload returned for Discord webhook verification.
NO
Extract URL
nvs.set
Article URL extracted from the command options payload.
Fetch Metadata
http.request
Page title, description, and OG image fetched from the URL.
Save to Notion
notion.database
Page created in the reading list database with title, URL, and metadata.
Output
Confirm in Discord
discord.reply
Discord reply: 'Saved: {{article_title}}' posted as an ephemeral message.
GitHub push events are received and routed by branch name. Pushes to main go to #releases, dev branch pushes go to #dev. Feature branches are silently ignored.
Trigger
GitHub Push
github.trigger
GitHub push event received via webhook from connected repositories.
Extract Branch
nvs.set
Branch name, commit message, author, and repo extracted from the push payload.
Switch
Branch
nvs.switch
Routes push events to the correct Discord channel by branch name.
main
Output
Post to #releases
discord.message
Discord post: 'Push to main by {{author}}: {{commit_msg}}'.
dev
Output
Post to #dev
discord.message
Discord post to #dev with commit summary and changed file count.
other
Output
Ignore
nvs.end
Feature branch push. No notification needed.