Sync dispatched WooCommerce orders to Coax
Developer ToolAPI IntegrationMarketingRecipe Tools
What it does
When a WooCommerce order webhook arrives with completed status, this automation extracts order details and checks a deduplication table. It updates the table entry when the order is new or refund status changed, preventing duplicate syncs to fulfillment.
Who it's for
Operations teams who need to route WooCommerce orders to fulfillment without manual handoffs or duplicate records.
How teams use this
Prevent duplicate orders in fulfillment
When a webhook retries or fires twice, the deduplication table stops the second sync from reaching Coax. The fulfillment team sees each order only once.
Sync refund status changes to Coax
If a refund status is added or updated after the order ships, this automation detects the change and sends an updated record to Coax so fulfillment knows the order state.
Route orders to different fulfillment systems
Replace Coax with another fulfillment app by swapping the final step. The deduplication logic and webhook handling stay the same for any destination.
Filter orders by region or product type
Add a condition after the webhook trigger to check address or order contents, so only orders matching your criteria reach the deduplication table and Coax.
How it works
- Receive a completed order webhook. A WooCommerce order webhook arrives in real time with completed status, containing customer and order details like name, email, address, and tracking number.
- Extract order details into variables. Create variables for phone, email, first name, last name, address, city, order number, invoice number, status, tracking number, and refund status from the webhook payload.
- Check the deduplication table. Search the Dedup Table lookup table for an entry matching this order. If found, the automation compares the refund status to decide whether to update or skip.
- Update the dedup entry when needed. When the order is new or the refund status changed, update the Dedup Table entry so the next webhook for this order is recognized as a duplicate and skipped.
- Send order to Coax fulfillment. Pass the order details to Coax so the fulfillment team receives customer name, email, address, order number, invoice number, status, and tracking number in one record.