Mail letters from n8n, Zapier or a cron job

Make an API key on the SendForMe account page, then POST to https://sendforme.co/v1/letters with Authorization: Bearer sfm_... and an Idempotency-Key from your workflow. Turn on auto-reload so sends don't stop for credit, set a per-letter price limit, and pick an undo window. Poll GET /v1/letters/{id}?wait=45 for status; there are no webhooks yet.

Automations don't have a person in the loop to open a setup link, so set the account up first, then hand the workflow a key.

Set up the account

  1. Connect SendForMe in any chat agent and send one letter. That's where you add credit.
  2. Sign in on the account page with your email and make an API key with a label like "n8n invoices". It starts with sfm_.
  3. Turn on auto-reload so a send never stops for credit.
  4. Pick your safety settings under "How letters go out":
    • Price limit: any letter above it waits for approval. A one-page First-Class letter is $2.49, certified $10.99, so a limit just above what your workflow normally sends catches mistakes.
    • Undo window: how long letters wait before the printer. An hour gives you time to cancel a bad run.
    • Approval for every letter, if a person should see each one.

The details are in approvals and limits.

n8n

HTTP Request node. Method POST, URL https://sendforme.co/v1/letters, authentication Generic Credential Type, then Header Auth with name Authorization and value Bearer sfm_.... Body: JSON with to, from, body (or pdf) and options. Add a header Idempotency-Key set to an expression like {{ $json.invoice_id }}.

With an AI Agent node. Add an MCP Client Tool sub-node. Endpoint https://sendforme.co/mcp, transport HTTP Streamable, authentication Bearer Auth with your key. The agent then writes and previews letters itself.

Zapier

Use Webhooks by Zapier, action Custom Request:

  • Method: POST
  • URL: https://sendforme.co/v1/letters
  • Headers: Authorization: Bearer sfm_..., Content-Type: application/json, Idempotency-Key: <a unique field from the trigger>
  • Data: the letter as JSON

A common Zap: new row in a Google Sheet (a customer, an address, an amount due) becomes a printed reminder letter.

Make

Use the HTTP module, Make a request, with the same method, URL, headers and JSON body as above.

A cron job

A nightly script that mails a reminder for each overdue invoice:

#!/usr/bin/env bash
set -euo pipefail
# overdue.jsonl: one letter request per line, each with an "invoice" field
while read -r line; do
  invoice=$(jq -r .invoice <<<"$line")
  curl -sf https://sendforme.co/v1/letters \
    -H "Authorization: Bearer $SENDFORME_KEY" \
    -H "Content-Type: application/json" \
    -H "Idempotency-Key: overdue-$invoice" \
    -d "$(jq 'del(.invoice)' <<<"$line")" \
    | jq '{letter_id, status, price, cancel_until, setup_url}'
done < overdue.jsonl

-f makes curl fail on errors; a 402 (needs_setup) means the balance ran out and auto-reload is off. Send setup_url to someone instead of retrying.

What comes back

Response Meaning What the workflow should do
200, scheduled Charged, waiting in the undo window Store letter_id
200, awaiting_approval Over the price limit, or approval is on Send setup_url to the approver
402, needs_setup Not enough credit Send setup_url to whoever pays; turn on auto-reload
400 A problem with the letter (FROM_REQUIRED, TO_REQUIRED, CONTENT_REFUSED ...) Log error and next_step
401, INVALID_KEY The key was revoked or mistyped Fix the credential

Every error code is in the MCP reference.

Checking status

There are no webhooks yet. Check a letter with:

curl -s "https://sendforme.co/v1/letters/ltr_...?wait=45" -H "Authorization: Bearer $SENDFORME_KEY"

Or list recent letters with GET /v1/letters?status=returned to catch bad addresses. Letters usually go to USPS the next business day and arrive in 2 to 5 days, so a daily check is plenty. Sign in on the account page with your email and you'll also get an email when a letter is delivered or returned.

Good fits

  • Overdue invoice reminders and final notices (template)
  • Lease renewals and notices to every unit
  • Thank-you letters after a donation or a first order
  • Mailing a PDF your system generates (statements, certificates) as soon as it's ready
  • A batch of customer letters from a list (mail merge, up to 500 per batch)

Letters still follow the terms: your real return address, and no mail to people who've asked you not to contact them.

FAQ

Can a workflow use a setup link?

Not well, since nobody is there to open it. Add credit first by sending one letter from a chat agent, then make a key and turn on auto-reload.

Is there a webhook when a letter is delivered?

Not yet. Check later with GET /v1/letters/{id}, or list recent letters with GET /v1/letters. Signed-in accounts also get an email when a letter is delivered or returned.

How do I avoid mailing the same letter twice when a run retries?

Send an Idempotency-Key header built from something unique, like the row id or invoice number. A repeat with the same key returns the first response and mails nothing.

Can a person approve each letter the workflow makes?

Yes. Turn on approval for every letter. Each send returns awaiting_approval with a link; have the workflow email or message that link to whoever approves.

Mail it from your agent

Add SendForMe to Claude, ChatGPT or any MCP agent with one URL. Previews are free; a letter is $2.49, certified $10.99.

https://sendforme.co/mcp
How to add it

Related

Updated 2026-11-29 by Jake Marsh.