Workflows

Last updated on 10 April 2026

Automate repetitive operations — when something happens in your store, OpsPilot can create tasks, send emails, post to Slack, and more.

The Automation Engine.
Build powerful, logic-based workflows that run your store 24/7.
Create new workflow — Event-based or Scheduled
Create Workflow

Choose Event-based (fires on store events) or Scheduled (runs on a timer).

Workflows list with stats — Total, Active, Success rate, Recent runs
Monitor & Manage

Track total workflows, active count, success rate, and recent execution history.

Workflow detail page — operational summary, trigger, conditions, actions
Workflow Detail

View the operational summary, run tests, check history, and pause or edit anytime.

What Are Workflows?

Workflows let you automate repetitive operations. When something happens (a new order, low inventory, abandoned checkout), OpsPilot can automatically create tasks, send emails, post to Slack, log to Google Sheets — or any combination.

Example: "When a new order over $500 is placed, create a task for the fulfillment team and send a Slack alert."

Creating a Workflow

Click Workflows in the sidebar
Click New WorkflowNew Workflow wizard
Create new workflow dialog — Event-based card and Scheduled card
Choose Workflow Type

Upper card: Event-based (fires instantly on store events). Lower card: Scheduled (runs on a fixed time schedule). Blue "Create custom workflow" button at bottom-right.

Create custom workflow — template cards with Back/Close/Create buttons
Name Your Workflow

Partial view of template cards from "Choose a starting point." Click "Create custom workflow" (blue button, bottom-right) to build from scratch.

Give it a name (e.g., "High-Value Order Alert")
Choose a triggerTrigger selector — the event that starts the workflow
Trigger event dropdown — Order created, Order updated, Checkout abandoned, etc.
Select Trigger Event

Top: Workflow name field. Center: Open dropdown listing all trigger events (Order created, Order updated, Checkout abandoned, etc.). Bottom-right: Save button.

Trigger summary — workflow name, trigger type, Active badge, deduplication toggle
Trigger Summary

Shows workflow name, selected trigger (e.g. Order updated), green "Active" badge, and "Update once per entity" deduplication toggle.

Add conditionsCondition selector (optional) — filters to narrow when it runs
Edit condition — predefined field dropdown (Order total, Currency, Tags, Custom path)
Predefined Condition

"Edit condition" dialog with field dropdown: Order total price, Currency, Tags, Email, Financial status, or Custom path.

Custom condition — Field: Custom path, Operator: Equals, Value input
Custom Condition

Field set to "Custom path" with a JSON path input (e.g. order.total_price), Operator dropdown (Equals, Greater Than, Contains...), and Value field.

If step — condition match Any/All, condition rows, Add condition button
"If" Step Overview

Step 2 "If" header with Condition match (Any/All), condition rows with Remove button, and "Add condition" button at bottom.

Add actionsAction type selector — what should happen when the trigger fires
Action type dropdown — Create task, Create note, Send email, Send Slack, Add to Google Sheet
Choose Action Type

Dropdown open showing: Create task, Create note, Send email, Send Slack message, Add to Google Sheet. Below: task title, description, priority, status, assignee, due date.

Then step — Immediate actions (1) and Delayed actions (0) sections
"Then" Step — Action Groups

Step 3 "Then" header: "Run these actions in order." Immediate actions section (with drag-to-reorder) and Delayed actions section below. Action type buttons at bottom.

Action list with integration setup warnings, drag handle, Remove button
Action List & Warnings

Orange banners warn that Slack and Google Sheets require setup in Settings. Each action has a drag handle and Remove button. Save button at bottom-right.

Email content editor — Subject, Body rich text, Apply template, Preview
Compose Email Content

Subject field (supports {{variables}}), Body rich text editor with formatting toolbar, "Apply template" and "View variables" links, and a preview with sample values.

Send email action — recipient selector (Customer/Staff/Admin/Custom), delay toggle, Cancel/Save
Email Recipient & Delay

"Action type" set to Send email. "Send to" dropdown: Customer (from trigger), Staff, Admin, or Custom. "Delay this action" checkbox enabled with delay set to 1 Hour. Cancel and Save buttons.

Click Save, then toggle the workflow ActiveWorkflow list

Triggers

A trigger is the event that starts your workflow. You can choose one trigger per workflow.

Event-Based Triggers

These fire instantly when something happens in your Shopify store:

