Connect SendGrid and Shopify
Start a client’s workflow in SendGrid and act in Shopify, or the other way round, on the client’s own accounts.
Each app by itself: SendGrid integration and Shopify integration, with how to connect it, its scopes and its limits.
What the pair is used for
- Each paid Shopify order can send the buyer a SendGrid dynamic template, such as the store’s own order confirmation, from a verified sender.
- New orders can also send a plain SendGrid email to the buyer with the order number, the total and the payment status.
- A click on a tracked link in a SendGrid campaign can create a Shopify customer from the address, so people who engage are in the store’s customer list before they buy.
Every way SendGrid and Shopify 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 Shopify
| When this happens in SendGrid | This runs in Shopify | How fast | Starter |
|---|---|---|---|
| An email bounces | Create a customer | Within seconds | Install the starter |
| An email bounces | Update a customer | 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 | Update a customer | Within seconds | Two steps on the canvas |
From Shopify to SendGrid
| When this happens in Shopify | This runs in SendGrid | How fast | Starter |
|---|---|---|---|
| A new order comes in | Send an email | Within 5 minutes | Install the starter |
| A new order comes in | Send a template email | Within 5 minutes | Install the starter |
| An order is paid | Send an email | Within 5 minutes | Install the starter |
| An order is paid | Send a template email | Within 5 minutes | Install the starter |
Set up the starter
Send an email in SendGrid when a new order comes in to Shopify
- 1Install the starter into the client from Templates → Library. It lands switched off.
- 2Connect the client’s Shopify, for “A new order comes in”
- 3Connect the client’s SendGrid, for “Send an email”
- 4Fill in SendGrid: From address (For example hello@northside.example)
- 5Switch it on. Within 5 minutes: Shopify is checked every 5 minutes.
What it produces
The SendGrid step as it runs for an example client, Lakeview Consulting, when Emma Collins asks for a consultation: each value the starter fills in.
- From
- hello@lakeview.example
- Subject
- A new order comes in: #1042
- Text
- A new order comes in in Shopify. Order number (#1001): #1042 Their email: emma.collins@example.com Total: 500.00 Currency: USD Payment status (PAID…): new
- To
- emma.collins@example.com
Setup notes for this pair
- Orders are picked up on Shopify’s 5-minute check, so the SendGrid email follows an order by up to 5 minutes. Clicks reach Shopify within seconds.
- Shopify refuses a customer whose email it holds, so a second click by the same person fails the run and names the 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 Shopify when an email bounces in SendGrid
| Shopify value | Filled from |
|---|---|
| [the email’s email, from SendGrid] |
Create a customer for email clicks
Create a customer in Shopify when a link in an email is clicked in SendGrid
| Shopify value | Filled from |
|---|---|
| [the email’s email, from SendGrid] |
Send an email for new orders
Send an email in SendGrid when a new order comes in to Shopify
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| Subject | A new order comes in: [the order number, from Shopify] |
| Text | A new order comes in in Shopify. Order number (#1001): [the order number, from Shopify] Their email: [the order’s email, from Shopify] Total: [the order’s amount, from Shopify] Currency: [the order’s currency code, from Shopify] Payment status (PAID…): [the order’s display financial status, from Shopify] |
| To | [the order’s email, from Shopify] |
Send a template email for new orders
Send a template email in SendGrid when a new order comes in to Shopify
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| Template ID | [SendGrid: Template ID] |
| To | [the order’s email, from Shopify] |
Send an email for paid orders
Send an email in SendGrid when an order is paid in Shopify
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| Subject | An order is paid: [the order number, from Shopify] |
| Text | An order is paid in Shopify. Order number (#1001): [the order number, from Shopify] Their email: [the order’s email, from Shopify] Total: [the order’s amount, from Shopify] Currency: [the order’s currency code, from Shopify] Payment status (PAID…): [the order’s display financial status, from Shopify] |
| To | [the order’s email, from Shopify] |
Send a template email for paid orders
Send a template email in SendGrid when an order is paid in Shopify
| SendGrid value | Filled from |
|---|---|
| From | [SendGrid: From address] |
| Template ID | [SendGrid: Template ID] |
| To | [the order’s email, from Shopify] |
SendGrid and Shopify 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.