Aerostack
robot_2

WhatsApp Order Assistant — AI Bot Template for Support

Bot
aerostack @aerostack verified
· Updated Mar 18, 2026

WhatsApp order assistant. Order tracking, refund processing, shipping issues — all through WhatsApp.

star 95 stars content_copy 38 deploys whatsapp v1.0.0

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

  1. Go to Meta Business Suite
  2. Create or select your Business account
  3. Navigate to WhatsApp > Getting Started
  4. Note your Phone Number ID and Access Token
Step 2: Stripe
  1. Go to Stripe Dashboard
  2. Copy your Secret Key (starts with sk_)
Step 3: SendGrid
  1. Go to SendGrid
  2. Create an API key with Mail Send permission
Step 4: Connect
  1. Add all secrets to your MCP workspace
  2. Set the webhook URL in Meta Business Suite > WhatsApp > Configuration
  3. Test by sending "Where is my order?" to your WhatsApp number

Metadata

upgrade Version 1.0.0
description Type Bot
category Category Support
code Platform whatsapp

What's Included

check_circle 6 API keys needed
check_circle System Prompt
check_circle Setup Guide

Tags

No tags added yet.
robot_2

Deploy this bot in minutes

WhatsApp order assistant. Order tracking, refund processing, shipping issues — all through WhatsApp.

More Support Templates

Browse Support Templates →

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.