Shopify Integration
Connect your Shopify store for AI-powered ecommerce automation — attribute influencer sales, sync orders, and let the AI agent optimize your creator-driven revenue
Stormy turns your Shopify store into an AI-automated influencer revenue machine. Connect your store, and Stormy's AI agent takes over — attributing every sale to the right creator, generating discount codes at scale, tracking ROI in real-time, and re-engaging your highest-revenue creators automatically.
Think of it as OpenClaw for your Shopify store — an autonomous AI agent that manages creator partnerships end-to-end, from discovery to payment, with real revenue data driving every decision.
Shopify integration overview showing connected store with live revenue attribution dashboard
Why Stormy + Shopify
Most influencer tools stop at vanity metrics. Stormy closes the loop between creator content and actual purchases:
- Revenue attribution per creator — see exactly which creators drive sales, not just engagement
- AI-powered discount code management — generate, distribute, and track unique codes at scale
- Autonomous re-engagement — the AI agent identifies top-revenue creators and automatically re-engages them for repeat campaigns
- Performance-based payments — pay creators based on actual sales they generate via CreatorPay
- Real-time ROI dashboards — compare spend vs. revenue across every creator and campaign
Stormy connects to your Shopify store via OAuth with read-only access to orders and customers. It can also create discount codes with limited write access. Your store data, products, and settings are never modified.
Connecting your store
Go to Settings → Integrations in your Stormy workspace and find the Shopify card.
Type your Shopify store domain — either my-store or my-store.myshopify.com.
You'll be redirected to Shopify to review and approve the permissions Stormy needs (read orders, read customers, manage discounts).
Once redirected back, confirm the connection shows as Active with your store name and domain displayed.
Shopify OAuth connection flow — store URL input, Shopify approval screen, successful connection
You can also connect Shopify via the OpenClaw CLI for programmatic workflows: stormy-cli shopify auth-url generates the OAuth link, and stormy-cli shopify callback completes the flow.
What Stormy syncs
Once connected, Stormy pulls live data from your store via the Shopify GraphQL Admin API:
| Data | What's synced | How it's used |
|---|---|---|
| Orders | ID, total, status, discount codes, UTM params | Revenue attribution to creators |
| Customers | Name, email, location, order count | Geographic breakdown of creator-driven sales |
| Products | Title, handle, status, inventory | Product-level attribution and recommendations |
| Discount codes | Code, usage count, status | Track which creator codes are converting |
| Refunds | Refund amount, order reference | Automatically adjust attributed revenue |
Stormy also registers webhooks so your data stays fresh in real-time — new orders, refunds, and product changes are pushed to Stormy instantly.
Revenue attribution
Stormy supports two attribution methods. Use either one or both.
Discount codes
The most reliable method. Create a unique code per creator — every order using that code is attributed to them.
- Open a creator's profile in your list
- Click Generate Discount Code in the Shopify section
- Choose discount type (percentage off, fixed amount, or free shipping)
- Set constraints (minimum order, specific products, expiration)
- The code is created in Shopify and linked to the creator automatically
For campaigns with dozens of creators, use Bulk Actions → Generate Discount Codes to create unique codes for every creator in one click. Stormy defaults to the creator's handle in uppercase (e.g., SARAH15).
When the AI agent sends outreach emails, it can include the creator's code automatically using the {{shopify_discount_code}} template variable.
Tracked links (UTM attribution)
For creators who share links instead of codes, Stormy generates tracked URLs with UTM parameters. When a customer clicks through and purchases, the sale is attributed via UTM data.
The generated URLs include: utm_source=stormy&utm_medium=influencer&utm_campaign={campaign_id}&utm_content={creator_id}
Attribution window
Configure how long after a click or code share a purchase is credited to the creator:
| Window | Best for |
|---|---|
| 7 days | Impulse purchases, low-cost products |
| 14 days | Mid-range products, balanced tracking |
| 30 days (default) | Most ecommerce, captures consideration cycles |
| 60 days | High-ticket items, long sales cycles |
Revenue dashboards
Creator-level
Each creator's profile shows total attributed revenue, order count, average order value, discount code usage, and a revenue trend chart.
Creator profile with Shopify revenue section — total revenue, orders, AOV, trend chart
Campaign-level
The campaign Revenue tab aggregates data across all creators: total attributed revenue, creator-by-creator revenue breakdown, ROI calculation (revenue vs. creator spend), and a timeline of sales overlaid with post dates.
Workspace-level
The Analytics section shows total influencer-attributed revenue, month-over-month trends, top creators by revenue, and per-platform breakdowns.
The AI agent + Shopify
This is where Stormy becomes OpenClaw for your ecommerce operations. Once Shopify is connected, the AI agent can:
- Prioritize outreach by revenue potential — the agent factors in a creator's past sales performance when deciding who to reach out to
- Auto-generate discount codes — when a creator confirms a deal, the agent creates their unique code and includes it in the confirmation email
- Re-engage top performers — the agent monitors revenue data and automatically reaches out to creators who drove the most sales for repeat campaigns
- Adjust negotiation based on ROI — if a creator generated 5x ROI last campaign, the agent knows it can offer a higher rate
- Trigger performance payouts — when a creator hits a revenue milestone, the agent initiates payment via CreatorPay
Configure the agent's Shopify behavior in AI Agent → Configuration → Shopify Settings. You can set budget thresholds, minimum ROI targets, and re-engagement triggers.
Handling refunds
Stormy automatically adjusts attributed revenue when Shopify refunds are processed. Refunded amounts are subtracted from the creator's revenue, ROI calculations update, and the order is flagged as partially or fully refunded.
Troubleshooting
Sales not appearing
- Verify the connection shows Active in Settings → Integrations
- Check that the discount code or UTM matches what Stormy generated — manually created Shopify codes are not tracked
- Allow a few minutes for webhooks to deliver new orders
- Confirm the order used a tracked code or link
Revenue mismatch with Shopify admin
- Stormy reports attributed revenue only — orders without tracked codes/links are excluded
- By default Stormy uses order subtotal. Change to include shipping/tax in Shopify → Attribution Settings → Revenue Calculation
What to read next
Last updated: 2026-03-29