TriggerFires When…Example Use
Order CreatedA new order is placedAlert team for high-value orders
Order UpdatedAn order changesTrack payment or fulfillment changes
Checkout AbandonedCustomer leaves checkoutSend recovery reminder
Inventory Level UpdatedStock quantity changesAlert when running low
Customer CreatedNew customer accountWelcome email, VIP tagging
Product UpdatedA product is modifiedReview task for quality control
Manual TriggerYou click "Run Now"On-demand escalations

Scheduled Trigger

Run workflows on a set schedule (daily, weekly, monthly, or custom interval). Perfect for batch operations like daily unfulfilled orders checks.

Conditions (Optional)

Conditions let you filter when the workflow runs. Without conditions, the workflow triggers on every matching event.

Operators

OperatorMeaningExample
EqualsExact matchfinancial_status equals "pending"
Not EqualDoes not matchfulfillment_status not equal "fulfilled"
Greater ThanNumeric comparisontotal_price greater than 500
Less ThanNumeric comparisonavailable less than 10
ContainsText includes valuetags contains "vip"
ExistsField is presentemail exists

AND / OR Groups

Combine conditions with AND (all must be true) or OR (at least one). You can nest groups for complex logic:

IF (order.total_price > 500 AND order.tags contains "wholesale")
   OR (order.total_price > 1000)
→ Run actions

Actions

Actions are what happens when the trigger fires and conditions are met. You can add multiple actions — they run in order.

Create Task

Automatically creates a task for your team. Set the title, description, priority, assignee, and due date offset.

Example: Title: Review high-value order #{{order_number}} — Priority: High — Assign To: John — Due: 2 days

Create Note

Automatically creates an internal note. Set the title, content, entity type, and whether to pin it.

Send Email

Send an email to a customer, team member, or custom address. Supports HTML and template variables.

Requires email integrationEmail action to be configured. Not available on the Free plan.

Send Slack Message

Posts a message to your Slack channel. Supports Slack markdown and template variables.

Requires Slack integration to be configured. Not available on the Free plan.

Add to Google Sheet

Appends a row to a Google Sheets spreadsheet. Great for reports, audit trails, and dashboards. Supports deduplication and custom styling.

Template Variables

Template variables let you insert dynamic data from the trigger into your actions. Wrap them in double curly braces: {{variable_name}}. See the complete Template Variables reference for every variable organized by trigger type, availability matrix, and usage tips.

