Skip to main content

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

  1. Create a DialogBrain API credential:
    • API Key: your db_live_... key from Settings → Developer
    • Base URL: https://api.dialogbrain.com (default)

Trigger Node: DialogBrain Trigger

Starts your workflow when a DialogBrain event occurs.

Event Types (multi-select):

  • message.received — new inbound message
  • conversation.started — new thread
  • handoff.requested — AI requesting human
  • draft.created — AI draft awaiting approval
  • (and 5 more — see full list)

Example Workflow: Auto-assign new conversations

  1. DialogBrain Trigger — event: conversation.started
  2. IF — check {{ $json.data.channel }} equals telegram
  3. HTTP Request — POST to your CRM with conversation data
  4. 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!

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