SendBeam

n8n setup

Connect SendBeam to n8n: what you need, the steps, and the code.

View as Markdown

Native

The official SendBeam node makes SendBeam an app inside n8n: contacts, lists, tags, campaigns and email as actions, and a trigger for every SendBeam event, all chosen by name rather than pasted as IDs.

Before you start

  • An account with n8n

Set it up

  1. Install the node. Settings → Community nodes → Install in n8n, and enter n8n-nodes-sendbeam. Search the nodes panel for SendBeam once it has installed.
  2. Connect your workspace. Settings → API keys in SendBeam, one key for each n8n instance, with the permissions its workflows use. Add it as a SendBeam API credential; saving it runs a connection test.
  3. Build the workflow. Pick an action, or start with the SendBeam Trigger and publish the workflow: its endpoint is set up in SendBeam for you, and unpublishing removes it.

Code

Install the node

n8n → Settings → Community nodes

1. Settings → Community nodes → Install
2. npm package name: n8n-nodes-sendbeam
3. Nodes panel → search "SendBeam"
4. Credentials → SendBeam API → paste your API key

Only the n8n instance owner and admins can install community nodes. Saving the credential runs a connection test.

Map fields from the SendBeam Trigger

Any node after the trigger

Contact events   {{ $json.data.contact.email }}
                 {{ $json.data.contact.first_name }}
Tag events       {{ $json.data.tag.name }}
Email events     {{ $json.data.email }}
Any event        {{ $json.event }}

Contact events carry the person under data.contact, and Send test event in Settings → Webhooks sends the same shape, so a mapping built from a test keeps working.

Without the node: HTTP Request

HTTP Request node

Method   POST
URL      https://sendbeam.io/api/v1/contacts
Headers  x-api-key: sb_live_XXXXXXXX_YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Body     JSON
{
  "email": "{{ $json.email }}",
  "first_name": "{{ $json.first_name }}",
  "source": "n8n"
}

Needs contacts:write. A 409 means the contact already exists; the node’s Create or update action handles that for you.

Things to know

  • Give each n8n instance its own API key with only the permissions its workflows use; the node’s documentation lists which action needs which.
  • The trigger needs n8n to be reachable over https. On your own computer, point n8n’s WEBHOOK_URL at a tunnel before publishing the workflow.
  • Events usually reach n8n within a minute of happening, and each one arrives whole: event, created_at and data.
  • Adding a tag or a list membership a contact already has succeeds, so workflows can be re-run safely.

← Back to the n8n integration

Stuck, or found a gap? Ask in the community — questions, tips and every release note, with this page as the source of truth.