Shopify Email app lets you customize almost everything with the logic of an email, but recipients are limited to only those who have accepted to receive marketing emails. Thus you cannot send custom transactional emails to all your customers.
My Need:
I would like to have the possibility to send transactional emails, setting my own logic (like how Shopify Email app lets you) and send it to all customers, regardless of if they have subscribed for emails or not.
Example:
My business is Subscription based rentals of some boxes that sends a box every 3 months to customers, and customers send the previous box back (it changes every 3 months). So I want to make an email reminder, 10 days before they have to send their box back, to tell them soon it’s time etc.
I have contacted Shopify support and they could not really help in this regard and suggested me to ask here.
Any ideas how I can have such a feature? I will be glad to hear your thoughts / solutions.
If you’re on the “Shopify” pricing plan (not the Basic plan) you have access to Shopify Flow, which might help you accomplish this. Not sure about the subscription part, but you can definitely send templated transactional emails.
To send transactional emails using Shopify Flow, you can use the “Send HTTP Request” action to trigger emails through your provider of choice. Email providers like Postmark and Mailgun let you send templated emails via HTTP requests. You can include variables in the HTTP request to be substituted in your template (ie. first name, last name, order number).
The screenshot below shows an example in Flow that sends post-purchase email notifications to non-US customers via Postmark.
The tricky part and making sure you have well-formed JSON. A stray quote or comma will blow things up. The Log Output action in Flow is useful for testing your Liquid/JSON output before setting up the HTTP requests.