Repository navigation
Open
Labels
e-commerceShopping, product catalog, store and marketplace connectorsenhancementNew feature or requestintegrationsSearch Console, Analytics, Composio, webhookssecurity-reviewTouches credentials, scopes or personal data; needs a security review before merge
Description
Summary
Connect Shopify stores to Ansvisor and list the app in the Shopify App Store. The connection brings in:
- the catalog;
- orders, with the AI channel they came from;
- billing through Shopify App Pricing for App Store installs.
Approved changes go back out to the store.
Why
E-commerce brands need to see which products AI assistants recommend and what that sells. Shopify is the first and most important store platform. Its orders already carry a sales channel, and the App Store is a way for merchants to find us.
Tasks
Built on the connector framework and catalog model in #1263.
- SHOP-001: Partner account and public app.
- Use a company-owned Shopify Partner account and a development store.
- Start with the scopes
read_productsandread_orders. Addwrite_productsonly when Push to Shopify ships (SHOP-009).
- SHOP-002 / SHOP-003 / SHOP-005: install, catalog sync and mandatory webhooks. feat(integrations): Shopify app install (OAuth), catalog sync and mandatory webhooks #1266
- OAuth install from the App Store and from inside Ansvisor, both ending in one connection.
- Catalog import and product webhooks.
- The
app/uninstalledand privacy webhooks.
- SHOP-004: orders with AI-channel attribution. feat(integrations): Shopify orders, with AI-referred revenue per product #1267
- SHOP-006 / SHOP-007: billing. Billing through Shopify App Pricing, and a billing source per organization so nobody is billed twice. feat(billing): bill Shopify App Store installs through Shopify App Pricing, with one billing source per organization #1268
- SHOP-008: embedded page in Shopify admin.
- A small page with shelf share and AI revenue for the store's brand, and "Open Ansvisor".
- No settings or editing there.
- SHOP-009: Push to Shopify.
- After the user approves a change, write the product's title, description and metafields.
- Log every change with before and after, and who approved it.
- Nothing is written without approval.
- SHOP-010: App Store listing and review. feat(integrations): Shopify App Store listing and review #1269
- SHOP-011: Getting started after install.
- An install opens Action Center › Getting started with two extra steps for e-commerce brands: "Connect your catalog" and "Track 5 shopping prompts".
- Steps live in
steps.ts. Their facts come fromgetting_started_facts(00196, 00197), which would need the catalog's product count and the brand's shopping prompt count.
Acceptance criteria
- A development store installs the app and sees its catalog in Ansvisor within minutes. Orders from AI channels show in AI revenue.
- App Store installs are billed through Shopify, and no organization is billed twice.
- All mandatory webhooks pass Shopify's checks. Uninstalling deletes the credentials and stops syncs.
- The listing passes Shopify's review.
Metadata
Metadata
Assignees
Labels
e-commerceShopping, product catalog, store and marketplace connectorsenhancementNew feature or requestintegrationsSearch Console, Analytics, Composio, webhookssecurity-reviewTouches credentials, scopes or personal data; needs a security review before merge
Activity