helpShopify

Overview

The Shopify connector keeps OnSync aware of every shopper and order in real time. Once connected, we:

  • Pull data through the Admin API plus these webhooks: orders/create, orders/fulfilled, checkouts/update, and customers/create.
  • Sync entities automatically – customers (name, phone, email), order status + totals, fulfillment updates, and abandoned cart states.
  • Surface context in the inbox so every reply can reference the customer’s last order, fulfillment status, purchased items, or lingering cart.

Example reply:

“Hi Sarah 👋 I see your order #1432 is out for delivery today. Want me to send the tracking link?”

Connecting Shopify

  1. Open Settings → Channels & Integrations → Automation & Tools inside OnSync.
  2. Enter your brand-name.myshopify.com domain and click Connect Shopify. We redirect you to Shopify to authorize the OnSync app.
  3. Approve the OAuth prompt (we request read access to Orders, Customers, Checkouts, plus webhook management so we can subscribe automatically).
  4. After approval you are routed back to OnSync where sync status + metrics appear instantly.

No Admin API token or manual webhook secret is required—the OAuth flow handles token exchange and webhook registration for you.

Data Flow Details

Shopify → OnSync (Pull)

  • Customers: full name, phone, email, tags, last seen.
  • Orders: number, status, items, total, currency.
  • Fulfillment: fulfillment + delivery timestamps, tracking links.
  • Carts: abandoned checkout payloads so we can nudge shoppers automatically.

OnSync → Customers (Push)

When a shopper messages WhatsApp or Messenger, the agent workspace now shows:

  • Last order number + status.
  • Items purchased with quick glance quantities.
  • Cart status (active vs abandoned) with timestamps.
  • Total lifetime value + order count.

Built-In Automations

AutomationTriggerDefault Message
Abandoned Cart Recoverycheckouts/update when abandoned“Hey {{first_name}}, you left {{product_name}} in your cart. Want me to help you complete your order?” with optional follow-up after 12–24h.
Order Confirmationorders/create“Thanks for your order 🎉 Order #{{order_id}} is confirmed. I’ll keep you posted.”
Shipping Updatesorders/fulfilled“Your order is on the way 🚚 Tracking: {{tracking_link}}.”
Post-Delivery Follow-UpDelivered + 3 days“How was your experience with {{product_name}}? Need help or want to reorder?”

Toggles and delays for each automation live in the Shopify card inside Settings → Integrations.

FAQ

  • Can I pause one automation? Yes—each workflow has its own toggle plus delay controls.
  • What happens if a webhook fails? We retry automatically and surface the status badge inside the integration card.
  • Do you store Shopify tokens? Tokens are encrypted in your Org record and only used server-side to fetch/sync data.

Need a custom playbook (VIP drops, loyalty reminders, etc.)? Email integrations@onsync.com and we’ll co-build it with you.