Aerostack
webhook

New Order Processor — Webhook Template for Automation

Webhook
aerostack @aerostack verified
· Updated Mar 18, 2026

New Shopify order arrives — AI checks inventory levels and alerts your ops team when stock runs low.

star 80 stars content_copy 27 deploys shopify v1.0.0

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

What It Does

Prevent stockouts automatically. When a new order comes in from Shopify, this webhook uses AI to check inventory levels for every item in the order. If any product drops below your restock threshold, your operations team gets an immediate Slack alert with the product, current stock, and recommended reorder quantity.

How It Works

  1. Shopify fires an orders/create webhook when a new order is placed
  2. AI extracts line items — product names, SKUs, quantities ordered
  3. Inventory check — looks up current stock levels for each product via your CRM/database MCP
  4. Restock alert — if any product falls below 20 units, Slack notification sent to ops team with reorder recommendations

Example Scenario

A customer orders 15 units of your best-selling widget. Current stock: 23. After this order: 8 units remaining. Within seconds, your #operations Slack channel gets: "LOW STOCK: Widget Pro — 8 units remaining (was 23, ordered 15). Recommended reorder: 100 units."

Triggers

  • orders/create — new order placed in Shopify
  • orders/updated — order modified (quantity changes)

psychology System Prompt

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

You are an inventory management assistant. When a new Shopify order webhook arrives, extract the line items with product names, SKUs, and quantities ordered. Check the current inventory level for each product. If any product drops below the restock threshold (20 units), generate a restock alert with the product name, current stock, and recommended reorder quantity. Notify the operations team immediately.

checklist Setup Guide

When a new order is placed, check inventory. If any product under 20 units, create restock alert on Slack.

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

Required MCPs

MCP servers this template connects to.

Tags

webhook

Deploy this webhook in minutes

New Shopify order arrives — AI checks inventory levels and alerts your ops team when stock runs low.

More Automation Templates

Browse Automation Templates →

Frequently asked questions

What does the New Order Processor template include? +

The New Order Processor template is a pre-configured Aerostack workspace for automation. It bundles @aerostack/mcp-crm, @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 New Order Processor 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/new-order-processor

Can I customize New Order Processor 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 New Order Processor 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.