Commerce
Connect your store

WooCommerce integration

Connect a WooCommerce store by creating webhooks pointed at Pulse's commerce-webhook endpoint.

Webhook URL

https://zruqflqnlzriyowvhcdy.supabase.co/functions/v1/commerce-webhook?workspace_id=<id>&source=woocommerce

In WooCommerce admin

  1. Go to WooCommerce → Settings → Advanced → Webhooks.
  2. Click Add webhook.
  3. Set Topic: Order created. Delivery URL: the Pulse URL above.
  4. Copy the generated Secret; it's used for signature verification.
  5. Repeat for Order updated so paid-state transitions flow in.

Payload normalization

WooCommerce's JSON structure differs from Shopify's. Pulse maps fields like billing.email, line_items[*].name, and shipping_total into a canonical order shape before it's stored, so orders from both platforms appear identically in reports.

Refunds

Configure a webhook for the Refund created topic as well. Pulse emits order_refunded events and subtracts the refunded amount from attributed revenue on reporting.