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
| When this happens in Postmark | This runs in Stripe | How fast | Starter |
|---|---|---|---|
| An email bounces | Create a customer | Within seconds | Install the starter |
| An email bounces | Make a payment link | Within seconds | Two steps on the canvas |
| An email bounces | Send an invoice | Within seconds | Two steps on the canvas |
| A link in an email is clicked | Create a customer | Within seconds | Two steps on the canvas |
| A link in an email is clicked | Make a payment link | Within seconds | Two steps on the canvas |
| A link in an email is clicked | Send an invoice | Within seconds | Two steps on the canvas |
From Stripe to Postmark
| When this happens in Stripe | This runs in Postmark | How fast | Starter |
|---|---|---|---|
| A customer pays (checkout or payment link) | Send an email | Within seconds | Install the starter |
| A customer pays (checkout or payment link) | Send a template email | Within seconds | Install the starter |
| An invoice is paid | Send an email | Within seconds | Install the starter |
| An invoice is paid | Send a template email | Within seconds | Install the starter |
| A payment fails | Send an email | Within seconds | Install the starter |
| A payment fails | Send a template email | Within seconds | Install the starter |
Set up the starter
Create a customer in Stripe when an email bounces in Postmark
- 1Install the starter into the client from Templates → Library. It lands switched off.
- 2Connect the client’s Postmark, for “An email bounces”
- 3Connect the client’s Stripe, for “Create a customer”
- 4Fill in Postmark: Message stream (The stream the emails go out on: “outbound” unless the server has others)
- 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.
- 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
| Stripe value | Filled from |
|---|---|
| [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
| Postmark value | Filled from |
|---|---|
| From | [Postmark: From] |
| Subject | A customer pays (checkout or payment link): [the customer’s name, from Stripe] |
| Text | A 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
| Postmark value | Filled 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
| Postmark value | Filled from |
|---|---|
| From | [Postmark: From] |
| Subject | An invoice is paid: [the customer’s name, from Stripe] |
| Text | An 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
| Postmark value | Filled 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
| Postmark value | Filled from |
|---|---|
| From | [Postmark: From] |
| Subject | A payment fails: [the customer’s name, from Stripe] |
| Text | A 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
| Postmark value | Filled 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.