
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=woocommerceIn WooCommerce admin
- Go to WooCommerce → Settings → Advanced → Webhooks.
- Click Add webhook.
- Set Topic: Order created. Delivery URL: the Pulse URL above.
- Copy the generated Secret; it's used for signature verification.
- 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.