Skip to main content

Flag delayed Shopify orders with Slack, Google Sheets and Gmail

Workflow preview

Workflow preview
100%
Flag delayed Shopify orders with Slack, Google Sheets and Gmail preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow runs daily to check Shopify for open, unfulfilled orders older than two days, classifies them by delay severity, posts a digest to Slack, logs each delayed order to Goo...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.filter, n8n-nodes-base.set, n8n-nodes-base.aggregate, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.

Original n8n.io source

1.1 Workflow description

Title
Flag delayed Shopify orders with Slack, Google Sheets and Gmail
Workflow name
Flag delayed Shopify orders with Slack, Google Sheets and Gmail

Quick overview

This workflow runs daily to check Shopify for open, unfulfilled orders older than two days, classifies them by delay severity, posts a digest to Slack, logs each delayed order to Google Sheets, and emails an HTML summary report via Gmail.

How it works

  1. Runs every day at 08:00 (server time) on a schedule trigger.
  2. Calls the Shopify Admin REST API to fetch up to 250 open orders with fulfillment_status=unfulfilled.
  3. Calculates each order’s age in days and extracts key details (customer, totals, items, and Shopify Admin order link).
  4. Filters to only orders delayed by 2+ days and labels each one as WARNING (2–4 days), CRITICAL (5–7 days), or ESCALATION (8+ days).
  5. Checks whether any delayed orders exist and stops without notifying if the delayed list is empty.
  6. Builds a Slack message grouped by severity and posts the delay digest to the configured Slack channel.
  7. Appends each delayed order as a row in a Google Sheets tracker, then aggregates the list and sends an HTML summary email via Gmail to the operations manager.

Setup

  1. Add Shopify Admin API credentials (HTTP header auth) and replace YOUR_STORE in the Shopify API and admin order URLs with your store domain.
  2. Add Slack credentials and set the target channel ID in the Slack message step.
  3. Add Google Sheets credentials, set YOUR_GOOGLE_SHEET_ID, and ensure the worksheet named “Fulfillment Delay Tracker” exists with matching columns.
  4. Add Gmail credentials and set YOUR_OPS_MANAGER_EMAIL to the recipient address for the summary report.
  5. Adjust the cron schedule and the delay thresholds (2/5/8 days) in the filtering and severity rules if needed.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Overview Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Section Note 1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Section Note 2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Section Note 3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Daily Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 6 - Fetch Unfulfilled Shopify Orders

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 7 - Parse Orders & Calculate Age

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Filter Delayed Orders Only

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 9 - Classify Delay Severity

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Aggregate All Delayed Orders

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 11 - Any Delayed Orders Found

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 12 - Build Slack Digest Message

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Post Delay Digest to Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 14 - Split Orders for Logging

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 15 - Log Each Order to Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 16 - Re-Aggregate for Email

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 17 - Email Ops Manager Summary

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

3. Summary Table

Workflow Flag delayed Shopify orders with Slack, Google Sheets and Gmail
Complexity advanced
Nodes 17
Categories CRM
Author Avkash Kakdiya
Published 18 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16475/16475.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Flag delayed Shopify orders with Slack, Google Sheets and Gmail do?

Quick overview This workflow runs daily to check Shopify for open, unfulfilled orders older than two days, classifies them by delay severity, posts a digest to Slack, logs each delayed order to Goo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.