VariableValueAvailable For
{{order_number}}Order number (e.g., #1234)Order triggers
{{customer_name}}Customer full nameCustomer / Order triggers
{{product_title}}Product nameProduct triggers
{{store_name}}Your store nameAll triggers

→ View all 60+ template variables

When editing an action, click the {} Variables button to see all available variables for your trigger type.

Delayed Actions

Add a delay to any action so it runs later instead of immediately. Enable Delay in the action settings and set the duration.

DelayUse Case
30 minutesSend a follow-up email after order confirmation
2 hoursRemind fulfillment team if order still pending
1 dayCheck if abandoned checkout was recovered
Delay this action checkbox — delay value input and Hours unit dropdown
Delay Configuration

"Delay this action" checkbox (checked). Numeric input set to 1, "Hours" unit dropdown (also Minutes, Days). Example hint: "send reminder after 4 hours."

Deduplication (Smart Repeat Prevention)

OpsPilot automatically prevents duplicates:

Scheduled Workflows

Scheduled workflows run on a repeating timer instead of reacting to store events. They are ideal for batch operations: checking unfulfilled orders every morning, sending a weekly summary note, or reviewing low inventory on a set schedule.

Setting Up a Scheduled Workflow

Click New Workflow and choose Scheduled
Give it a name (e.g., "Daily Unfulfilled Orders Check")
Choose a Data Source: Orders, Products, Customers, or None (for reminders with no entity)
Optionally add Conditions to filter which records are processed (e.g., only unfulfilled orders)
Set the Frequency (see table below) and the Timezone (configured in Settings → Timezone)
Add Actions — Create Task, Send Email, Slack message, etc.
Click Save & Activate

Frequency Options

FrequencyConfigurationExample Use
HourlyRuns every hourCheck for new abandoned checkouts every hour
DailyPick a time (or multiple)9 AM daily unfulfilled orders review
WeeklyPick a day and timeMonday 8 AM weekly summary note
MonthlyPick a day of month and time1st of month inventory restock check
Custom IntervalEvery X hours/days/weeksEvery 4 hours, every 2 days
Aggregate execution: When a scheduled workflow has a data source (e.g., Orders), it processes each matching record and creates one task/note per entity. The timezone used for "daily", "weekly", and "monthly" schedules is set in Settings → Timezone.

Scheduled vs. Event-Based

Event-BasedScheduled
Fires whenInstantly on a store eventOn a fixed timer
Best forReal-time reactionsBatch checks & digests
Data sourceThe event payload (one record)Queried at run time (many records)
ConditionsFilter the event payloadFilter the queried records

Workflow Templates

OpsPilot includes 40+ pre-built templatesTemplate gallery

to get you started quickly. Browse the template gallery when creating a new workflow.

Template list — From template header, All filter, template cards with Use template buttons
Template Gallery

"From template" header with "All" category filter. Scrollable list: VIP Order Alert, Priority Order, Payment Pending, Refunded Order Follow-Up. Each card has a "Use template" button.

Add predefined workflows — search, filters, 3 selected, Add 3 workflow(s) button
Bulk Add Templates

Search by name, filter by Run type/Category/Priority. Check multiple templates (3 selected), then click green "Add 3 workflow(s)" button to create them all at once.

Template Catalog

All templates are fully customizable after adding them. Click Use template to load a template, then edit it as needed.

Order Management

TemplateTriggerWhat It Does
VIP Order AlertOrder CreatedCreates a high-priority task and Slack alert for orders above a set value
Priority OrderOrder CreatedCreates an urgent task when an order is tagged at creation
Priority Tag AddedOrder UpdatedFires when a priority tag is added to an existing order
Payment Pending ReviewOrder CreatedCreates a task to review orders with pending payment status
Refunded Order Follow-UpOrder UpdatedCreates a follow-up task and sends a customer email on refund
Order Fulfillment ReminderOrder CreatedSets a delayed task reminder if order is still unfulfilled after X hours
Unfulfilled Orders MonitorScheduled (Daily)Daily digest task listing all open unfulfilled orders
Unpaid COD ConfirmationScheduled (Daily)Monitors cash-on-delivery orders waiting for payment confirmation

Customer Management

TemplateTriggerWhat It Does
New Customer WelcomeCustomer CreatedSends a welcome email to new customers
High-Value Customer AlertCustomer CreatedCreates a VIP task and Slack alert for high-lifetime-value customers
New Customer TaskCustomer CreatedCreates an onboarding task for every new customer account
Customer Tag VIP NoteCustomer CreatedAuto-creates a pinned note when a customer is tagged as VIP
New Customers Daily DigestScheduled (Daily)Sends a daily note summarizing new customer signups

Product & Inventory

TemplateTriggerWhat It Does
Product Update ReviewProduct UpdatedCreates a QA review task whenever a product is modified
Product Draft ReviewProduct UpdatedTask created when a product is moved to Draft status
Weekly Product ReviewScheduled (Weekly)Weekly note summarizing products changed in the past 7 days
Inventory Critical RestockInventory UpdatedUrgent task + Slack alert when stock drops to a critical level
Low Stock NotificationInventory UpdatedEmail alert when a product falls below a low-stock threshold
Low Inventory MonitorScheduled (Daily)Daily digest of all products currently below par level

Checkout & Recovery

TemplateTriggerWhat It Does
Abandoned Checkout RecoveryCheckout AbandonedSends a recovery email after a configurable delay
High-Value Checkout EscalationCheckout AbandonedCreates a high-priority task for abandoned checkouts above a set value

Scheduled Reports & Reminders

TemplateScheduleWhat It Does
Daily Review TaskDailyCreates a daily review task at a set time each morning
Weekly Summary NoteWeeklyAuto-creates a note summarizing the week's activity
Inbox Cleanup ReminderWeeklyReminds team to review and close stale tasks
Recent Orders DigestScheduledLogs recent orders to a Google Sheet for reporting
Recent Customers ReviewScheduledLogs new customer data to a Google Sheet

Manual Workflows

TemplateTriggerWhat It Does
Manual EscalationManual TriggerOn-demand urgent task creation + Slack notification
Manual Quick TaskManual TriggerQuickly create a standard task with pre-filled fields

Workflow Management Screens

Workflow list — stat cards, filter dropdowns, workflow table, recent runs
Workflows List

Four stat cards (Total, Active, Success rate, Recent runs). Type/Trigger/Action filter dropdowns. Workflow table with Name, Status, Actions columns. Recent execution log at bottom.

Workflow detail — operational summary, When trigger, If conditions, Then actions
Workflow Detail Page

Operational summary (Active badge, last run, next execution). Frequency, Conditions, Actions counts. "Run now", "Pause", "View run history" buttons. When/If/Then flow cards below.

Testing a Workflow

You can test without waiting for a real event: open the workflow and click Test WorkflowTest Workflow

. Pick a real order, product, or customer as test data.

Test runs count toward your monthly quota.