Package Information
Available Nodes
Documentation generating…
Documentation
n8n-nodes-dialstitch
n8n nodes for Dialstitch, the business phone system. Use Dialstitch events to start workflows, and call the Dialstitch API from any workflow without writing HTTP requests.
Needs a Dialstitch plan with the API and webhooks (Pro or Contact Centre).
Install
In n8n: Settings > Community nodes > Install, enter n8n-nodes-dialstitch, and accept the prompt.
Self-hosted from the command line:
cd ~/.n8n/nodes
npm install n8n-nodes-dialstitch
Connect
- In Dialstitch, open Admin > API & Webhooks > API Keys and make a key. Give it the scopes your workflows use:
- the trigger needs
webhooks:manage - the credential test needs
users:read - actions need
contacts:read/contacts:write,messages:write,calls:read/calls:write,call_lists:write,audiences:read,leads:write
- the trigger needs
- In n8n, add a Dialstitch API credential. Paste the key. Leave the base URL as
https://dialstitch.comunless you run your own Dialstitch. - Press Test. n8n lists one user to check the key.
Keys are limited to 120 requests a minute.
Dialstitch Trigger
Pick one or more events. When the workflow is activated, the node adds a webhook in Dialstitch pointing at its n8n webhook URL. When the workflow is deactivated, the node removes it. Every delivery is checked against its X-Dialstitch-Signature header (HMAC-SHA256 of <timestamp>.<raw body>, five minute tolerance); a delivery that fails the check is answered with 401 and does not start the workflow.
The workflow gets the event envelope: { id, type, created_at, data }. id is the same on every retry, so use it to drop duplicates.
Events: call.started, call.ended, call.missed, call.recapped, voicemail.received, sms.received, sms.sent, contact.created, contact.updated, disposition.logged, moment.detected, contact.at_risk, meeting.booked, meeting.cancelled, audience.entered.
The webhook URL must be reachable from the internet over https. For a local n8n, use a tunnel.
Dialstitch node
| Resource | Operations |
|---|---|
| Contact | Create, Update, Get, Get Many, Search by Phone |
| Message | Send SMS |
| Call | Get, Get Many, Place |
| Call List | Add Entry |
| Audience | Count, Preview |
| Lead | Create |
Notes:
- Send SMS is a real text. The node will not send unless Confirm Send is on. Dialstitch still refuses numbers that opted out, are on the do-not-call list, or have no registered texting number. Set an Idempotency Key (for example the execution ID) so a retry never texts twice.
- Place asks a user's Dialstitch app to dial. The user's phone rings first.
- Update replaces every phone number on the contact when you fill in Phone Numbers.
- Preview returns up to 100 matching contacts. Counts and previews are limited to 10 a minute per key.
- Set the node's On Error to continue to get the API's message as an output item instead of stopping the workflow.
Example: missed call to a CRM task
- Dialstitch Trigger, event
call.missed. - Dialstitch, Contact > Search by Phone, phone
{{ $json.data.call.from }}(run the trigger once to see the exactdataof an event). - Your CRM node: create a task "Call back {{ $json.name }}".
Example: meeting booked to Slack
- Dialstitch Trigger, event
meeting.booked. - Slack, send a message with
{{ $json.data }}.
Development
npm install
npm run build # n8n-node build: compiles to dist/
npm run lint # n8n-node lint (the checks n8n runs for verification)
npm test # vitest: request building and signature verification
npm run dev # n8n with the node loaded, hot reload
lib/ holds the pure code (request building, signature check) and is tested without n8n. HTTP goes through lib/transport.ts only.