HubSpot · Zapier · PieterPost

A deal won.
A welcome in the post.

Turn a Closed Won deal into a personal welcome letter. Connect HubSpot through Zapier; PieterPost takes care of the printing and postage.

Start with test credits. Automatic live letters use your wallet balance.

From Closed Won to a welcome letter

  1. 01

    Win the deal

    Watch your chosen HubSpot pipeline for a deal moving to Closed Won.

  2. 02

    Make it personal

    Use your selected contact’s postal address and a welcome message from your team.

  3. 03

    We print and post

    PieterPost sends the letter using wallet credits. Your Zap records the result on the deal.

A small gesture, made part of your process

Make the first welcome feel personal.

Write it once in your own voice. Then map the contact’s name and your account manager’s details from HubSpot into each letter.

  • One chosen recipient per deal
  • Your message and saved business logo
  • The order reference back in HubSpot

North & Pine and Alex are fictional examples. Open the preview to see the message in the PieterPost composer.

Example welcome message

Hi Alex, Welcome to North & Pine. Thank you for choosing to work with us. We’re looking forward to getting started. Your account manager, Sam, will be in touch with the next steps. If you need anything in the meantime, just reply to your welcome email. Here’s to a good start together. Warm wishes, Sam North & Pine

The setup guide

Build your HubSpot welcome Zap

You’ll need a HubSpot account you can connect, a Zapier plan that supports this multi-step workflow, and a PieterPost API account. Start with a fictional deal and a test connection.

  1. 1

    Connect PieterPost with a test key

    Create a test API key in your API dashboard, add simulated wallet credits, and connect PieterPost in Zapier. Keep the key in the connection, never in a deal property. Test keys simulate mail; live keys can spend credits during editor tests too.
  2. 2

    Watch your Closed Won stage

    Choose HubSpot → Deal Property Change and watch dealstage. Retrieve the current deal using its ID, including your custom properties. Add Filter by Zapier for your chosen pipeline and Closed Won stage. Use the actual stage ID from your HubSpot account, and continue only when this deal has no welcome-letter order recorded.
  3. 3

    Choose one contact and map their address

    Store the designated recipient’s contact ID on the deal. Use HubSpot’s association and contact lookups to check that it belongs to the deal and fetch its current address. Require a name, street and number, postal code, city, two-letter country code, and state where needed. Stop for missing or ambiguous recipients.
  4. 4

    Add PieterPost → Send Letter

    Map the postal fields and your personalized welcome message. Keep Use Saved Business Logo enabled if you have one. For the Idempotency Key, combine your HubSpot portal ID, deal ID and the fixed campaign name as shown below. Reuse it on every retry.
    hubspot:YOUR_PORTAL_ID:deal:DEAL_ID:welcome-v1
    Use a fixed portal value and map the immutable deal ID. Keep the result under 140 characters. Don’t add a timestamp or random value.
  5. 5

    Record the mailing on the deal

    Use HubSpot → Update Deal to save PieterPost’s Order ID, Order Reference, status and processed time. Use dedicated properties and leave dealstage unchanged. Record a failed result as failed; fulfilled means submitted for fulfillment, not delivered.
  6. 6

    Test once, replay, then enable live mail

    Confirm one successful test run and one order ID. Replay with the same key and check that no second order is created. Also test a missing address, a reopened deal, and a failed result writeback. Configure failed-run notifications. Switch to a funded live connection only when you intend to send real letters.
Deal properties to create
PropertyWhat it holds
Postal recipient contact IDpieterpost_recipient_contact_idThe one associated contact who should receive this letter.
Welcome letter order IDpieterpost_welcome_order_idThe Order ID returned by PieterPost.
Welcome letter referencepieterpost_welcome_order_refThe Order Reference returned by PieterPost.
Welcome letter statuspieterpost_welcome_statusThe returned submission status. Fulfilled does not mean delivered.
Welcome letter processed atpieterpost_welcome_processed_atWhen the successful mailing result was recorded.

Printing + postage

Pay from your wallet.

Automatic letters spend PieterPost wallet credits. The price depends on the destination and number of printed pages. HubSpot and Zapier subscriptions are separate.

Prefer a payment step first?

Replace Send Letter with Create Letter Checkout Link and send that link to the person approving postage. The letter waits for successful payment.

Read the API guide

Before your first welcome letter

Do I need HubSpot workflows?

This setup runs in Zapier using HubSpot’s Deal Property Change event. You need permission to connect HubSpot and manage the deal properties used by the Zap. Check the current HubSpot and Zapier plan requirements for your account before enabling it.

Does every Closed Won update send another letter?

Configure one fixed mailing key per HubSpot account, deal and welcome campaign. PieterPost reuses the existing order when that key is retried. Keep the same key when a deal is reopened or when a result needs to be written back again.

What if a deal has several contacts?

Choose one postal recipient explicitly using a deal property. The Zap should check that this contact is associated with the deal. If the recipient is missing, ambiguous or has an incomplete address, stop the run and ask the deal owner to correct it.

How do I pay for the letters?

Send Letter uses your PieterPost wallet credits automatically. There is no checkout for each letter. Printing and postage depend on the destination and printed pages. Zapier and HubSpot charges are separate. For payment before mailing, use Create Letter Checkout Link instead.

Can I test without sending real mail?

Yes. Connect a PieterPost test API key and add simulated test credits in the API dashboard. Test connections simulate fulfillment without sending physical mail. A live connection can spend real credits even when you test a step in the Zap editor.

Does the status in HubSpot confirm delivery?

No. The fulfilled status means the order was submitted for fulfillment. This workflow records the send result on the deal; it does not provide a delivery confirmation or guaranteed delivery date.

Put your next welcome on paper.

Start with one fictional deal. Get the workflow right, then make it part of your process.

Follow the setup

Need a hand? pieter@pieterpost.com