Send a text to yourself from n8n
Yes. Homing Pigeon (homingpigeon.dev) lets an n8n workflow text your phone with one HTTP Request node, using a message an earlier node built, like a new order or a failed check. Your key stays in an n8n credential, out of the workflow, and your coding agent can tell you what goes in each setting.
What to tell your agent
Use Homing Pigeon to text me from my n8n workflow. Tell me what to put in the HTTP Request node.
Your agent asks for your number, you read back the six-digit code, and it does the rest.
How it works in code
Add an HTTP Request node after the node that builds your message in a field called message. Set Method to POST and URL to https://homingpigeon.dev/v1/send. Set Authentication to Generic Credential Type and Generic Auth Type to Header Auth, then create a new credential with Name Authorization and Value Bearer, a space and your key. Turn on Send Body, leave Body Content Type on JSON, and set Specify Body to Using JSON. Switch the JSON field from Fixed to Expression and paste this in:
{
"message": {{ JSON.stringify($json.message.slice(0, 480)) }},
"idempotency_key": "{{ $execution.id }}-{{ $itemIndex }}"
}
Good to know
- Verify your phone with
npx -y homingpigeondev verify +15551234567, then again with the six-digit code it texts you.npx -y homingpigeondev keythen prints your key for the credential's Value. n8n keeps credentials apart from the workflow, so the key stays out of it when you download or share the workflow. $json.messageis themessagefield of the item coming into the node. To build one, put an Edit Fields (Set) node in front with a field namedmessage, or changemessagein the expression to the field your earlier node already has.JSON.stringifyadds the quotes around the message and escapes any quotes or line breaks inside it, so the body is always valid JSON. If the item has nomessagefield, the node stops with "JSON parameter needs to be valid JSON" and nothing is sent..slice(0, 480)cuts the message to 480 characters, the limit, so a long error from an earlier node still goes out instead of being rejected.- The execution ID and item index in the idempotency key give every item in every run its own key. If you turn on Retry On Fail in the node's Settings, a retry after a timeout can never text you twice for the same item.
- The node sends one request for each item it receives, so an earlier node that outputs 30 items texts you 30 times. The limit is 20 texts a minute. Put a Limit node in front to send only the first few, or turn on Execute Once in the node's Settings to send one text for the whole run.
- If Homing Pigeon rejects a send, the node fails and shows the status code and Homing Pigeon's reason, such as "No API key was sent." To keep the rest of the workflow running anyway, set On Error to Continue in the node's Settings.
- Messages are limited to 480 characters and go only to the US mobile number you verified. Keep them plain, with no links. Delivery is not guaranteed, so treat each text as a heads-up.
Get started
Add Homing Pigeon to Claude Code, then ask for what you want:
claude mcp add homingpigeondev -- npx -y homingpigeondev mcp
You get 50 free texts every month, on US mobile numbers. See more use cases.