N8N Bot Management System
An integrated bot management system that allows creating and managing multiple bots per WhatsApp session. Each bot can have different settings and custom triggers.
Create a New Bot
To create a new bot linked to an N8N workflow:
"function">curl "keyword">-X POST https://omdaa.com/api/v1/integrations/n8n class="keyword">-bot/create \
"keyword">-H "Authorization: Bearer YOUR_JWT_TOKEN" \
"keyword">-H "Content"keyword">-Type: application/json" \
"keyword">-d '{
"sessionId": "my"keyword">-instance",
"name": "My Bot",
"webhookUrl": "https://your class="keyword">-n8n.com/webhook/bot",
"trigger": "all"
}'Trigger Types
all
Process all incoming messages
keyword
Process messages containing specific keywords
none
Process messages without keywords
advanced
Advanced logical operators (equals, contains, regex, startsWith, endsWith)
Key Features
Multiple Bot Management
Create and manage unlimited bots per WhatsApp session
Advanced Trigger System
Support for multiple triggers with advanced logical operators
Smart Session Management
Automatic tracking of active sessions (opened, paused, closed)
Advanced Message Processing
Split long messages, delay sending, process images and audio
Smart Retry System
Automatic retry with Exponential Backoff and Jitter
Advanced Settings
Ignore specific JIDs, stop bot on messages from me, session end keyword
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /n8n-bot/create | Create new bot |
| GET | /n8n-bot/list/:sessionId | List bots |
| GET | /n8n-bot/:botId | Get bot details |
| PUT | /n8n-bot/:botId | Update bot |
| DELETE | /n8n-bot/:botId | Delete bot |
| POST | /n8n-bot/session/status | Change session status |