AI news
AI model reviews
AI tools
How-to guides
Our staffAboutContact

Shopify Flow AI assistant prompt guide: build workflows with Sidekick in 6 steps

Sidekick builds Shopify Flow workflows from one sentence. Here are the steps, a full low-stock example and copy-paste prompts that work.

Person holding a cardboard box on a table
Photo: Bench Accounting on Unsplash

The Shopify Flow AI assistant is Sidekick working inside the Flow app: you describe an automation in a sentence, and it drafts the trigger, conditions and actions for you to review. This Shopify Flow AI assistant prompt guide shows the steps, a full worked example and the prompt patterns that get usable drafts. It's free, and for routine jobs like tagging and stock alerts I think it's the fastest way into Flow for anyone who's never built a workflow.

Shopify added the feature on December 11, 2025. Its changelog entry lists customer and order tagging, email and Slack notifications, inventory alerts and scheduled automations as the jobs it handles well. Workflows that need advanced Liquid or custom code may still need hand editing.

Before you start: what you'll need

  • A store on the Basic, Grow, Advanced or Plus plan.
  • The free Shopify Flow app installed from your admin.
  • Staff permission to use Flow and to turn workflows on.
  • A desktop browser, because Sidekick can't build workflows on mobile.
  • Any connector apps you plan to use (Slack, Google Sheets, Klaviyo) already installed and connected.

There's one plan wrinkle. On Shopify's Flow help page, the Send HTTP Request action is limited to Grow, Advanced and Plus, so a Basic store can't ask Sidekick to call an outside API.

Step 1: Open Flow and the Sidekick panel

Go to Apps in your Shopify admin and open Flow. Click the Sidekick icon. Sidekick only builds workflows while Flow is installed and open, so asking it from the home screen of an admin without Flow won't produce one.

You should now see the workflow editor with Sidekick on the right. Since Shopify's redesign, workflows run top to bottom, with the settings panel on the left.

Step 2: Write a prompt with a trigger, a condition and an action

A Flow workflow has exactly one trigger, then any number of conditions and actions. Your prompt should name all three, because Sidekick fills any gap with its own guess. Here's the pattern:

When [event happens], if [exact condition with a number or value], then [action with exact tag, email address or channel].

Compare a weak prompt with a strong one. "Tag VIP customers" leaves the trigger, the threshold and the tag name open. The version below closes all three:

When a customer places an order over $200, tag the customer with VIP.

That second prompt is close to the one Shopify itself uses in its Flow update post, and it's a good model.

Step 3: Send the prompt and read the draft

Press Enter. Sidekick generates the workflow and opens it in the editor. It doesn't switch anything on.

Click each step card and check three things: the trigger is the event you meant (Order created, not Order paid, for instance), the comparison operator matches your wording, and any tag or email address is spelled exactly as you want it. Greater than and greater than or equal to are easy to mix up. I'd read every number twice here; a $200 threshold that silently becomes "200 or more" changes who gets tagged.

Step 4: Refine the draft with a follow-up prompt

You don't need to start over when something's off. Ask Sidekick for the change in the same panel, or click the step and edit it by hand. Follow-ups work best when they point at one step:

Change the condition so it checks the order subtotal, not the total, and make it 200 or more.
After tagging the customer, also send a Slack message to #sales with the customer name and order total.

Short, single-change follow-ups are easier to check. A paragraph of five edits at once probably gives you a draft that's harder to review than the first one.

Step 5: Test the workflow on sample data

Use Flow's test run before you activate. It plays the workflow against sample orders, customers or products, highlights the path each one takes and shows why each condition came out true or false. When it reaches a step that would change something real, such as sending an email or editing inventory, the preview stops and shows what would have happened instead.

Pick samples on both sides of your threshold. For a $200 rule, test a $150 order and a $250 one.

Step 6: Activate and watch the first runs

Click Activate. Then open the workflow's run history after the first few real events and confirm each run did what you expected. If an outside service fails and runs start piling up, you can cancel them one by one or in bulk; Shopify says the queue clears in about 10 seconds and cancelled runs don't count against Flow's operation limits.

