WooCommerce
WordPress-hosted stores; map webhooks to namespaced events.
Installation
- Deploy or enable the WooCommerce connector service (Qefro connectors monorepo / your fork).
- Configure credentials (below) and
QEFRO_API_BASE_URL,QEFRO_TENANT_ID, API token. - Point external webhooks at the connector public URL (not directly at FlowRunner).
- In Qefro, declare flows with
trigger.eventmatching emitted names — Event-Driven Triggers. - Sync SDK tools if the connector exposes Backend SDK handlers.
Authentication
WooCommerce REST API keys (consumer key/secret).
Store secrets in the connector environment or secret manager — not in flow metadata.
Events
| Event name | Notes |
|---|---|
woocommerce.order.created | Emit when source system notifies connector |
woocommerce.order.updated | Emit when source system notifies connector |
woocommerce.cart.abandoned | Emit when source system notifies connector |
Envelope fields (idempotency, correlation, TTL): Event reference.
Tools
Typical tool surface: order status, refund request.
Implement as Backend SDK tools or REST Business Tools. Keep PII minimization and least privilege scopes.
Webhooks
- Receive provider webhook → verify signature.
- Normalize payload →
EventEmitter.emit({ name: 'woocommerce.…', payload, idempotencyKey }). - Return 2xx quickly; let Qefro dispatch asynchronously.
Examples
- Abandoned cart pattern: Solutions — Abandoned cart (Shopify-oriented; adapt event names).
- Order tracking: Solutions — Order tracking.
Workflow checklist
WooCommerce go-live
- Auth — Least-privilege credentials in connector env.
- Webhooks — Verify signatures; map to woocommerce.* events.
- Flows — Enable flows with matching trigger.event.
- Test emit — Idempotent test event; watch Flow Runs.
- Observe — Event list + tool logs + dead-letter retry.