Verified Node: n8n-nodes-thanks-io
    58-Tool MCP + Self-Hosted Ready
    Zero Minimums · From $0.64/pc

    n8n Direct Mail Automation: Self-Hosted & Cloud Workflows with n8n-nodes-thanks-io

    Direct Answer · n8n Cloud & Self-Hosted GuidePostage Included · Zero Minimums

    n8n direct mail automation connects self-hosted or Cloud n8n workflows to physical handwritten-style postcards, letters, folded notecards, and Smart Gift Cards via the verified n8n-nodes-thanks-io community node, HTTP Request batching, or Thanks.io's 58-tool MCP server (https://mcp.thanks.io/mcp). US postage is included with zero minimums—4×6 postcards cost $1.18 Pay as you go, $0.77 Business ($49/mo), or $0.64 Professional ($199/mo).

    Verified npm Node

    n8n-nodes-thanks-io

    n8n Cloud & Docker self-hosted

    4×6 / 6×9 Postcards

    $0.64 / $0.71

    Pro tier · US postage included

    MCP AI Agent Tools

    58 Tools Ready

    mcp.thanks.io/mcp + spend safety

    Letters & Notecards

    $0.99 / $1.49

    Windowless / Notecard Pro

    Built for Technical Operators & AI Engineers

    Why Self-Hosted & Cloud n8n Teams Automate Direct Mail with Thanks.io

    Keep customer PII inside your own Postgres/VPS stack, eliminate per-task SaaS surcharges, and pair n8n's Code, Switch, and AI Agent nodes directly with Thanks.io's verified node, REST API v2, and 58-tool MCP server.

    Verified Community Node + Self-Hosted Control

    Install n8n-nodes-thanks-io on n8n Cloud or inside your own Docker/Kubernetes cluster with zero per-task middleware fees. Reference saved Creative IDs so design updates happen in Thanks.io without touching your JSON workflows.

    Native AI Agent + 58-Tool MCP Pipeline

    Wire n8n's MCP Client Tool straight to Thanks.io's hosted MCP server (mcp.thanks.io/mcp) or pair Claude/OpenAI LLM nodes with REST API v2 to draft unique per-recipient copy—with preview-order proofs and spend-safety toggles off by default.

    Handwritten-Style Rendering & Dynamic HTML

    Thanks.io renders handwritten-style notes via its proprietary 300 DPI digital handwriting engine (AI Fonts glyph variation + Realism Mode)—not robotic plotters or real pens. Need programmatic layouts? Pass front_html and background_html directly through REST API v2.

    Interactive n8n Workflow & Code Studio

    Copy-Paste n8n Nodes, Code Batchers, MCP Configs & QR Webhooks

    Switch between the four production n8n architectures—verified n8n-nodes-thanks-io, batched Code + HTTP Request, AI Agent MCP Client Tool, and Postgres-deduplicated qr.scanned return webhooks.

    Verified Node · Cloud & Self-Hosted
    Setup: ~5 minutes

    Trigger -> Address IF Guard -> Verified n8n-nodes-thanks-io Community Node

    Thanks.io maintains the verified n8n-nodes-thanks-io package listed directly in n8n Cloud (n8n.io/integrations/thanksio/) and installable in one click inside self-hosted Settings -> Community Nodes. Authenticate once with your Thanks.io API key, enable Test Mode for $0 dry runs, reference a saved Creative ID, and map upstream trigger fields using standard n8n {{ $json.* }} expressions.

    Best For: n8n Cloud and self-hosted Docker/VPS teams who want native visual fields for postcards, letters, folded notecards, gift cards, and mailing lists without hand-writing REST requests.
    Execution Overhead: $0 per-task middleware fees on self-hosted n8n (1 execution per workflow run)

    Workflow Build Steps

    1. 1On n8n Cloud, search for Thanks.io in the node panel and click Install; on self-hosted n8n, open Settings -> Community Nodes -> Install and enter n8n-nodes-thanks-io.
    2. 2Create a reusable front artwork design and message template in Thanks.io, note its Creative ID, and toggle Test Mode ON under Account Settings -> API Access while building.
    3. 3Place an IF node right before Thanks.io verifying non-empty street address, city, 2-letter US state, and 5-digit ZIP—routing incomplete rows to a fallback branch instead of throwing errors.
    4. 4Add the Thanks.io node (Send Postcard / Send Letter / Send Notecard / Send Gift Card), map {{ $json.* }} expressions, and pass your primary key or CRM ID in custom1 for closed-loop QR attribution.
    # Option A: n8n Cloud (Zero CLI required)
    # Open any workflow -> "+" -> Search "Thanks.io" -> Install verified community node
    # Verified directory: https://n8n.io/integrations/thanksio/
    
    # Option B: Self-Hosted n8n UI
    # Settings -> Community Nodes -> Install a community node:
    n8n-nodes-thanks-io
    
    # Option C: Self-Hosted Docker / docker-compose.yml environment flags
    # Ensure community nodes are enabled and persisted in /home/node/.n8n
    N8N_COMMUNITY_PACKAGES_ENABLED=true
    N8N_REINSTALL_MISSING_PACKAGES=true
    WEBHOOK_URL=https://n8n.yourdomain.com/
    
    # Credentials inside n8n:
    # Credential Type: Thanks.io API
    # API Key:         Paste from dashboard.thanks.io/app/settings/api-access
    # Tip: Keep "Test Mode" enabled in Thanks.io API Settings during dry runs ($0 cost).
    Enable Test Mode in Thanks.io API Settings to dry-run n8n workflows for $0.Explore 58-Tool MCP Guide →
    Copy-Paste n8n Workflow Blueprints

    6 Production n8n Direct Mail Automation Playbooks

    Filter by architecture, inspect the exact n8n trigger, Code/IF guardrails, and verified unit cost, and copy handwritten-style message templates wired with Thanks.io merge tags (%FIRST_NAME%, %CUSTOM2%).

    Self-Hosted & DB
    $0 Middleware Tasks

    Postgres / Supabase Query -> Code Node Batch -> 100-Card REST API v2 Drop

    Run nightly or weekly lifecycle mailings directly from your own database without paying per-task Zapier/Make fees. n8n queries eligible rows, chunks them into 100-recipient JSON batches, mails via Thanks.io, and stamps mailed_at atomically.

    1. n8n Trigger Node

    Schedule Trigger (Weekdays 08:30 CT) -> Postgres / Supabase SELECT (eligible AND mailed_at IS NULL)

    2. Processing, Guardrail & Send Node

    Code Node (validate US 2-letter state + 5-digit ZIP, chunk 100/array) -> HTTP Request POST /api/v2/recipients/postcard -> Postgres UPDATE mailed_at & order_id

    3. Thanks.io Format & Verified Rate

    4×6 or 6×9 Postcard (Saved Creative ID)

    4×6: $0.64 Pro / $0.77 Biz / $1.18 Free · 6×9: $0.71 Pro / $0.91 Biz (+$0.05 First Class) · Orders submitted before 11:00 AM Central typically print & enter USPS the same business day; First Class est. 5–10 business days

    4. Closed-Loop n8n Attribution

    Store your primary database UUID in custom1 so incoming qr.scanned webhooks update the exact user row in Postgres automatically.

    Handwritten-Style Card Copy
    Hi %FIRST_NAME%, thanks for being part of our community! We put together a quick personalized update for %CUSTOM2%—scan the QR code on this card anytime to view it directly.
    Digitally rendered handwriting · Zero minimumsBuild This Workflow
    AI Agents & MCP
    Per-Recipient AI Copy

    Enriched CRM Lead -> Claude/OpenAI Copy Generator -> Handwritten-Style Windowless Letter

    Combine n8n's AI nodes with Thanks.io's digital handwriting engine to draft a tailored, concise physical letter for each high-intent B2B account based on firmographics or recent activity—with strict word-count validation before print.

    1. n8n Trigger Node

    Webhook / HubSpot / Pipedrive Trigger (Qualified Target Account or Stalled Deal >= 14 days)

    2. Processing, Guardrail & Send Node

    Basic LLM Chain (Structured JSON output, 45–80 words, no markdown) -> IF word count valid & address complete -> n8n-nodes-thanks-io (Send Windowless Letter)

    3. Thanks.io Format & Verified Rate

    8.5×11 Windowless Letter (Real Stamp)

    $0.99 Pro / $1.35 Biz / $2.56 Pay as you go (+$0.21 optional First Class) · First Class typically delivers in an estimated 5–10 business days with USPS IMb delivery webhooks

    4. Closed-Loop n8n Attribution

    Pass deal_id in custom1 so a qr.scanned webhook pings the assigned AE in Slack and logs an engagement event in the CRM.

    Handwritten-Style Card Copy
    Hi %FIRST_NAME%,
    
    I know inboxes stay crowded, so I wanted to send a brief physical note regarding %CUSTOM2%. If you would like to compare notes on what we outlined, scan the QR code below to book 15 minutes directly.
    
    Best,
    Alex
    Digitally rendered handwriting · Zero minimumsBuild This Workflow
    AI Agents & MCP
    58-Tool MCP Server

    n8n AI Agent + Thanks.io MCP Client -> Proof Preview -> Slack Human Approval

    Connect n8n's MCP Client Tool to https://mcp.thanks.io/mcp so an AI assistant can inspect creatives, preview Targeted Leads ($0.10/lead with free match counts), run preview-order cost/proof checks, and request human approval in Slack before spending a cent.

    1. n8n Trigger Node

    Slack Slash Command / Chat Trigger ('Draft a 6x9 campaign for Austin homeowners searching solar')

    2. Processing, Guardrail & Send Node

    n8n AI Agent + MCP Client Tool (https://mcp.thanks.io/mcp) -> preview-order -> Slack Send and Wait for Approval -> IF Approved -> Dispatch Order

    3. Thanks.io Format & Verified Rate

    6×9 Street View Postcard + Optional Lead Feeds ($0.10/lead)

    6×9 Postcard: $0.71 Pro / $0.91 Biz · Lead Feeds: $0.10 per net-new lead (free preview first) · Standard Mail est. 10–20 business days; First Class (+$0.05 on 6×9) est. 5–10 business days

    4. Closed-Loop n8n Attribution

    Agent calls create-webhook via MCP so every qr.scanned event posts live lead updates back into your n8n Slack workflow.

    Handwritten-Style Card Copy
    Hi %FIRST_NAME%, we noticed homeowners in your neighborhood are researching upgrades this season. Scan the QR code on this card for a no-pressure local checklist and estimate range.
    Digitally rendered handwriting · Zero minimumsBuild This Workflow
    CRM & Forms
    Pay-on-Redemption

    Stripe / WooCommerce / Shopify Order -> Switch Node -> Notecard or Smart Gift Card

    Use n8n's Switch node to route every paid order to the highest-ROI physical format: standard buyers receive a warm 4×6 postcard while high-value accounts receive a real-stamped Folded Notecard or pay-on-redemption Smart Gift Card.

    1. n8n Trigger Node

    Stripe Trigger (invoice.paid / checkout.session.completed) or WooCommerce / Shopify Order Webhook

    2. Processing, Guardrail & Send Node

    Switch on amount_total: >= $500 -> n8n-nodes-thanks-io Send Gift Card or Folded Notecard | < $500 -> Send 4×6 Postcard | No Street Address -> Email-to-Address Append ($0.07/lookup)

    3. Thanks.io Format & Verified Rate

    Folded Notecard or Pay-on-Redemption Smart Gift Card

    Notecard: $1.49 Pro / $1.83 Biz · Gift Card (Business+): $1.49 Pro / $1.83 Biz + redeemed face value only · Optional +$0.21 First Class upgrade for estimated 5–10 business day delivery & IMb tracking

    4. Closed-Loop n8n Attribution

    Pass Stripe customer_id or order_id in custom1 so qr.scanned triggers a VIP onboarding alert in Slack.

    Handwritten-Style Card Copy
    Hi %FIRST_NAME%, thank you for choosing us! We truly appreciate working with %CUSTOM2%. Coffee is on us this week—scan inside to redeem your gift card whenever you like.
    Digitally rendered handwriting · Zero minimumsBuild This Workflow
    Self-Hosted & DB
    $0.07 Email Append

    Inbound Form Webhook (Tally / Typeform / Custom App) -> Instant Card + Email Append Fallback

    Capture form submissions on your self-hosted n8n instance with zero SaaS polling delay. Leads with a US street address trigger an instant 6×9 postcard; email-only leads route to Thanks.io Email-to-Address Append ($0.07/lookup).

    1. n8n Trigger Node

    n8n Webhook Node (POST /webhook/inbound-lead) receiving form JSON

    2. Processing, Guardrail & Send Node

    IF street + 2-letter state + 5-digit ZIP valid -> Send 6×9 First Class Postcard | False Branch (email present) -> Add to Thanks.io Mailing List with Email-to-Address Append

    3. Thanks.io Format & Verified Rate

    6×9 Postcard or Mailing List with Email-to-Address Append

    6×9 First Class: $0.76 Pro / $0.96 Biz (incl. +$0.05 First Class) · Append: $0.07/lookup ($0 print if unmatched) · First Class typically delivers in an estimated 5–10 business days; Standard Mail typically 10–20 business days

    4. Closed-Loop n8n Attribution

    Echo form_submission_id in custom1 so qr.scanned marks the lead as high-intent inside your CRM or database.

    Handwritten-Style Card Copy
    Hi %FIRST_NAME%, thanks for reaching out today! We mailed this quick card so our direct link stays handy on your desk—scan the QR code anytime to pick up where we left off.
    Digitally rendered handwriting · Zero minimumsBuild This Workflow
    Webhooks & Loops
    Exact-Once Attribution

    Thanks.io qr.scanned & order_item.delivered -> Postgres Dedupe -> Slack & CRM Sync

    Close the physical-to-digital attribution loop on your own infrastructure. Catch real-time QR scans and First Class USPS IMb delivery webhooks, deduplicate atomically on event_id, and alert sales reps within seconds.

    1. n8n Trigger Node

    n8n Webhook Node registered via POST /api/v2/webhooks (Business $49/mo or Professional $199/mo)

    2. Processing, Guardrail & Send Node

    Postgres INSERT ON CONFLICT (event_id) DO NOTHING -> IF inserted -> Switch on event_type ('qr.scanned' vs 'order_item.delivered') -> CRM Update + Slack Alert

    3. Thanks.io Format & Verified Rate

    Works across every Business+ ($49/mo) & Pro ($199/mo) mailer

    Unique per-recipient QR codes & webhooks included on Business ($49/mo) and Professional ($199/mo) · order_item.delivered fires automatically on First Class mailings via USPS Intelligent Mail Barcode scans

    4. Closed-Loop n8n Attribution

    Look up {{ $json.body.data.custom1 }} to trigger an instant rep notification or launch a timed post-delivery email/SMS check-in.

    Handwritten-Style Card Copy
    // No outbound print copy required — this workflow handles inbound Thanks.io webhooks.
    // Best practice: always pass your internal user_id or CRM record_id in recipients[].custom1 on every outbound n8n workflow.
    Digitally rendered handwriting · Zero minimumsBuild This Workflow
    n8n Expression & Payload Reference

    n8n JavaScript Expressions to Thanks.io Fields

    Sanitize postal columns inline inside n8n-nodes-thanks-io or HTTP Request JSON bodies using native {{ $json.* }} JavaScript expressions so null fields or dirty ZIPs never stall a workflow execution.

    Data Pointn8n ExpressionThanks.io JSON / Node FieldImplementation Notes
    Recipient NameRequired{{ ($json.first_name + ' ' + ($json.last_name || '')).trim() || 'Valued Customer' }}recipients[].nameSafely falls back when last_name is null or blank; also populates the %FIRST_NAME% merge tag inside card copy.
    Street Address 1Required{{ ($json.street_address || '').trim() }}recipients[].addressValidate with an n8n IF node before sending so blank records route to Email-to-Address Append ($0.07/lookup) instead of failing.
    Apt / SuiteOptional{{ ($json.apt_suite || '').trim() }}recipients[].address2Optional unit/suite line. Safe to pass an empty string when not present.
    CityRequired{{ ($json.city || '').trim() }}recipients[].cityRequired for US and international postal routing.
    State / ProvinceRequired{{ ($json.state || '').trim().toUpperCase().slice(0, 2) }}recipients[].provinceStandardizes lowercase or padded strings into 2-letter US postal codes (e.g., TX, NY, CA).
    ZIP / Postal CodeRequired{{ String($json.zip || '').replace(/[^0-9]/g, '').slice(0, 5) }}recipients[].postal_codeCasts numeric ZIPs to string, strips punctuation/ZIP+4 suffixes, and ensures clean 5-digit US codes (pad leading zeros in SQL/Sheets).
    Country CodeOptional{{ ($json.country || 'US').trim().toUpperCase() }}recipients[].country2-letter ISO code defaulting to US. Thanks.io also mails internationally across postcards, letters, notecards, and Magnacards.
    Source Record IDOptional{{ String($json.record_id || $json.id) }}recipients[].custom1Essential for closed-loop attribution: echoed verbatim in qr.scanned and order_item.delivered webhooks so n8n updates the exact DB/CRM row.
    Company / Workflow TagOptional{{ ($json.company || 'n8n_workflow').trim() }}recipients[].custom2Available both as %CUSTOM2% inside your handwritten-style message and inside inbound webhook payloads for attribution.
    Absentee Property AddressOptional{{ ($json.property_address || '').trim() }}recipients[].absentee_addressOptional real-estate/home-service field: prints the target property's Google Street View photo while mailing to the owner's separate address.

    Email-Only Records? Branch to Email-to-Address Append ($0.07/lookup)

    On the False output of your n8n Address IF Guard, send email-only contacts to a Thanks.io Mailing List configured with Email-to-Address Append ($0.07/lookup). Matched US households automatically enter your direct mail sequence while unmatched emails incur zero print or postage fees.

    n8n vs. Zapier & Make.com for Direct Mail Pipelines

    Choose n8n when you want self-hosted data sovereignty, zero per-task fees on large Postgres/Supabase drops, raw JavaScript Code batching, or native MCP Client Tool AI agent orchestration. Prefer managed no-code clouds? Compare our Zapier Guide and Make.com Guide.

    Read the Direct Mail REST API Implementation Guide →
    Interactive Direct Mail Economics Calculator

    n8n Direct Mail Budget & Plan Optimizer

    With self-hosted n8n eliminating per-task middleware markups, your only variable cost is Thanks.io printing & USPS postage. Model your monthly workflow volume across Pay as you go ($0/mo), Business ($49/mo), and Professional ($199/mo).

    Configure Monthly Workflow Volume
    500 pcs
    502,5005,00010,000

    Highest-efficiency self-hosted n8n workflows for Postgres batch drops, form leads, and automated thank-you cards.

    USPS Postage Class
    0% (0 lookups)

    Increase above 0% if your n8n IF False branch resolves email-only signups into US postal addresses.

    Pay as you go

    $0/mo + $1.23/pc

    $615

    /mo total ($1.23 eff./pc)

    Zero monthly fee; ideal for testing self-hosted n8n workflows and REST API v2 dry runs.

    Business

    Lowest Total

    $49/mo + $0.82/pc

    $459

    /mo total ($0.92 eff./pc)

    Unlocks qr.scanned n8n webhooks, pay-on-redemption Smart Gift Cards & AI Receptionist.

    Professional

    $199/mo + $0.69/pc

    $544

    /mo total ($1.09 eff./pc)

    Lowest wholesale rates ($0.64 4×6, $0.99 windowless letter, $1.49 notecard) + full webhooks.

    Plan Recommendation for 500 4×6 Postcards/mo

    Selecting Business ($49/mo) saves approximately $156/month versus Pay as you go while unlocking live QR & First Class IMb webhooks.

    Comparing Lob or PostGrid in n8n HTTP Workflows?

    Legacy print APIs gate volume behind $260–$550/month platform tiers and require custom PDF/HTML renderers. Thanks.io starts at $0/mo with a verified n8n node, saved Creative IDs, built-in QR webhooks, and 58 MCP tools.

    Thanks.io vs. Lob →
    Thanks.io Mail FormatPay as you go ($0/mo)Business ($49/mo)Professional ($199/mo)First Class Upgrade
    4x6 PostcardStandard size with QR tracking$1.18$0.77$0.64+$0.05
    6x9 PostcardLarger format with more impact$1.65$0.91$0.71+$0.05
    6x11 PostcardMaximum size for premium campaigns$1.87$1.01$0.76+$0.21
    Windowed LetterProfessional business correspondence$1.24$0.83$0.79+$0.21
    Windowless LetterClean envelope design with Real Stamp$2.56$1.35$0.99+$0.21
    NotecardPremium folded format with Real Stamp$3.04$1.83$1.49+$0.21
    Gift CardBusiness or Professional plan required; gift card amount added separatelyBusiness+ required$1.83 + Gift Amount$1.49 + Gift Amount+$0.21
    6x9 MagnacardMagnetic postcard that sticks to fridges$2.08$1.43$1.04+$0.21
    All published US rates include printing, digitally rendered handwriting, envelope/cardstock, and standard USPS postage. Zero order minimums. Smart Gift Card face value is billed only on redemption (Business+).See full US, Nonprofit & International pricing →
    15-Minute n8n Rollout

    How to Launch n8n Direct Mail Automation in 4 Steps

    Install n8n-nodes-thanks-io on Cloud or self-hosted Docker, dry-run your IF guards and MCP previews in free Test Mode, send one live test card to yourself, and activate with zero minimum volume.

    013 min · Install & Test Mode

    Install n8n-nodes-thanks-io & Enable Test Mode

    Install the verified n8n-nodes-thanks-io community node (one click on n8n Cloud or Settings -> Community Nodes on self-hosted), save a reusable Creative ID in Thanks.io, and toggle Test Mode ON for $0 dry runs.

    Test Mode Supported
    024 min · Guard & Sanitize

    Add Your Trigger, Address IF Guard & Clean Expressions

    Connect Postgres, Supabase, HubSpot, Stripe, or a Webhook trigger. Insert an IF node checking street, city, 2-letter state, and 5-digit ZIP—routing email-only rows to $0.07 Email-to-Address Append.

    Test Mode Supported
    034 min · Node, HTTP or MCP

    Wire the Verified Node, Batched HTTP, or 58-Tool MCP Client

    Use n8n-nodes-thanks-io for quick single sends, Code + HTTP Request to batch 100+ recipients with Realism Mode or custom front_html, or attach n8n's MCP Client Tool to https://mcp.thanks.io/mcp for AI agent workflows.

    Test Mode Supported
    044 min · 2-Way Webhooks

    Close the Loop with an Idempotent n8n Webhook Trigger

    On Business ($49/mo) or Professional ($199/mo), register your n8n Production Webhook URL via POST /api/v2/webhooks to deduplicate qr.scanned and First Class order_item.delivered events by event_id in Postgres or Redis.

    Test Mode Supported
    Frequently Asked Questions

    n8n Direct Mail Automation FAQ

    Direct answers on installing n8n-nodes-thanks-io, self-hosted Docker flags, connecting n8n AI Agents to the 58-tool MCP server, QR webhooks, and verified pricing.

    Yes. Thanks.io publishes the verified community node package n8n-nodes-thanks-io, listed on n8n Cloud (n8n.io/integrations/thanksio/) and installable directly inside self-hosted n8n under Settings -> Community Nodes. You can also call Thanks.io REST API v2 via n8n's built-in HTTP Request node or connect n8n AI Agents to Thanks.io's 58-tool hosted MCP server at https://mcp.thanks.io/mcp.

    Expand Your Automated Direct Mail Stack

    Related MCP, API & Workflow Guides

    Ready to Wire Your First n8n Direct Mail Workflow?

    Turn Any Self-Hosted or Cloud n8n Workflow Into Trackable Physical Mail

    Start on Pay as you go ($0/month) with free Test Mode, or upgrade to Business ($49/mo) or Professional ($199/mo) for wholesale rates, real-time qr.scanned n8n webhooks, and pay-on-redemption Smart Gift Cards. Zero minimums, US postage included.