Example: a low-stock alert from prompt to live workflow

Say you sell candles and keep running out of your two bestsellers before the reorder arrives. Here's the full run.

First, the prompt you'd type into Sidekick:

When the inventory quantity of any product variant drops below 10 for products tagged bestseller, send an email to orders@yourstore.com with the product title, variant SKU and current quantity, and tag the product reorder-needed.

Sidekick should return a workflow with an inventory quantity changed trigger, a condition checking the product tag and the quantity, and two actions: send internal email and add product tags. Check that the email body actually includes the three fields you asked for, since that's where Liquid variables live.

Next, a follow-up to stop repeat emails:

Only send the email the first time quantity drops below 10, not on every later change.

Then run a test with a bestseller variant at 12 units and another at 8. The 8-unit sample should light up both actions; the 12-unit one should stop at the condition. Once both paths look right, activate it. From an empty editor to a live alert, it's probably a few minutes of work, and Shopify's own estimate for a similar inventory alert is under three.

(For what it's worth, the "first time" clause is the bit people tend to forget, and without it a busy product can fire an alert on every single sale below 10.)

Common mistakes and how to fix them

Vague values

Prompts like "when stock is low" or "big orders" force Sidekick to pick a number. Fix it by writing the exact figure, tag or address in the prompt.

Asking for two triggers

A workflow can't have more than one trigger. If you write "when an order is created or a customer signs up", split it into two prompts and two workflows.

Missing connector apps

Sidekick can use triggers and actions from apps you've installed, including Klaviyo and ShipStation, but it can't use an app that isn't connected yet. Install and connect the app first, then prompt.

Trusting the Liquid output

Email and Slack actions often use variables like the customer's first name. If a field renders blank in the test run, your store's data doesn't match what Sidekick assumed. Swap the variable in the editor and test again.

Skipping the test because the draft looks right

It's tempting. Don't. A wrong operator looks fine on screen and only shows up once real orders hit it.

Tips to get better results

Start from the jobs Sidekick handles best: tagging, notifications, inventory alerts and scheduled reports. Complex branching logic with several if-else paths seems to need the most manual cleanup, so I'd build the basic version first and add branches one follow-up at a time.

Use the names Flow uses. Writing "order created", "order paid" or "inventory quantity changed" instead of "new sale" or "stock moves" gives Sidekick less to interpret.

For scheduled jobs, give the day, the time and what the list should contain:

Every Monday at 9am, email me a list of all products with fewer than 20 units in stock.

Keep a short file of prompts that worked for your store. If you've written good prompts for chatbots before, the same habits apply, and our guide to writing better prompts for ChatGPT, Claude and Gemini covers them in more depth.

Next steps

Once one workflow is live, try a template from Flow's library and ask Sidekick to adjust it to your store; editing a working draft tends to be quicker than writing a new one. If you're weighing Flow against other automation tools, our explainer on AI agent workflow automation and our piece on automation vs AI lay out where rule-based workflows end and AI agents begin. For the wider picture of AI in online stores, see generative AI in ecommerce.

My view: treat Sidekick as a fast first draft, not a finished workflow. The test run is the step that makes it safe.

FAQ

Is the Shopify Flow AI assistant free?

Yes. Flow is a free app on the Basic, Grow, Advanced and Plus plans, and Sidekick comes included with Shopify at no extra cost. Some actions inside Flow, like Send HTTP Request, are limited by plan.

Does Sidekick turn workflows on by itself?

No. Sidekick drafts the workflow and opens it in the Flow editor. Nothing runs until you click Activate, so you always get a chance to review and test it first.

Can I use the Flow AI assistant on my phone?

Not for building workflows. You can chat with Sidekick in the Shopify mobile app, but Shopify lists workflow creation as desktop only.

What can't Sidekick build in Flow?

It struggles most with advanced Liquid, custom code and deep multi-branch logic. Shopify says those workflows may need manual editing, so expect to finish them in the editor yourself.

Where can I find more Shopify Flow help?

Shopify's guide to creating workflows explains triggers, conditions, actions and connectors, and the Sidekick help section covers what else the assistant can do across your admin.

Keep reading