shopify
List Orders
Query Shopify for orders within a date range to identify purchasing patterns.
The scenario uses specific integration tools at each step, while Metorial keeps access scoped and visible.
Query Shopify for customers who placed orders in the past 30 days, capturing their email and order details.
Fetch complete customer records including lifetime order count and total spend for segmentation logic.
Search Mailchimp for the corresponding contact record using the customer's email address.
Tag Mailchimp contacts based on purchase behavior such as first-time buyer, repeat customer, high-value, or lapsed.
Write last order date and lifetime spend into Mailchimp merge fields for use in campaign personalization.
Update Mailchimp segments to include contacts with the relevant tags for upcoming targeted campaigns.
shopify
Query Shopify for orders within a date range to identify purchasing patterns.
shopify
Retrieve full customer details including order history summary.
mailchimp
Find the Mailchimp contact matching the Shopify customer email.
mailchimp
Apply purchase-based tags to Mailchimp contacts for segmentation.
mailchimp
Create or update Mailchimp audience segments based on purchase tags.
mailchimp
Update contact profile fields with purchase data such as total spend and last order date.
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
Manage email marketing audiences, campaigns, and automations. Create, send, schedule, and track email campaigns with detailed reporting on opens, clicks, and bounces. Add, update, and organize audience contacts with tags, segments, and interest groups. Set up and manage automation workflows triggered by subscriber activity or events. Connect e-commerce stores to manage customers, products, orders, and carts. Create and manage reusable email templates and landing pages. Upload and organize files for use in campaigns. Send transactional emails via the Mandrill API. Post custom events to trigger targeted automations. Configure webhooks to track subscribe, unsubscribe, profile updates, and email delivery events.
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 segment mailchimp contacts based on shopify purchase history 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.