How to Send Emails from Shopify Flow Using Brevo

How to Send Emails from Shopify Flow Using Brevo

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 Send transactional email and Send marketing email actions that route each message through an email provider you choose.

Brevo (formerly Sendinblue) is an email marketing and transactional email service with a free plan of 300 emails a day. If you already use Brevo for newsletters, your Flow emails can go out from the same account and sender. MailAction connects to Brevo with an API key and records whether each email was delivered, bounced, or marked as spam. The steps below take you from a new Brevo account to your first email sent from a Flow workflow.

What You'll Need

Step 1Create a Brevo Account

Go to brevo.com and sign up. You don’t need a credit card for the free plan.

The free plan sends up to 300 emails a day, enough to connect and test MailAction. That limit is shared between transactional and marketing email, and free-plan emails carry a small “Sent with Brevo” footer. Paid plans raise the limit and remove the footer. Check Brevo’s pricing page for current plans.

Step 2Verify Your Sender

Brevo only sends from addresses it knows you control. In Brevo, go to Settings, then Senders, domains, IPs. You can verify a sender in two ways.

To verify a single address, add the From address you want to use. Brevo emails it a code or a confirmation link. You can’t send from the address until you confirm it.

To authenticate a domain, add your domain and copy the DKIM and DMARC records Brevo shows into your DNS settings. Once the domain is authenticated, you can send from any address on it. Use this for real sending, because Gmail and Yahoo expect mail from authenticated domains.

If your sender is a Gmail, Outlook, or Yahoo address, Brevo replaces it with an address like you@123456.brevosend.com so the email passes authentication. These emails often land in spam. Use an address on your store’s own domain when you can.

Step 3Create an API Key

In Brevo, go to Settings, then SMTP & API, and open the API keys & MCP tab. Create a new API key.

Give the key a name, like “MailAction”. Under Access, choose Full. MailAction uses the key to send email, set up delivery tracking, and check your senders, and a restricted key can block some of these. Copy the key when Brevo shows it. It starts with xkeysib-.

The SMTP tab on the same page has SMTP keys, which start with xsmtpsib-. Those don’t work here. MailAction needs the API key.

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 step covers connecting Brevo.

Step 5Connect Brevo to MailAction

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

Pick Brevo from the provider list and paste your API key. To send from a different name or address than your sender details, turn on Override sender and fill those in.

Click Connect. MailAction checks the key, sets up delivery tracking in your Brevo account, and checks that Brevo can send from your address. If the address isn’t verified yet, you’ll see a warning. You can verify it in Brevo in another tab and then select Check verification, or go back and use a different address.

Whichever provider you connect first becomes your Primary, and MailAction sends all email through it. You can connect a second provider later as an automatic Fallback. That’s worth doing on the free plan, because the daily limit is easy to reach.

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.

Fill in the action’s fields: the recipient’s email address (this can come straight from the trigger, like the customer’s email), a subject line, and the body, which is the 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.

For promotional emails, use Send marketing email instead. It only sends to customers who are subscribed to email marketing in Shopify, and every email gets an unsubscribe link.

Save the workflow and turn it on.

Step 7Test Your Setup

Before you rely on a live trigger, use the Send test email button in MailAction’s settings. It confirms Brevo is connected correctly and shows you where the email lands.

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

Step 8Already Using Brevo over SMTP?

MailAction can also connect to Brevo as a custom SMTP server: host smtp-relay.brevo.com, port 587, your SMTP login as the username, and an SMTP key as the password. Over SMTP, MailAction can’t track delivery, so we recommend the API key connection above. To switch, connect Brevo with an API key, make it your Primary, and remove the SMTP connection.

Common Issues

“Key not found” or “unauthorized” when connecting

“We have detected you are using an unrecognised IP address”

“Sending has been rejected because the sender you used is not valid”

Emails arrive from a @brevosend.com address instead of yours

“not_enough_credits” or emails stop sending

Delivery status shows “Blocked”