Integrations
n8n
The n8n-nodes-braidport community node presents Braidport to n8n as one service: a trigger that receives events from every channel and an action node that replies, books and sends e-mail. It has no runtime dependencies.
On this page
Install#
Once released, install it in n8n from Settings → Community nodes with the package name n8n-nodes-braidport. Three ready-made workflows you can import will come with it.
Credentials#
Create a Braidport credential with your API key and the base URL (the default is the production API). n8n checks it with a test request when you save. An organization key lets one credential serve every client; see API keys and scopes.
Braidport Trigger#
- Events: choose the event types that start the workflow.
- When the workflow is activated, the trigger registers its own webhook endpoint through
/v1/webhook-endpoints(markedsource: n8n) and removes it when the workflow is deactivated. The signing secret stays in the workflow's static data. - Every delivery's Standard Webhooks signature is verified on the raw body before the workflow runs.
- Simplify turns each event into one flat item (below) instead of the full event.
A simplified item has these fields:
| Field | Meaning |
|---|---|
event_type | The event type, e.g. message.received. |
workspace_id | The workspace (end client). |
channel_id | The channel. |
provider | whatsapp, instagram, messenger, telegram, google or sandbox. |
conversation_id | Pass it to the Braidport node to reply. |
provider_message_id | The provider's message id. |
message_type | text, image, audio, interactive_reply, … |
sender_id | The contact's stable provider id. |
sender_name | The contact's name, when known. |
sender_phone | The contact's phone number, when the provider supplies it. |
text | Body, caption or tapped button title. |
button_id | Id of the tapped button or list row. |
attachments | The attachments, with short-lived URLs. |
audio_url | URL of the first audio attachment (voice notes). |
test | true for sandbox and simulated events. |
raw_event | The full event, unchanged. |
Delivery is at least once: if a workflow must not act twice, de-duplicate on the event id. To hand a conversation to a person, add an IF on message.sent events whose source is not api, as in Human handover.
Braidport node#
| Resource | Operations |
|---|---|
| Message | Send text, buttons, a list, media or a WhatsApp template. |
| Conversation | Show a typing indicator; mark a message as read. |
| Calendar | Check availability; book a slot; read an event again. |
| Send an e-mail through the client's Gmail. | |
| Channel | List channels. |
| Sandbox | Simulate an inbound customer message. |
Reply with the trigger's conversation_id. The node can also be used as a tool by n8n's AI Agent node, so an agent can decide to send a message, check a calendar or book a slot. Errors carry the API's hint; see Errors.
n8n and MCP#
n8n's MCP Client Tool node can also use Braidport's hosted MCP server, which gives an AI Agent node the same tools without configuring each operation. See MCP server.