Back to portfolioSHOPIFY / WORKFLOW ENGINEERING

Automations with
purpose.

Three automation patterns from professional Shopify Flow work, described in general terms. They describe approaches, not any business's live workflows, settings, or rules.

01 / SCHEDULED AUTOMATION

Automated operations reporting

Challenge

Operational teams need consistent order summaries without manually exporting orders each day.

Solution

Trigger: Scheduled time
Logic: Fetch orders within a relative date window and filter out cancelled orders.
Action: Format a report using Liquid and send an email summary.

Architecture overview

  1. 01Scheduled run
  2. 02Fetch orders for reporting window
  3. 03Exclude cancelled orders
  4. 04Render Liquid report
  5. 05Send operational email
Shopify FlowOrder queryLiquidEmail

Engineering note: Design points: keep the reporting window explicit, check whether a run reached the query limit so a busy day is not silently cut short, and leave customer personal data out of internal emails.

02 / CUSTOMER RETENTION

Tiered loyalty reward fulfilment

Challenge

Different membership groups need tailored rewards applied consistently after payment.

Solution

Trigger: Order paid
Logic: Evaluate membership and order-related conditions across separate tier workflows.
Action: Add tier-specific gift line items to qualifying orders at no charge.

Architecture overview

  1. 01Order paid
  2. 02Evaluate membership tier
  3. 03Check qualifying conditions
  4. 04Select tier-specific reward
  5. 05Add free gift line item
Shopify FlowOrder paidConditionsOrder line items

Engineering note: Design points: when several tier workflows can match the same order, guard against adding a reward twice, and keep tier rules from overlapping so each order qualifies for one reward.

03 / PROMOTIONAL OPERATIONS

Gift-with-purchase order automation

Challenge

Promotional gift rules can become error-prone when order thresholds and multiple reward levels are handled manually.

Solution

Trigger: Order created
Logic: Evaluate order conditions and threshold branches while checking processing state.
Action: Add eligible free gift items and tag processed orders.

Architecture overview

  1. 01Order created
  2. 02Check eligibility
  3. 03Evaluate reward branch
  4. 04Add gift line item
  5. 05Apply processing tag
Shopify FlowOrder createdConditionsFree line itemsOrder tags

Engineering note: Design points: tag orders once processed so retries and order edits do not add a second gift, and keep thresholds in one place instead of repeating them across workflow branches.