Tutorial: build an order-status bot (Shopify or WooCommerce)
LearnTutorialsIntermediateTutorial
🎯 Goal
Customers type “track” or tap Order status and get their order’s status and tracking link in seconds, 24/7.
🧰 What you need
- A Shopify or WooCommerce store
- The store connected in Integrations (Shopify / WooCommerce)
Step 1: give MeAPI read access to orders
Section titled “Step 1: give MeAPI read access to orders”- Shopify: create a custom app with
read_orders(+read_fulfillments), and paste the Shop domain and Admin API access token into the Shopify card’s Store API access. - WooCommerce: create a REST API key with Read permission, and paste the Store URL, Consumer key and Consumer secret.
Step 2: create the flow
Section titled “Step 2: create the flow”- Automation → New chatbot, name Order status.
- Click the Trigger card → Match keyword:
track, order status, where is my order, mera order, Match: Contains.
Step 3: ask for the order number
Section titled “Step 3: ask for the order number”Click + beside the trigger and pick Ask question in Bot actions:
- Question:
Please send your order number (for example 1042) 📦 - Save the answer to:
order_id - Answer must be: Any text, retries 2, If invalid, say:
Please send just the order number.
Step 4: look it up
Section titled “Step 4: look it up”Click + beside answered and add Order status lookup: Store Shopify (or WooCommerce), Order number {{order_id}}.
- found → Send message:
Order #{{order_id}}: {{order_status}} ✅Items: {{order_items}}Track it here: {{order_tracking_url}}
- not found → Reply buttons:
We couldn't find order {{order_id}}.with buttons Try again (→ Go to step: Ask question) and Talk to us (→ Human handoff). - gave up (from Ask question) → Human handoff.
Step 5: test and publish
Section titled “Step 5: test and publish”Test → type track → 1042 (the simulator doesn’t call your store; it always takes found), then Check and Publish. Try it for real from your phone with a real order number.
SSharma Sweets✓
where is my order
Please send your order number (for example 1042) 📦
1042
Order #1042: fulfilled ✅
Items: 2× Kaju katli 500 g
Track it here: https://track.example/AB123
Message
The finished bot.
Common mistakes
Section titled “Common mistakes”- Customers typing
#1042. If your store needs the plain number, tell them in the question, or add a Save variable step that strips#. - An empty tracking URL before shipping. Add a Condition “
order_tracking_urlis empty” → “Your order is being packed; you’ll get the tracking link when it ships.”
What’s next
Section titled “What’s next”Was this page helpful?
Thank you — we read every comment.
Could not send right now. Please try again later.
© 2026 MeAPI by TheWebStore028 · RADHAMADHAV WEBSTORE LLP · GSTIN 27ABJFR6148J1ZO · Contact us ·Cookie settings