In this guide, we'll build a simple Discord Support Bot — a bot that listens for messages and uses AI to reply. By the end you'll have a deployed, running bot.
Time to complete: ~10 minutes
Prerequisites: A Discord server where you have Administrator permissions.
1. Create a New Bot
In Narakim Studio, go to Workspaces → Create Bot.
Choose "Create from scratch", then fill in:
- Name:
Support Bot - Archetype:
Discord - Visibility:
Private
Click Create Bot. You'll be taken to the Bot Dossier.
2. Install Extensions
Go to the Extensions tab and install:
- ✅ Message Create (Discord Trigger)
- ✅ OpenRouter AI (Action)
- ✅ Send Message (Discord Action)
3. Connect Discord
Go to Configurations → Connect Platform → Discord.
Select integration level Bot Level (recommended), then enter:
- Your Bot Token (from the Discord Developer Portal)
- Your Application ID
Click Connect. Once connected, the status indicator turns green.
Bot Level means your automation runs as a standalone bot identity — a separate Discord account. See Integration Levels for details.
4. Add Secrets
The Discord and OpenRouter AI extensions require secrets. Go to Configurations → Extension Secrets and fill in:
DISCORD_BOT_TOKEN— your Discord bot tokenDISCORD_APPLICATION_ID— your application IDOPENROUTER_API_KEY— your OpenRouter API key (get one here)
5. Build the Automation
Go to the Automation tab.
In the Node Palette (bottom-left), add these nodes to the canvas:
- Message Create — drag it onto the canvas
- OpenRouter AI — drag it next to Message Create
- Send Message — drag it after the AI node
Now connect them:
- Draw an edge from Message Create → OpenRouter AI
- Draw an edge from OpenRouter AI → Send Message
Configure the nodes:
- OpenRouter AI → Set
modeltoopenai/gpt-4o-mini, setsystemPrompttoYou are a helpful support assistant. - Click the edge between Message Create and OpenRouter AI → map
content→message - Send Message → Set
channelIdto your support channel ID - Click the edge between OpenRouter AI and Send Message → map
response→content
6. Validate and Test
Click Save, then Validate Graph. All nodes should show green checkmarks.
Click Run Smoke Test to simulate a message event and verify your automation executes correctly. No live messages are sent during a smoke test.
7. Deploy
Go to the Deployments tab → click Deploy.
Once the instance status shows RUNNING, your bot is live. Send a message in your Discord server and watch it reply!
Next Steps
- Add an If Condition node to filter messages (e.g., only respond in the
#supportchannel). - Try the AI Studio — describe what you want and let the AI build the graph for you.
- Build a Telegram bot or a Universal bot that bridges multiple platforms.
