Donum Studio
← Donum: Section Scheduler help

Get alerts with Shopify Flow

Updated

Donum: Section Scheduler shows the result of every scheduled change on the campaign’s page in the app. If you’d rather be told without opening the app, for example when a Black Friday banner couldn’t be shown at midnight, connect the app to Shopify Flow. Flow is Shopify’s free automation app.

You need the Shopify Flow app installed in your store. Install it from the Shopify App Store if you don’t have it yet.

What the app sends to Flow

The app adds three triggers to Flow. Each one can start a workflow, and the details below are available in the workflow (for example in the email you send yourself).

Trigger When it runs Details
Section change failed A scheduled section or block couldn’t be shown, hidden or changed, and the app stopped retrying. Short hiccups that fix themselves on a retry don’t trigger it. Campaign name, Campaign URL, Section, Page, Theme, Change, Error
Section campaign started A campaign made its first change: its sections are now shown, hidden or changed as planned. Runs once per campaign. Campaign name, Campaign URL, Sections (how many), Live theme (yes or no)
Section campaign ended All changes of a campaign have finished. Runs once per campaign. Campaigns ended with Leave it as it is now don’t trigger it. Campaign name, Campaign URL, Sections, Live theme

Change is Show or Hide, or for content changes Change content with the name of the time slot, for example Change content (Early Access). Page includes the market when the change was for one market, for example Home page · China. Campaign URL opens the campaign in the app.

Quickest way: use a template

  1. In your Shopify admin, open Apps → Flow.
  2. Go to Templates and search for Donum.
  3. Pick Email me when a scheduled section change fails, Email me when a section campaign goes live or Email me when a section campaign ends, and click Install.
  4. Enter the email address that should get the alert, then Turn on workflow.

Build it yourself: email me when a change fails

  1. In your Shopify admin, open Apps → Flow and click Create workflow.
  2. Click Select a trigger, search for Donum, and choose Section change failed.
  3. Click Then and add the Send internal email action.
  4. Enter your email address and a subject, such as A scheduled section change failed.
  5. In the message, use Add a variable to insert the details you want, such as Campaign name, Section, Page, Error and Campaign URL.
  6. Click Turn on workflow.

If the email doesn’t arrive, check your spam or junk folder. Some email providers file Shopify Flow emails there; marking one as Not spam fixes it for the next ones.

To get a Slack message instead, use the Send Slack message action in step 3. Flow asks you to connect your Slack workspace the first time.

The same steps work for Section campaign started and Section campaign ended, for example to tell your team that the sale banner is live.

What to do when you get a failure alert

Open the Campaign URL from the alert. The error is shown in red under the section, and the table below it lists every attempt. Common reasons:

  • The section no longer exists. It was removed or replaced in the theme editor. Create a new campaign for the section that’s there now.
  • The theme is no longer your live theme. You published a different theme after creating the campaign. Create a new campaign for your current live theme.
  • The market was deleted or renamed. Create a new campaign and choose the market again.
  • The section isn’t on this page in a market. That market uses its own layout for the page without the section, so it can’t be scheduled there.
  • A scheduled setting changed in a theme update. For content changes, the app checks every value against the theme’s current settings before writing it. See If a change fails.
  • Shopify didn’t allow the app to change your theme files. Contact us at support@donum.studio and we’ll help.

After fixing the cause, click Retry failed on the campaign, or create a new campaign.