shopify
List Orders
Query for orders matching refund criteria such as cancelled or returned status.
The scenario uses specific integration tools at each step, while Metorial keeps access scoped and visible.
Query Shopify for orders with cancelled, returned, or refund-requested status that require processing.
Fetch complete order information including the customer's phone number, order total, and item details.
Apply the appropriate lifecycle action to the order such as cancel or close to reflect the refund outcome.
Check the customer's phone number format and line type before sending an SMS to reduce failed deliveries.
Dispatch an SMS to the customer confirming the refund amount, timeline, and order reference number.
shopify
Query for orders matching refund criteria such as cancelled or returned status.
shopify
Retrieve full order details including customer phone and financial status.
shopify
Update the order status to reflect the cancellation or refund action.
twilio
Validate the customer's phone number before sending an SMS notification.
twilio
Send an SMS notification to the customer confirming the refund or cancellation.
shopify
Retrieve store currency and contact details to include in customer communications.
Integration
Manage e-commerce stores including products, orders, customers, inventory, and fulfillment. Create and update products with variants, images, and metafields. Process and track orders, draft orders, refunds, and transactions. Manage customer records, addresses, and marketing consent. Track and adjust inventory levels across multiple locations. Handle fulfillment workflows including routing to warehouses and third-party logistics. Create and manage discount codes, price rules, and automatic discounts. Configure shipping rates, carrier services, and delivery profiles. Build custom storefronts with cart management and checkout via the Storefront API. Manage content including pages, blogs, articles, and themes. Support B2B commerce with company profiles, catalogs, and custom pricing. Receive webhooks for events across orders, products, customers, inventory, fulfillment, collections, carts, checkouts, disputes, and more.
Integration
Send and receive SMS, MMS, WhatsApp, and RCS messages. Make, receive, and monitor phone calls with programmable call control. Verify user identities via OTP, TOTP, and silent network authentication. Look up phone number intelligence including carrier, line type, caller name, and SIM swap detection. Manage multi-channel conversations across chat, SMS, and WhatsApp. Search for and purchase phone numbers, configure voice and messaging endpoints, schedule messages for future delivery, and inspect call recording metadata.
Outcome 1
Metorial keeps the workflow connected, governed, and traceable across the systems involved.
Outcome 2
Metorial keeps the workflow connected, governed, and traceable across the systems involved.
Outcome 3
Metorial keeps the workflow connected, governed, and traceable across the systems involved.
Outcome 4
Metorial keeps the workflow connected, governed, and traceable across the systems involved.
Metorial is the governed connection layer between your AI agents and the tools your company runs on. It turns workflows like automate shopify refund order management and customer notifications via twilio into something you can deploy quickly, safely, and at scale.
Fast
Connect 1000+ verified integrations through one Magic MCP URL instead of building and maintaining bespoke connectors for each system in this workflow.
Secure
Protoguard inspects every message and tool call for prompt injection and policy violations before an agent touches your systems.
Enterprise
Agents act on real identity under company SSO, with per-user and per-group access policies and a complete, searchable record of everything that happens.
Team ready
Package this workflow as a skill, attach the tools it needs, and let teammates run it through Portals — governed by admins, owned by the people who do the work.
The Metorial products that connect, govern, and observe this scenario.
Connectivity
Start from 1000+ verified integrations or bring your own, and give every one a governed path to your agents under existing SSO and access policies.
Connectivity
A single URL your AI client connects to. Sign in with the login you already use and your agent reaches every integration and tool you allow — no per-app setup.
Identity
Sign in with company SSO, set policies per user and group, and let agents act on real identity across every connected system in this workflow.
Governance
Metorial’s security layer reviews every message and tool request before an agent acts — catching prompt injection and blocking anything outside your policies.
Observability
A complete, searchable record of everything your agents, team, and machines do across these integrations, so you can trust the workflow in production.
Governance
Let teammates connect agents to the integrations and skills your company already uses, with admins deciding who gets access to what.
However you adopt AI, Metorial has a path for connecting it safely.
Solution
Give the agents behind this scenario governed access to every tool and integration they need, with one connection layer instead of bespoke glue code.
Solution
SSO, granular access control, security review, and full audit trails so this workflow meets enterprise governance and compliance requirements.
Solution
Let the people who do this work connect their own AI agents to approved integrations and reusable skills — safely, without waiting on engineering.