For the complete documentation index, see llms.txt. This page is also available as Markdown.

Shopify Flow

Automate product publishing and alt text with Shopify Flow: start a workflow the moment a product gets a new image.

Product Pelican plugs into Shopify Flow, Shopify's automation app. The most common use is automating product publishing: a product stays in draft until it has a photo, then goes live by itself.

Product Pelican adds two building blocks to Flow:

  • a trigger, Product image added, that starts a workflow whenever a product gets a new image

  • an action, Generate image alt text, that writes alt text for product images that have none

Use them together, or combine either one with Flow's own conditions and actions.

What you need: the Shopify Flow app installed on your store, and Product Pelican on any plan, including Free. Nothing runs until you build a workflow and turn it on.

The Shopify Flow card on the Jobs page opens Flow for you, and shows On once one of your workflows uses the trigger.

Example: publish a product once it has an image

This workflow keeps products in draft until they are ready, then publishes them:

  1. In Shopify Flow, create a workflow and choose the trigger Product Pelican → Product image added.

  2. Add a condition on the trigger's product that checks all of:

    • its status is Draft

    • its total inventory is greater than 0

    • its price is greater than 0

  3. Under Then, add Flow's own action that makes the product live: set the product's status to Active, or publish it to the sales channels you choose.

  4. Turn the workflow on.

The conditions and the publishing action are Flow's own, so the wording follows the Flow editor. Add more conditions, such as a tag or vendor, if you need them.

Example: alt text on every new image

  1. Choose the trigger Product Pelican → Product image added.

  2. Add a condition: Has alt text is equal to false.

  3. Under Then, add the action Product Pelican → Generate image alt text.

  4. Set Product to the product from the trigger and Image ID to the trigger's Image ID.

  5. Turn the workflow on.

From then on, every image you add without alt text gets one within a few seconds.

The Image alt text job does the same for images already in your catalogue. Use the job to catch up and Flow for new images.

More triggers and templates

More triggers and ready-made templates are on the way. If you need a workflow these don't cover, contact us with what you want to automate.

The trigger: Product image added

The workflow starts once for each new image added to a product, however it was added. It does not start when an image is removed or reordered, when alt text is edited, or when a video or 3D model is added.

Each run gives your workflow:

Value
What it is

Product

The product the image was added to, with everything Flow knows about it

Image ID

The image that was added. Pass this to the Generate image alt text action

Image URL

A link to the image file

Has alt text

Whether the image already had alt text when it was added

Media count

How many images and videos the product now has, including this one

The run appears in Flow a few seconds after the upload, once Shopify has processed the image.

The action: Generate image alt text

Writes alt text using your Image Alt Text prompt from AI Prompts. With image analysis on, the AI looks at the photo. Otherwise it works from the product details and file name.

Field
What to put there

Product

The product from your trigger

Image ID

Optional. The Image ID from the Product image added trigger. Leave it empty to fill every image on the product that has no alt text (up to 20)

Because the Image ID is optional, the action also works after other triggers. For example, start from Flow's Product created trigger and leave Image ID empty to fill every image on a new product.

Daily limit

The action writes up to a set number of alt texts per day:

Plan
Alt texts per day

Free

20

Standard

100

Pro (and trial)

300

Max

1,000

At the limit, Flow keeps the remaining runs waiting and retries them, so a large import finishes the next day. The limit resets at midnight UTC and is separate from the Image alt text job's.

Images the action analyses count toward your monthly image analyses.

Good to know

  • Your workflow must be turned on. Product Pelican only starts workflows that are active.

  • Check the run history. Flow's history shows every run and the message Product Pelican returned.

Last updated