[Automation integration]

Give n8n agents and workflows postal mail tools

Use mailbox.bot REST, MCP, and webhooks inside n8n to add approval-first postal mail to agentic or deterministic workflows.

recommended shape
source app trigger
agent or code drafts
mailbox.bot dry run
approval gate
delivery webhook
Best for
Agent workflows that need tool calls instead of hard-coded SaaS connectors.
Self-hosted operations teams wiring CRM, email, forms, and document generation.
Sandboxed postal mail demos that need lifecycle webhooks before production.
Triggers
n8n AI Agent decides postal mail is required.
Webhook receives a form, CRM, invoice, or permit event.
Scheduled job checks records needing certified mail.
[Workflow]
1

n8n collects source data and creates the letter or PDF.

2

Agent or HTTP node calls mailbox.bot dry_run=true.

3

Approval branch confirms live send.

4

mailbox.bot sends mail and posts webhooks to n8n.

5

n8n updates the original app and continues the workflow.

Technical pattern
Use the hosted MCP endpoint for agent workflows that support remote MCP.
Use HTTP Request nodes for direct REST calls.
Use Webhook nodes to receive mailbox.bot status and proof events.
Metadata to preserve
source=n8n
workflow_id
execution_id
source_system
source_record_id
approval_node
POST/api/v1/maildry_run=true
curl -X POST https://mailbox.bot/api/v1/mail \
  -H "Authorization: Bearer sk_agent_test_..." \
  -H "X-Mailbox-MD-Version: 3" \
  -H "X-Max-Cost-Cents: 1500" \
  -F "document=@notice.pdf" \
  -F "recipient_name=Recipient Name" \
  -F "recipient_line1=123 Main Street" \
  -F "recipient_city=San Francisco" \
  -F "recipient_state=CA" \
  -F "recipient_zip=94105" \
  -F "mail_class=certified" \
  -F "dry_run=true" \
  -F 'metadata[source]=n8n'
Agent prompts
"Build an n8n agent workflow that turns an ignored email thread into a mailbox.bot certified mail draft."
"Use mailbox.bot MCP in n8n to preview a permit follow-up letter, require approval, then send."