How to Send Emails from Shopify Flow Using Resend

How to Send Emails from Shopify Flow Using Resend

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. MailAction fixes that with a Send transactional email action that routes each message through an email provider you choose. Here’s how to set up Resend, connect it to MailAction, and send your first email from a Flow workflow.

What You'll Need

Step 1Create a Resend Account

Go to resend.com/signup and sign up with your email, GitHub, or Google account.

Before you send any real volume, take a look at resend.com/pricing. The Free plan covers 3,000 emails a month, capped at 100 a day, on a single domain. That’s enough to get MailAction connected and tested. Paid plans start at $20/mo if you need higher limits or more sending domains.

Step 2Add and Verify Your Sending Domain

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

Resend gives you a set of DNS records to add for that domain: typically an SPF record, a DKIM record, and a DMARC record, all entered as TXT entries through your domain registrar or DNS host. Once they’re saved, click Verify DNS Records in Resend. Propagation is usually quick, but Resend allows up to 72 hours before marking a domain verified.

Step 3Generate an API Key

Open API Keys in the Resend dashboard and create a new key.

MailAction needs a key with Full access. A key scoped to sending only gets rejected the moment you try to connect the provider. You can also restrict the key to the domain you just verified if you’d like. Copy the key somewhere safe as soon as it’s created (it looks like re_xxxxxxxx), since Resend only shows the value once.

Step 4Install MailAction on Your Shopify Store

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

On first launch, MailAction 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 Resend.

Step 5Connect Resend to MailAction

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

Pick Resend from the provider list and paste in the API key you generated (it should start with re_). MailAction checks that the key has full access 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.

Click Connect. Whichever provider you connect first becomes your Primary, and MailAction 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 MailAction 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 MailAction’s settings. It confirms Resend 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 MailAction’s delivery log to confirm the email went out through Resend and see its delivery status.

Common Issues

“The yourdomain.com domain is not verified. Please, add and verify your domain on https://resend.com/domains"

“This API key is restricted to only send emails.”

“Invalid from field.”

“You have reached your monthly email quota.” / “You have reached your daily email quota.”