WhatsApp Order Assistant — AI Bot Template for Support
BotWhatsApp order assistant. Order tracking, refund processing, shipping issues — all through WhatsApp.
Template WhatsApp Order Assistant bundles a ready-to-deploy workspace for support workflows.
Install in one click from the Aerostack dashboard or via aerostack init --template=whatsapp-order-assistant.
What It Does
Customer support on the channel your customers actually use. Handles order status inquiries, payment verification, refund processing, and shipping problems — all through WhatsApp. Connects to Stripe for payments, your database for orders, and SendGrid for confirmation emails.
What's Built In
- Order tracking — customers ask "where's my order?" and get tracking number, carrier, and delivery estimate
- Payment verification — confirms payment status and sends retry links for failed payments
- Refund processing — checks return window, processes refunds via Stripe, sends confirmation email
- Shipping issues — handles late deliveries, wrong items, and damaged goods with appropriate escalation
- Identity verification — verifies customer email/order number before accessing any account data
Best For
- E-commerce businesses with customers who prefer WhatsApp over email for support
- D2C brands in markets where WhatsApp is the dominant communication channel (India, Brazil, SEA)
- Shopify stores that want to reduce support response time from hours to seconds
psychology System Prompt
The instructions that define how this bot behaves. It ships pre-configured — edit it anytime in your workspace.
You are an e-commerce order assistant on WhatsApp. ## RULES YOU MUST FOLLOW ### 1. Greeting & Identification - When a customer messages, greet them warmly - Ask for their order number or email to look up their order - Use Stripe to verify the payment and Supabase/Shopify for order details ### 2. Order Status Inquiries - Look up the order in the database - If shipped: provide tracking number, carrier, and estimated delivery date - If processing: say "Your order is being prepared. Expected to ship within 1-2 business days" - If cancelled: check if refund was issued, share refund status and timeline ### 3. Payment Issues - If their card was declined: generate a Stripe payment retry link - Send the retry link directly in the WhatsApp message - Say: "I've sent you a secure payment link. Once completed, we'll process your order right away" - Follow up if payment succeeds: confirm order reactivation ### 4. Refund Requests - Check if order is within 30-day return window - For refunds under $100: process immediately via Stripe, confirm amount and timeline (5-10 business days) - For refunds over $100: say "I need to escalate this to our team. You'll hear back within 24 hours" - Send confirmation email via SendGrid after processing ### 5. Shipping Problems - Late delivery: check tracking, provide updated ETA - Wrong item: apologize, create return label, ship correct item - Damaged item: ask for photo, process replacement immediately ### 6. Escalation - After 2 failed resolution attempts: offer to connect with human agent - Legal, compliance, or account deletion: escalate immediately - Always create a support ticket before escalating ### 7. WhatsApp-Specific Rules - Keep messages concise — WhatsApp users expect quick replies - Use line breaks for readability, not long paragraphs - Include relevant emojis sparingly for warmth - Never send more than 3 messages in a row without waiting for response
checklist Setup Guide
Setup Guide — WhatsApp Order Assistant
Step 1: WhatsApp Business API
- Go to Meta Business Suite
- Create or select your Business account
- Navigate to WhatsApp > Getting Started
- Note your Phone Number ID and Access Token
Step 2: Stripe
- Go to Stripe Dashboard
- Copy your Secret Key (starts with
sk_)
Step 3: SendGrid
- Go to SendGrid
- Create an API key with Mail Send permission
Step 4: Connect
- Add all secrets to your MCP workspace
- Set the webhook URL in Meta Business Suite > WhatsApp > Configuration
- Test by sending "Where is my order?" to your WhatsApp number
Metadata
What's Included
Required MCPs
MCP servers this template connects to.
Tags
Deploy this bot in minutes
WhatsApp order assistant. Order tracking, refund processing, shipping issues — all through WhatsApp.
More Support Templates
Browse Support Templates →E-Commerce Support
by @aerostack
AI customer support for e-commerce. Orders, refunds, shipping, product questions — with identity verification.
Slack Support Escalation
by @aerostack
Slack support escalation bot. Zendesk tickets → AI triage → knowledge base self-service → smart Slack routing.
SaaS Product Support
by @aerostack
SaaS product support bot. Subscriptions, billing, feature requests, and technical troubleshooting.
WhatsApp Payment Recovery
by @aerostack
WhatsApp payment recovery bot. Failed Stripe payment → WhatsApp outreach with retry link → CRM escalation.
WhatsApp Healthcare Clinic
by @aerostack
WhatsApp healthcare clinic bot. Appointments, prescription reminders, follow-ups, and patient communication.
WhatsApp Insurance Claims
by @aerostack
WhatsApp insurance claims bot. Claim filing, status checks, document collection, and agent escalation.
Frequently asked questions
What can the WhatsApp Order Assistant bot do for a customer in a single conversation? +
Track an order, initiate a Stripe refund, escalate a shipping dispute, and send a confirmation email — all without leaving WhatsApp.
Which MCPs power the WhatsApp Order Assistant template? +
@aerostack/mcp-whatsapp handles messaging, @aerostack/mcp-stripe manages payments and refunds, @aerostack/mcp-sendgrid sends transactional emails, and @aerostack/mcp-supabase holds customer records.
How do I add new order-status sources to the WhatsApp Order Assistant after install? +
Connect an additional logistics MCP or webhook endpoint in the workspace, then update the agent's tool-call sequence to include the new tracking source. No bot redeployment needed.
Who is the WhatsApp Order Assistant built for and what are the prerequisites? +
Designed for D2C and e-commerce brands with a WhatsApp Business account. Requires Stripe and Supabase credentials plus a verified WhatsApp sender configured in @aerostack/mcp-whatsapp.