Guide
API Documentation
← Back to documentation
WooCommerce

WooCommerce

Verified integration

Connect WooCommerce: on every event we create or update the contact in SendApp and tag it.

Your Webhook URL
https://app.sendapp.ai/api/integrations/webhook/YOUR_ACCOUNT_TOKEN?source=woocommerce
Log in to get the real webhook URL for your account.
🛒 Abandoned cart recovery

Want SendApp to send a reminder to shoppers who leave a full cart without paying? Connect this second URL too and create a "Cart abandoned" automation.

https://app.sendapp.ai/api/ecommerce/woocommerce/webhook/YOUR_ACCOUNT_TOKEN
Log in to get the real webhook URL for your account.
  1. Paste this URL into WooCommerce's webhooks (cart/checkout and order events).
    Which events to enable?
    • Cart "Pending"/"Checkout draft" order order.updated
    • Conversion + contacts Order creation order.created
    • Conversion Order update (Completed/Processing) order.updated
    • Contacts Customer creation customer.created

    For "true" abandoned carts on WooCommerce you need an abandoned-cart plugin that sends a webhook to the same URL.

  2. Go to Automations and create a rule with the "Cart abandoned" trigger.
  3. Choose a WhatsApp template: you can include the link to complete the purchase and the total.

The order events let us know who purchased: anyone who converts is excluded from the reminder automatically.

Anyone who completes the purchase won't get the reminder — not even if they pay while the sequence is waiting.
Go to Automations →

How it works

On every event in your WooCommerce shop we create or update the contact in SendApp (name, phone, email) and tag it. We don't send messages on your behalf: you contact the leads whenever you want with a campaign or via API.

Step-by-step setup

  1. Copy your Webhook URL from the box above (select the account first).
  2. Log in to WooCommerce from the WordPress dashboard and go to WooCommerce > Settings > Advanced > Webhooks.
  3. Create a new Webhook, set the Delivery URL to the copied URL (the format is JSON by default) and choose the Topic among those that contain customer data:
    • Order created order.created
    • Order updated order.updated
    • Customer created customer.created
  4. Save.

Avoid topics that only concern products or coupons: they don't contain a customer and don't create anything.

General rule: choose events that include customer data (name, phone or email): without a phone or email the contact is not created.

What happens next

The contacts coming from WooCommerce are created and tagged (woocommerce) in SendApp. Reach them with a campaign filtering by that tag, or through the API.

Verify

Create a test order on WooCommerce and check that the contact appears in SendApp. If the phone or email is missing, the contact is not created.

Looking for technical details?
Endpoints, parameters and examples (cURL, PHP, JavaScript) in the API documentation.
Open the API documentation →