Skip to content

Connect Postmark and Stripe

Start a client’s workflow in Postmark and act in Stripe, or the other way round, on the client’s own accounts.

Each app by itself: Postmark integration and Stripe integration, with how to connect it, its scopes and its limits.

What the pair is used for

  • After a Checkout or payment link is paid, “Send a template email” sends the buyer the Postmark template you name by its alias, such as a receipt, within seconds.
  • When an invoice payment is declined, a plain Postmark email tells the customer the amount due and what they still owe.
  • The main starter runs from Postmark to Stripe. An email that bounces on the stream you pick creates a Stripe customer from that address.

Every way Postmark and Stripe join

A workflow starts from a trigger in one app and runs a step in the other, on the client’s accounts. Where the library has a starter for it, it installs that pairing into a client switched off; any other pairing is two steps on the canvas.

From Postmark to Stripe

Triggers in Postmark with steps in Stripe
When this happens in PostmarkThis runs in StripeHow fastStarter
An email bouncesCreate a customerWithin secondsInstall the starter
An email bouncesMake a payment linkWithin secondsTwo steps on the canvas
An email bouncesSend an invoiceWithin secondsTwo steps on the canvas
A link in an email is clickedCreate a customerWithin secondsTwo steps on the canvas
A link in an email is clickedMake a payment linkWithin secondsTwo steps on the canvas
A link in an email is clickedSend an invoiceWithin secondsTwo steps on the canvas

From Stripe to Postmark

Triggers in Stripe with steps in Postmark
When this happens in StripeThis runs in PostmarkHow fastStarter
A customer pays (checkout or payment link)Send an emailWithin secondsInstall the starter
A customer pays (checkout or payment link)Send a template emailWithin secondsInstall the starter
An invoice is paidSend an emailWithin secondsInstall the starter
An invoice is paidSend a template emailWithin secondsInstall the starter
A payment failsSend an emailWithin secondsInstall the starter
A payment failsSend a template emailWithin secondsInstall the starter

Set up the starter

Create a customer in Stripe when an email bounces in Postmark

  1. 1Install the starter into the client from Templates → Library. It lands switched off.
  2. 2Connect the client’s Postmark, for “An email bounces”
  3. 3Connect the client’s Stripe, for “Create a customer”
  4. 4Fill in Postmark: Message stream (The stream the emails go out on: “outbound” unless the server has others)
  5. 5Switch it on. Within seconds: Postmark tells us as it happens.

What it produces

The Stripe step as it runs for an example client, Lakeview Consulting, when Emma Collins asks for a consultation: each value the starter fills in.

Email
emma.collins@example.com

Setup notes for this pair

  • The template starters map the sender, the recipient and the alias only. Add the amount or the invoice number as template variables if the Postmark template shows them.
  • A failed payment can be retried by Stripe for the same invoice, and each declined attempt sends another Postmark email.

Field mapping, starter by starter

Each value a starter’s step is given, and where it comes from. Words in brackets are filled in when it runs; change any of it after installing.

Create a customer for bounced emails

Create a customer in Stripe when an email bounces in Postmark

The values Create a customer in Stripe when an email bounces in Postmark sends
Stripe valueFilled from
Email[the email’s email, from Postmark]

Send an email for checkout payments

Send an email in Postmark when a customer pays (checkout or payment link) in Stripe

The values Send an email in Postmark when a customer pays (checkout or payment link) in Stripe sends
Postmark valueFilled from
From[Postmark: From]
SubjectA customer pays (checkout or payment link): [the customer’s name, from Stripe]
TextA customer pays (checkout or payment link) in Stripe. Their email: [the customer’s email, from Stripe] Their name: [the customer’s name, from Stripe] Their phone: [the customer’s phone, from Stripe] Amount (in cents): [the customer’s amount total, from Stripe] Currency: [the customer’s currency, from Stripe]
To[the customer’s email, from Stripe]

Send a template email for checkout payments

Send a template email in Postmark when a customer pays (checkout or payment link) in Stripe

The values Send a template email in Postmark when a customer pays (checkout or payment link) in Stripe sends
Postmark valueFilled from
From[Postmark: From address]
Template[Postmark: Template alias]
To[the customer’s email, from Stripe]

Send an email for paid invoices

Send an email in Postmark when an invoice is paid in Stripe

The values Send an email in Postmark when an invoice is paid in Stripe sends
Postmark valueFilled from
From[Postmark: From]
SubjectAn invoice is paid: [the customer’s name, from Stripe]
TextAn invoice is paid in Stripe. Their email: [the customer’s customer email, from Stripe] Their name: [the customer’s name, from Stripe] Amount paid (in cents): [the customer’s amount paid, from Stripe] Currency: [the customer’s currency, from Stripe] Invoice number: [the customer’s number, from Stripe]
To[the customer’s customer email, from Stripe]

Send a template email for paid invoices

Send a template email in Postmark when an invoice is paid in Stripe

The values Send a template email in Postmark when an invoice is paid in Stripe sends
Postmark valueFilled from
From[Postmark: From address]
Template[Postmark: Template alias]
To[the customer’s customer email, from Stripe]

Send an email for failed payments

Send an email in Postmark when a payment fails in Stripe

The values Send an email in Postmark when a payment fails in Stripe sends
Postmark valueFilled from
From[Postmark: From]
SubjectA payment fails: [the customer’s name, from Stripe]
TextA payment fails in Stripe. Their email: [the customer’s customer email, from Stripe] Their name: [the customer’s name, from Stripe] Their phone: [the customer’s customer phone, from Stripe] Amount due (in cents): [the customer’s amount due, from Stripe] Still owed (in cents): [the customer’s amount remaining, from Stripe]
To[the customer’s customer email, from Stripe]

Send a template email for failed payments

Send a template email in Postmark when a payment fails in Stripe

The values Send a template email in Postmark when a payment fails in Stripe sends
Postmark valueFilled from
From[Postmark: From address]
Template[Postmark: Template alias]
To[the customer’s customer email, from Stripe]

Postmark and Stripe and their logos are trademarks of their owners, used here only to say what Thrum works with; no endorsement is implied.

Thrum is cooking.

Get early access and you’ll be among the first in. Early members get a launch perk.