Connect SendGrid and Stripe
Start a client’s workflow in SendGrid and act in Stripe, or the other way round, on the client’s own accounts.
Each app by itself: SendGrid integration and Stripe integration, with how to connect it, its scopes and its limits.
What the pair is used for
- After a Stripe Checkout or payment link is paid, SendGrid can send the buyer a receipt from one of the client’s dynamic templates within seconds.
- An invoice paid in full can email the customer through SendGrid with the invoice number and the amount paid, and a declined payment can tell them what is still owed.
- The main starter runs the other way. A click on a tracked link in a SendGrid email creates that person as a Stripe customer, ready to invoice.
Every way SendGrid 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 SendGrid to Stripe
| When this happens in SendGrid | 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 | Install the starter |
| 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 SendGrid
| When this happens in Stripe | This runs in SendGrid | 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 SendGrid
- 1Install the starter into the client from Templates → Library. It lands switched off.
- 2Connect the client’s SendGrid, for “An email bounces”
- 3Connect the client’s Stripe, for “Create a customer”
- 4Switch it on. Within seconds: SendGrid 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
- Stripe’s “Create a customer” does not look for an existing email, so every click by the same person makes another Stripe customer.
- The plain emails print Stripe’s amount fields as whole cents beside a separate currency line. Format them in the text before a customer reads one.
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 SendGrid
| Stripe value | Filled from |
|---|---|
| [the email’s email, from SendGrid] |
Create a customer for email clicks
Create a customer in Stripe when a link in an email is clicked in SendGrid
| Stripe value | Filled from |
|---|---|
| [the email’s email, from SendGrid] |
Send an email for checkout payments
Send an email in SendGrid when a customer pays (checkout or payment link) in Stripe
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| 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 SendGrid when a customer pays (checkout or payment link) in Stripe
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| Template ID | [SendGrid: Template ID] |
| To | [the customer’s email, from Stripe] |
Send an email for paid invoices
Send an email in SendGrid when an invoice is paid in Stripe
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| 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 SendGrid when an invoice is paid in Stripe
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| Template ID | [SendGrid: Template ID] |
| To | [the customer’s customer email, from Stripe] |
Send an email for failed payments
Send an email in SendGrid when a payment fails in Stripe
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| 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 SendGrid when a payment fails in Stripe
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| Template ID | [SendGrid: Template ID] |
| To | [the customer’s customer email, from Stripe] |
SendGrid 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.