Shopify New Order — Webhook Template for Automation
WebhookNew Shopify order — AI checks inventory, flags VIP orders over $500, and logs everything to your database.
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
- Shopify fires an
orders/createwebhook - Inventory check — AI queries current stock via Shopify MCP for every line item. Products under 10 units trigger restock alerts
- VIP detection — orders over $500 trigger a sales team notification on Slack with customer details
- 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 placedorders/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
What's Included
Required MCPs
MCP servers this template connects to.
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 →Social Publisher
by @aerostack
Auto-publish from Notion to social media. Poll approved posts, adapt per platform, and schedule via Ocoya.
Payment Failed Handler
by @aerostack
Stripe payment fails — AI alerts your billing team on Slack and creates a support ticket automatically.
PR Merged Notifier
by @aerostack
PR merges to main — AI checks if critical files changed and notifies your engineering team on Slack.
New Order Processor
by @aerostack
New Shopify order arrives — AI checks inventory levels and alerts your ops team when stock runs low.
Scheduled Data Sync
by @aerostack
Sync data between any two systems on a schedule. CRM to Sheets, API to database, Notion to Linear.
Blog Auto-Share
by @aerostack
New blog post published? AI crafts platform-specific social posts and shares them automatically.
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.