This is an n8n community node. It lets you use Simline in your n8n workflows.
Simline turns your own Android phone (or an iPhone, through Simline for Mac) into an SMS line for apps and AI agents. With these nodes a workflow can text a customer from your phone number and start when someone texts you back, without writing HTTP calls.
n8n is a fair-code licensed workflow automation platform.
Installation · Operations · Credentials · Compatibility · Usage · Example workflows · Resources · Version history
Follow the installation guide in the n8n community nodes documentation. In n8n: Settings → Community Nodes → Install, then enter @simline/n8n-nodes-sms.
You also need a Simline account with a paired phone: install the Android app from Google Play and pair it from app.simline.dev.
| Resource | Operation | API |
|---|---|---|
| Message | Send: to, message, from (automatic, a phone, a SIM, or a SIM's number), channel (SMS, iMessage, SMS then iMessage), idempotency key, SIM slot | POST /v1/messages |
| Message | Get: a message with its status timeline | GET /v1/messages/{id} |
| Message | Get Many: filter by contact, status, direction, device; Return All or Limit | GET /v1/messages |
| Device | Get Many: paired phones with presence, battery and SIMs, as one item per device or one item per SIM | GET /v1/devices |
| Conversation | Get Many: one row per contact with the last message and unread count | GET /v1/conversations |
| Conversation | Get: the thread with one contact (its messages in messages, newest first) |
GET /v1/conversations/{contact} |
| Conversation | Mark as Read | POST /v1/conversations/{contact}/read |
The node can be used as a tool by n8n's AI Agent.
From. The list shows Automatic (the least busy online phone, on its default SIM), each phone (its default SIM) and each SIM. In an expression you can give a SIM ID (sim_…), a device ID (dev_…) or the phone number you set for a SIM in the dashboard. To answer on the SIM a text arrived on, set From to the incoming message's deviceId and SIM Slot (under Additional Fields) to its simSlot.
Idempotency key. Sending again with the same key within 24 hours returns the original message instead of sending a second text; the output then has idempotentReplayed: true. Use something unique per text, like order-{{ $json.orderId }}, so a retried execution never texts a customer twice.
Status. Send returns the message as soon as the phone has it (status: "dispatched"). Its final state arrives later: use Get or the Simline Trigger (message.delivered / message.failed). Stop waiting when finalStatus is true.
Starts the workflow on any of these events:
| Event | When |
|---|---|
Message Received (message.received) |
A text arrived on one of your phones |
Message Sent (message.sent) |
A text left the phone |
Message Delivered (message.delivered) |
The carrier confirmed delivery (an iPhone through Simline for Mac never reports it: its texts end at Sent) |
Message Failed (message.failed) |
A sent text failed; data.errorCode says why |
Device Online / Device Offline (device.online, device.offline) |
A phone came back, or became unreachable |
Sent, Delivered and Failed together are the status of your outgoing texts. Options → Device Names or IDs limits the trigger to some phones.
When you activate the workflow (or click Listen for test event), the trigger registers a webhook endpoint with Simline for this workflow's URL and keeps its signing secret. Every request is checked against the Simline-Signature header (HMAC-SHA256, at most 5 minutes old) and refused with 401 if it doesn't match. Deactivating the workflow deletes the endpoint. You can see it, its delivery log and replays in the Simline dashboard under Developers → Webhooks.
Each execution gets the event as Simline sends it:
{
"id": "evt_3af79d5d0881a275d343353a10d7bbba",
"type": "message.received",
"createdAt": "2026-11-28T00:55:50.700Z",
"data": {
"id": "msg_…",
"direction": "inbound",
"status": "received",
"channel": "sms",
"contact": "+14155550123",
"body": "Got it, thanks",
"deviceId": "dev_…",
"simSlot": 0,
"finalStatus": true
}
}Simline retries a delivery for about 22 hours and can deliver an event more than once; id is the same each time, so deduplicate on it if a double run would hurt. The dashboard's Send test event button sends a webhook.test event, which the trigger acknowledges without starting the workflow unless Options → Emit Test Events is on.
- In the Simline dashboard, open Developers → API keys and create a key with both the send and read scopes (the default). It starts with
sl_live_and is shown once. - In n8n, create a Simline API credential and paste the key. Leave Base URL at
https://api.simline.dev.
n8n checks the credential by reading one conversation. A send-only key fails that check and can't be used by the trigger, which needs both scopes because webhooks receive message bodies.
Built with @n8n/node-cli 1.4 against n8n-workflow 3.4 (n8n 2.x). Uses no runtime dependencies.
The trigger needs n8n to be reachable from the internet over https on a public host name (n8n Cloud, or a self-hosted n8n with WEBHOOK_URL set to its public https address). Simline refuses webhook URLs on localhost, IP addresses or internal names. On a laptop, put n8n behind a tunnel (for example Cloudflare Tunnel or ngrok) and set WEBHOOK_URL to the tunnel's address.
- Phone numbers are E.164 (
+and country code). Spaces, dashes, dots and brackets are removed, and a leading00becomes+. - Errors show Simline's own message with what to do about it, for example No paired phone can send right now (
no_device), The contact texted STOP (contact_opted_out), or the plan and daily limits. Turn on the node's On Error → Continue setting to keep the workflow going with anerrorfield instead. - Texts go out from your own SIM at your carrier's rates, and your carrier's rules apply. Only text people who expect it; Simline honours STOP replies.
An n8n Form Trigger (or Typeform, Webflow, Shopify…) collects a name and phone number; Simline texts them from your number.
- n8n Form Trigger with fields
NameandPhone. - Simline → Message → Send
- To:
{{ $json.Phone }} - Message:
Hi {{ $json.Name }}, thanks for booking! Reply here if anything changes. - From: Automatic, or your shop SIM
- Additional Fields → Idempotency Key:
{{ $execution.id }}
- To:
Import it with Workflow → Import from File: examples/form-to-sms.json.
- Simline Trigger with the event Message Received.
- Slack → Message → Send, text:
New text from {{ $json.data.contact }}: {{ $json.data.body }}(or Telegram → Message → Send Message with the same text). - Optional: Simline → Message → Send to answer automatically from the same SIM: To
{{ $('Simline Trigger').item.json.data.contact }}, From (expression){{ $('Simline Trigger').item.json.data.deviceId }}, Additional Fields → SIM Slot{{ $('Simline Trigger').item.json.data.simSlot }}.
examples/incoming-sms-to-slack.json
Simline Trigger (Message Failed) → IF {{ $json.data.errorCode }} is not empty → email or Slack with {{ $json.data.contact }} and {{ $json.data.errorCode }}.
- n8n community nodes documentation
- Simline documentation · API reference · Webhooks guide · Choosing the SIM
npm ci
npm run lint # n8n's community node rules (eslint-plugin-n8n-nodes-base + @n8n/eslint-plugin-community-nodes)
npm run typecheck
npm test # vitest: request building, error mapping, signatures, both nodes against a fake API
npm run build # dist/
npm run dev # n8n with this package loaded, on http://localhost:5678 (needs Docker or Podman)scripts/e2e-local.mjs runs every operation and the trigger's whole lifecycle against a real Simline API, for example a local one (apps/api, wrangler dev, with the dev phone):
npm run build
SIMLINE_API_KEY=sl_live_… SIMLINE_BASE_URL=http://localhost:8787 node scripts/e2e-local.mjs \
--inbound-cmd "nohup node ../../apps/api/scripts/dev-phone.mjs --inbound +15555550100:Hi > /dev/null 2>&1 &"This package lives in the Simline monorepo but is not part of its pnpm workspace: it uses npm and its own package-lock.json, as n8n's tooling expects. Publishing: PUBLISHING.md.
See CHANGELOG.md.
- Chat with us and other users on Discord: https://discord.gg/NNa99jE488
- Website and docs: https://simline.dev
- Found a security issue? Email security@simline.dev


