Automate Order Changes & Cancellations with Flyweight AI
Discover how your Shopify AI chatbot can automatically update shipping addresses and cancel orders using Shopify API or Flow.
Turn Your Shopify Chatbot into an AI Action Agent
Your Shopify chatbot already comes with powerful built-in tools:
- Order status tracking
- Collecting leads
- Routing customers
- Escalating to support
But now, Flyweight AI goes one step further.
🚀 New AI Capabilities
Your AI chatbot can now take direct action inside your shop:
- NEW: AI updates shipping addresses
- NEW: AI cancels orders
These are no longer just responses — they are real actions executed in Shopify.

Two Ways Your AI Can Take Action
Both new features are implemented as routings, and you can decide how they should behave:

1. Shopify API (Direct Action)
- AI performs the action instantly
- Best for fast and simple updates
- Requires order edit permissions
👉 Ideal for:
- Changing shipping addresses
- Quick cancellations
2. Shopify Flow (Automation Workflow)
- AI triggers a workflow instead of acting directly
- You can define additional logic and checks
- No direct edit permissions required
👉 Ideal for:
- Controlled cancellations
- Complex workflows (refunds, tagging, fraud checks)
Updating Shipping Addresses with AI
Using Shopify API (Recommended)
This is the simplest and fastest setup.
How it works:
- Customer requests a change
- AI shows verification form (e.g. email + ZIP code)
- Order is validated
- Customer provides new address
- AI updates the order instantly

Important Requirement
To enable this, you must:
- Grant order edit permissions to the AI
- Access is limited to recent orders (e.g. last 60 days)

Can this work with Shopify Flow?
Not directly.
Shopify Flow cannot fully edit shipping addresses, but you can:
- Pause fulfillment
- Flag the order
- Trigger internal processes
👉 Use Flow if you want manual review or additional safeguards.
Canceling Orders with AI
Order cancellation is more flexible.
Works with BOTH:
Shopify API
- Immediate cancellation
- Fully handled by AI
Shopify Flow
- AI triggers workflow
- You can:
- Refund automatically
- Restock items
- Send notifications
- Add conditions

Example Flow Setup
Trigger: Order Cancel Routing Triggered
Action: Cancel Order
Optional steps:
- Refund payment
- Restock inventory
- Notify customer
Key Differences at a Glance
| Feature | Shopify API | Shopify Flow |
|---|---|---|
| Speed | Instant | Slight delay |
| Permissions | Required | Not required |
| Flexibility | Low | High |
| Address change | ✅ Yes | ❌ Not fully |
| Order cancel | ✅ Yes | ✅ Yes |
What Should You Choose?
👉 Use Shopify API if:
- You want maximum automation
- You trust the AI with direct actions
- You need instant updates (like address changes)
👉 Use Shopify Flow if:
- You want more control
- You need custom logic or approvals
- You avoid giving edit permissions
Best Practice for Your Shop
For most shops, the best setup is:
- ✅ Use API for address updates
- ✅ Use Flow for cancellations with logic
This gives you:
- Speed where needed
- Control where important
Final Thoughts
Your Shopify chatbot is no longer just a support tool — it's becoming a true AI agent.
With Flyweight AI, your shop can:
- Handle requests instantly
- Reduce manual work
- Improve customer experience
👉 The result: faster support, fewer errors, happier customers.
Need help setting this up? We’re here for you 🚀