FM
FlowMarket
AI Agents Intermediate ⚑ 13 n8n Nodes

Shopify VIP alerts AI summary Slack notification for big orde

🧨 VIP Radar: Instantly Spot & Summarize High-Value Shopify Orders with AI + Slack Alerts Automatically detect when a new Shopify order exceeds $200, fetch t...

πŸ”Œ Nodes & Integrations Used (5)

Shopify Trigger HTTP Request Agent Slack Lm Chat Open Ai

πŸ“– Implementation & Setup Guide

🧨 VIP Radar: Instantly Spot & Summarize High-Value Shopify Orders with AI + Slack Alerts

Automatically detect when a new Shopify order exceeds $200, fetch the customer’s purchase history, generate an AI-powered summary, and alert your team in Slackβ€”so no VIP goes unnoticed.

---

πŸ› οΈ Workflow Overview

| Feature | Description | |------------------------|-----------------------------------------------------------------------------| | **Trigger** | Shopify β€œNew Order” webhook | | **Conditional Check** | Filters for orders > $200 | | **Data Enrichment** | Pulls full order history for the customer from Shopify | | **AI Summary** | Uses OpenAI to summarize buying behavior | | **Notification** | Sends detailed alert to Slack with name, order total, and customer insights | | **Fallback** | Ignores low-value orders and terminates flow |

---

πŸ“˜ What This Workflow Does

This automation monitors your Shopify store and reacts to any **high-value order** (over $200). When triggered:

  1. It fetches all **past orders** of that customer,
  2. Summarizes the history using **OpenAI**,
  3. Sends a full alert with context to your **Slack** channel.

No more guessing who’s worth a closer look. Your team gets instant insights, and your VIPs get the attention they deserve.

---

🧩 Node-by-Node Breakdown

πŸ”” 1. Trigger: New Shopify Order - **Type**: `Shopify Trigger` - **Event**: `orders/create` - **Purpose**: Starts workflow on new order - **Pulls**: Order total, customer ID, name, etc.

πŸ”£ 2. Set: Convert Order Total to Number - Ensures the `total_price` is treated as a number for comparison.

❓ 3. If: Is Order > $200? - **Condition**: `$json.total_price > 200` - **Yes** β†’ Continue - **No** β†’ End workflow

πŸ”— 4. HTTP: Fetch Customer Order History - Uses the **Shopify Admin API** to retrieve all orders from this customer. - Requires your **Shopify access token**.

🧾 5. Set: Convert Orders Array to String - Formats the order data so it's prompt-friendly for OpenAI.

🧠 6. LangChain Agent: Summarize Order History - **Prompt**: `"Summarize the customer's order history for Slack. Here is their order data: {{ $json.orders }}"` - **Model**: GPT-4o Mini (customizable)

πŸ“¨ 7. Slack: Send VIP Alert - Sends a rich message to a **Slack channel**. - Includes: - Customer name - Order value - Summary of past behavior

🧱 8. No-Op (Optional) - Used to safely end workflow if the order is not high-value.

---

πŸ”§ How to Customize

| What | How | |--------------------------|----------------------------------------------------------------------| | Order threshold | Change `200` in the `If` node | | Slack channel | Update `channelId` in the Slack node | | AI prompt style | Edit text in LangChain Agent node | | Shopify auth token | Replace `shpat_abc123xyz...` with your actual private token |

---

πŸš€ Setup Instructions

  1. Open **n8n editor**.
  2. Go to **Workflows β†’ Import β†’ Paste JSON**.
  3. Paste this workflow JSON.
  4. Replace your **Shopify token** and **Slack credentials**.
  5. Save and activate.
  6. Place a test order in Shopify to watch it work.

---

πŸ’‘ Real-World Use Cases

  • 🎯 Notify sales team when a potential VIP buys
  • πŸ›ŽοΈ Prep support reps with customer history
  • πŸ“ˆ Detect repeat buyers and upsell opportunities

---

πŸ”— Resources & Support

  • πŸ‘¨β€πŸ’» Creator: [Yaron Been](https://www.linkedin.com/in/yaronbeen/)
  • πŸ“Ί YouTube: [NoFluff with Yaron Been](https://www.youtube.com/@YaronBeen/videos)
  • 🌐 Website: [https://nofluff.online](https://nofluff.online)
  • πŸ“© Contact: `Yaron@nofluff.online`

---

🏷️ Tags

`#shopify`, `#openai`, `#slack`, `#vip-customers`, `#automation`, `#n8n`, `#workflow`, `#ecommerce`, `#customer-insights`, `#ai-summaries`, `#gpt4o`

---

⚑ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Shopify_VIP_alerts_AI_summary_Slack_notification_for_big_orde.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents β†’