Aerostack
webhook

Shopify New Order — Webhook Template for Automation

Webhook
aerostack @aerostack verified
· Updated Mar 18, 2026

New Shopify order — AI checks inventory, flags VIP orders over $500, and logs everything to your database.

star 78 stars content_copy 26 deploys shopify v1.0.0

Template Shopify New Order bundles a ready-to-deploy workspace for automation workflows. Install in one click from the Aerostack dashboard or via aerostack init --template=shopify-new-order.

What It Does

Full-service Shopify order intelligence. When a new order arrives, the AI checks inventory for every line item, flags VIP orders over $500 for sales team attention, creates restock alerts for low-stock products, and logs everything to your database for analytics.

Three automations in one webhook — inventory, VIP alerts, and order logging.

How It Works

  1. Shopify fires an orders/create webhook
  2. Inventory check — AI queries current stock via Shopify MCP for every line item. Products under 10 units trigger restock alerts
  3. VIP detection — orders over $500 trigger a sales team notification on Slack with customer details
  4. Database logging — complete order data is written to Supabase for your analytics and reporting

Example Scenario

A new order: 3 items, $780 total. Item A has 7 units left after this order. The AI: (1) creates a restock alert for Item A, (2) notifies #sales "VIP order: $780 from john@company.com — 3 items, new customer", (3) logs the full order to your analytics database.

Triggers

  • orders/create — new order placed
  • orders/updated — existing order modified

psychology System Prompt

The instructions that define how this webhook behaves. It ships pre-configured — edit it anytime in your workspace.

You are an intelligent order processing agent. When a Shopify order arrives, analyze the full order: extract all line items, check inventory levels for each, identify VIP orders (over $500 total), and log the order to your database. For low-stock items (under 10 units remaining), create immediate restock alerts. For VIP orders, notify the sales team. Always log the complete order to the database for analytics.

checklist Setup Guide

When a Shopify order comes in: check inventory, create restock alert if under 10 units, notify VIP sales if order over 500 dollars, log to database.

Metadata

upgrade Version 1.0.0
description Type Webhook
category Category Automation
radio Trigger shopify

What's Included

check_circle System Prompt
check_circle Setup Guide

Tags

webhook

Deploy this webhook in minutes

New Shopify order — AI checks inventory, flags VIP orders over $500, and logs everything to your database.

More Automation Templates

Browse Automation Templates →

Frequently asked questions

What does the Shopify New Order template include? +

The Shopify New Order template is a pre-configured Aerostack workspace for automation. It bundles @aerostack/mcp-shopify, @aerostack/mcp-supabase, @aerostack/mcp-slack and any required workflows and edge functions. Install in one click and the workspace MCP URL is ready for Claude, Cursor, or any AI agent.

How do I install the Shopify New Order template? +

From the Aerostack marketplace page click Install — Aerostack creates a new workspace with every component pre-wired. You can also install via CLI: aerostack install template aerostack/shopify-new-order

Can I customize Shopify New Order after installing? +

Yes. Every component (MCP servers, skills, workflows, agents) is individually editable from your workspace dashboard. Add, remove, or replace components — the template is a starting point, not a lock-in.

Is the Shopify New Order template free to use? +

Templates are free to install. Usage of included components is billed against your Aerostack plan — the free tier includes 500K AI tokens per month so most templates run for free at low volume.