Skip to content
Help Center Pasilobus Help Center home

Shopify Flow Automations

Run a workflow when videos sync, or sync videos from a workflow

Shopify Flow is Shopify's own automation tool: it makes your store do something automatically when an event happens, such as posting to Slack, emailing your team or adding a tag, without any code. Flow is a free app from Shopify; install it from the Shopify App Store if you don't have it yet.

YouTube Gallery adds two triggers and one action to Flow. There is nothing to switch on: they ship with the app, and Settings > Integrations has a button that opens Flow.

Triggers

  • Video gallery sync completed — Runs each time a gallery that syncs automatically finishes syncing from YouTube. It carries Gallery name, Videos added (how many this sync added) and Videos total (how many the gallery holds now).
  • New video published — Runs when a new YouTube video is synced into a gallery. It carries Video title, YouTube URL and Gallery name. It doesn't run for the videos imported when you first connect a channel, and runs at most 20 times per sync.

Both run on every plan. Unlisted and private videos follow the same rules as the gallery: a video the gallery can't show doesn't start the workflow.

Action

  • Sync YouTube videos — Pulls new videos from YouTube straight away, the same as Sync Videos in the app. Leave Gallery empty to sync every connected channel, or enter a gallery's ID (it starts with gal_) or exact name to sync only that gallery's channel. A manual gallery has no channel, so the step fails with a message saying so. The step also fails, with the reason, while YouTube is refusing your syncs (its daily limit is reached, or the channel needs reconnecting); the sync stays queued and runs once YouTube answers again.

Example

Trigger New video published, then a Slack or email action with the message New video on the store: {{ videoTitle }} in {{ galleryName }} (pick the URL from the variables list to add a link).