Hybrid Workspace

Emails to Your App's Merchants

Updated

Why do I need to collect my merchants' emails?

Shopify's Partner API tells us when a store installs, pays or leaves, but never its email address. So the emails on an app's Emails tab can only reach the stores your app has told us about. The bar on that tab shows how many installed stores have an email; a store without one gets none of these emails.

How do the stores' emails get in?

Three ways, on the app's Emails tab. Best: the Identify API. Make a key there and have your app's server call it once on install with what Shopify's shop API returns (the store's email, name and owner); the key stays on your server and no Shopify access token is ever sent.

The full reference is at /docs/api#identify. Second: if your app already runs the analytics script, pass the signed-in admin with hybridAnalytics.identify(shop, { email, name }); those addresses are kept as the store's admins and never replace what your server sends. Third, for the stores from before: export your merchants as CSV from Shopify (or any sheet with the stores' myshopify domains and emails) and import it; columns are found by their names, 6 MB at most.

What is the lifecycle board?

The top of the Emails tab: your merchants' path through the app, left to right - installed, bought a plan, upgraded, at risk (downgraded, billing frozen or plan cancelled), left (uninstalled or store closed) and came back. Each step shows how many stores reached it in the last 30 days, from your Partner API events, and the emails it sends. A step where stores arrive and no email is switched on says "No email here yet".

On a phone the steps stack.

What are playbooks?

Ready-made emails for each step, under Start from a playbook: a welcome series, free to paid, thank you for paying, save the cancel, payment failed, and the exit question with a win-back. Choose the language (English or French), who signs (you, with the mailbox's name, or the team), the template (Plain, or the HTML Card, Banner or Centered) and its colour, the mailbox, and where the buttons go (the app's App Store page and its reviews by default). Preview shows each email as a store would get it.

Use it adds them switched off, once per app: read and change them, then switch them on one by one or with Switch all on. The words never promise a discount or a feature; change them to fit your app.

How do I add or change an email?

+ Add email on a step opens three steps. When: how long after the event (right away, next day, 2 days, a week, a month, or any number of hours or days) and to which stores (every store, not paying yet, paying - and on some steps, still frozen or still gone); the rule is read back in one sentence. Write: first the template - Plain, a personal note with just your words, or an HTML email in your colour (Card, Banner or Centered, each with an optional headline) - then the words, already written: a new email starts from the ready-made one for its event (a welcome on install, a thank-you for a plan, a payment reminder when frozen, an exit question on uninstall...) closest to the wait you chose.

Pick another one, switch it to French or English, or start blank; if it was written for another wait, Use this timing moves the email to it. Change anything in the subject and the words, with buttons to add the store's name, the owner, the plan, the app and the sender ({owner|there} writes "there" when the owner is unknown), and an optional button with its https link. Look & check: the mailbox, the template and colour again, the name the board shows, and a preview as one of your stores would get it.

A new email is saved switched off; click an email's name on the board to change or delete it.

When is an email not sent?

Switching an email on asks first, and from then on it goes only to stores whose event happens after that - never to the stores from before. When it is due, it is skipped if it was switched off, if the store has since uninstalled (except the emails of the "left" step), if its condition no longer holds (for example the store started paying), or if the store unsubscribed - every email carries an unsubscribe link. A store gets at most one of an app's emails a day; the next one waits a day.

A store with no email yet is waited for two days, then skipped. Each email shows what it did (sent, opened, clicked, waiting, failed), and the list of the last emails gives the reason for any skip. The emails go from a mailbox you connect in Partner Radar → Sending (your SMTP or a SimpleMail mailbox), never from Hybrid.

Can I email the merchant who left a review?

Yes, from the Reviewed step on the Emails board: one email for a 4–5★ review and one for a 1–3★ review. The playbooks Thank happy reviewers (2 hours after) and Win back unhappy reviewers (1 hour after) quote the review with {review} and its stars with {rating}. A review is matched to a store only when exactly one of the app’s stores has the name shown on it.

The email goes only to a store whose email you have, only for reviews found after you switch it on, once per store, with an unsubscribe link, like every other event email.