n8n Community Node
Trigger n8n workflows from DialogBrain events and send messages back.
Install
note
The node is not on the npm registry yet, so Settings → Community Nodes → Search will not find it. Install from source until the package is published; this page changes the moment it is.
git clone https://github.com/saloprj/dialogbrain.git
cd dialogbrain/packages/n8n-nodes-dialogbrain
npm install && npm run build
npm link
# in your n8n installation
cd ~/.n8n/custom # create it if it does not exist
npm link n8n-nodes-dialogbrain
Restart n8n; the DialogBrain nodes appear in the node panel.
Setup
- Create a DialogBrain API credential:
- API Key: your
db_live_...key from Settings → Developer - Base URL:
https://api.dialogbrain.com(default)
- API Key: your
Trigger Node: DialogBrain Trigger
Starts your workflow when a DialogBrain event occurs.
Event Types (multi-select):
message.received— new inbound messageconversation.started— new threadhandoff.requested— AI requesting humandraft.created— AI draft awaiting approval- (and 5 more — see full list)
Example Workflow: Auto-assign new conversations
- DialogBrain Trigger — event:
conversation.started - IF — check
{{ $json.data.channel }}equalstelegram - HTTP Request — POST to your CRM with conversation data
- DialogBrain → Send Message — reply with confirmation
Action Node: DialogBrain
Send messages, search contacts, retrieve conversations.
Resources
Conversation:
- List — get recent conversations with limit/offset
- Get — retrieve a single conversation by ID
- Get Messages — retrieve messages from a conversation
Message:
- Send — send a message to a thread
- Thread ID:
{{ $json.data.thread_id }} - Message Text:
Hello from n8n!
- Thread ID:
Contact:
- List — list all contacts
- Get — get a contact by ID
- Update — update contact fields
- Search — semantic search across contacts
Search:
- RAG — search your knowledge base
Handoff:
- Request — request human takeover for a thread