Postmark logo

How to Send Emails from Shopify Flow Using Postmark

Shopify Flow can automate a lot, but it can’t send a custom email on its own: no order confirmations in your own words, no internal alerts, no win-back messages outside Shopify’s default notifications. FlowRelay fixes that with a Send transactional email action that routes each message through an email provider you choose. Here’s how to set up Postmark, connect it to FlowRelay, and send your first email from a Flow workflow.

What You'll Need

Step 1Create a Postmark Account

Go to account.postmarkapp.com/sign_up and register with your name, work email, and a password.

Every new account starts on the free Developer plan, which sends up to 100 emails a month with no card required and no expiration. That’s enough to get FlowRelay connected and tested. When you’re ready for real volume, paid plans start with Basic at $15/mo for 10,000 emails, with Pro and Platform tiers above that. Check postmarkapp.com/pricing for current numbers.

Step 2Add and Verify Your Sending Domain

In the Postmark dashboard, open Sender Signatures and add the domain you want to send from (a subdomain such as mail.yourstore.com works well).

Verifying a domain, rather than a single address, is what enables DKIM signing and a custom Return-Path for your domain, which a plain Sender Signature doesn’t cover. Postmark gives you DNS records to add through your domain registrar or DNS host: a DKIM TXT record and a Return-Path CNAME record. Once they’re saved, Postmark checks them automatically; verification can take up to 48 hours to clear.

Step 3Create a Server and Generate an API Token

Postmark organizes sending through Servers, and each one carries its own API token. From your dashboard, create a Server for your store (or use the default one your account starts with).

Open that Server, go to API Tokens, and copy the Server API Token shown there. This is the token FlowRelay needs, not the account-level API token used for managing servers. Keep it somewhere safe; you can regenerate it from the same page if it ever leaks.

Step 4Install FlowRelay on Your Shopify Store

Install FlowRelay from the Shopify App Store and accept the requested permissions.

On first launch, FlowRelay shows a short setup checklist: set your sender name and email, connect a provider, and send a test email. The next two steps cover connecting Postmark.

Step 5Connect Postmark to FlowRelay

In FlowRelay, open Settings, find Email delivery, and click Manage providers to open the Connect email provider dialog.

Pick Postmark from the provider list and paste in the Server API Token you copied. FlowRelay checks that the token is valid before saving it. If you want emails to go out under a different name or address than your account default, open Override sender and fill those in, and turn on open or click tracking if you’d like Postmark to report on those events.

Click Connect. Whichever provider you connect first becomes your Primary, and FlowRelay routes all outbound mail through it. You can connect a second provider later as an automatic Fallback.

Step 6Create Your First Flow Trigger

Open Shopify Flow, create a new workflow, and pick a trigger (Order created is a common one to start with). Add the Send transactional email action; it shows up in the action list once FlowRelay is installed.

You’ll need to fill in a few fields on the action: an email address for the recipient (this can pull straight from the trigger, like the customer’s email), a subject line, and the body, which is the actual HTML content of the email. There’s also an optional preview text field for the snippet shown in inbox previews. For the body, you can write plain HTML or use Liquid to pull in order details, customer names, and other data from the workflow.

Save the workflow and turn it on.

Step 7Test Your Setup

Before you trust a live trigger, use the Send test email button in FlowRelay’s settings. It confirms Postmark is wired up correctly and shows you where the message lands.

Once that test email arrives, run your Flow workflow under real conditions, like placing a test order, and check FlowRelay’s delivery log to confirm the email went out through Postmark and see its delivery status.

Common Issues

“Bad or missing API token”

  • FlowRelay shows this when Postmark rejects the token outright. Make sure you copied the Server API Token from your Server’s API Tokens page, not the account-level token used for managing servers
  • If the token was regenerated or the Server was deleted in Postmark, copy the current token and reconnect it in FlowRelay’s provider settings

“Sender Signature not found”

  • Open Sender Signatures in Postmark and confirm the address you’re sending from is verified, either as its own signature or covered by a verified domain
  • Make sure the sender address, whether that’s in FlowRelay’s sender details or Postmark’s Override sender fields, actually uses a domain or address you’ve verified, not a different one
  • If you just added a domain, give the DNS records time to propagate. Postmark allows up to 48 hours before marking a domain verified

“Inactive recipient”

  • Postmark marks an address inactive after a hard bounce or spam complaint, and blocks further sends to it until it’s reactivated
  • Open Activity in Postmark, find the address, and reactivate it manually if you’re confident the issue has been resolved (for example, a typo in the address has been corrected)
  • If this keeps happening to the same address, double check where it’s coming from. Sending to stale or mistyped addresses repeatedly can affect your sending reputation

“Not allowed to send”

  • This means your account has run out of sending credits for the current period. Open Usage in your Postmark dashboard to see where you stand
  • The free Developer plan caps out at 100 emails a month. Upgrade to a paid plan if you’re consistently close to the limit, or wait for the monthly reset
  • Connect a second provider in FlowRelay as a Fallback, so sends keep going out automatically if Postmark runs out of credits