WordPress Connector
The WordPress Connector sends automatic push notifications to your app users when something happens in your WooCommerce store, like a new order, an order update or a new coupon.
It connects your WooCommerce store to Webtonative with a webhook, and links each logged-in WordPress user to their device so every notification reaches the right person.
Where to Find It In Your Dashboard
My Apps ➡️ Edit your app ➡️ Push Notification ➡️ Webhook Connector ➡️ WordPress
Before You Start
-
Your plan must include Webtonative Push.
-
Push must be configured for your app (Android and/or iOS) in the Webtonative dashboard.
-
The Webtonative WordPress plugin must be installed and activated on your site (see Install the Webtonative Plugin below).
How It Works
1. Link users to devices
The Webtonative plugin calls WTN.Notification.setExternalUserId() with the WordPress user ID when a user is logged in, and removeExternalUserId() when they log out.
2. WooCommerce sends a webhook
When the event happens (for example, an order is created), WooCommerce sends the order data to your connector's Webhook URL.
3. Webtonative sends the notification
Webtonative reads the user ID from the webhook (customer_id) and sends your notification to every device linked to that user.
Install the Webtonative Plugin
Skip this step if the Webtonative plugin is already installed and active on your site.
Download the Plugin
Download the Webtonative plugin ZIP file from the official source.
Upload and Install
Log in to your WordPress admin dashboard and go to Plugins ➡️ Add New ➡️ Upload Plugin. Upload the ZIP file and click Install Now.
Activate
Click Activate to enable the plugin. The Webtonative menu now appears in your WordPress admin.
Enable User Sync in the Plugin
Open the Push Notification Settings
Log in to your WordPress admin dashboard and go to Webtonative ➡️ Push Notification.
Turn On User Sync
Tick Enable User Sync and click Save Changes.
From now on, the logged-in WordPress user is linked to the device (WTN.Notification.setExternalUserId), and unlinked when they log out.
Create the Connector in Webtonative
Open Webhook Connector
Log in to the Webtonative dashboard, go to My Apps, select your app and open Push Notification ➡️ Webhook Connector in the sidebar.
Add a WordPress Connector
-
Click + Connect Webhook (or + Add Connector if you already have connectors).
-
Select WordPress and click Continue.
-
Enter a Connector Name, for example
Order created. -
Copy the Webhook URL and the Secret Code. You'll paste both into WooCommerce in the next section.

Add the Webhook in WooCommerce
Open WooCommerce Webhooks
In WordPress admin, go to WooCommerce ➡️ Settings ➡️ Advanced ➡️ Webhooks and click Add webhook.
Fill In the Webhook
| Field | Value |
|---|---|
| Name | Any name, e.g. Webtonative - Order created |
| Status | Active |
| Topic | The event this connector is for, e.g. Order created |
| Delivery URL | The Webhook URL from your connector |
| Secret | The Secret Code from your connector |
| API Version | WP REST API Integration v3 |
Click Save webhook.
Verify the Connector
Click Verify
-
Back in Webtonative, tick Yes, I have saved the webhook in WooCommerce with this URL and secret code.
-
Click Verify. The connector is saved and the window shows Waiting for the test event.
Trigger the Event in WooCommerce
WooCommerce has no test button, so trigger the event once. For example, place a test order for an Order created connector. When Webtonative receives the event and the secret matches, the connector status changes to Active.
Create the Notification Template
After the connector is verified, the Create a Template window opens. You can also open it later from the ⋯ menu on the connector row ➡️ Edit Template.
Connector Name
This is filled in for you and can't be changed here.
Title
Enter a title for the notification.
Message
Enter the message. Click Available variables { } to insert values from the WooCommerce webhook.
Launch URL
(Optional) The page that opens when the user taps the notification. It can be a fixed URL, like https://yourstore.com/orders, or a variable.
Preview & Save
Check the phone preview, then click Save Template.

Using variables
Insert values from the WooCommerce webhook with {{field}}. Open Available variables in the template to pick one.
| Variable | Value From WooCommerce | Example |
|---|---|---|
{{id}} | Order ID | 1234 |
{{number}} | Order number | 1234 |
{{status}} | Order status | processing |
{{total}} | Order total | 1499.00 |
{{currency}} | Currency | INR |
{{customer_id}} | WordPress user ID | 42 |
{{billing.first_name}} | Customer first name | Asha |
Example
-
Title: Order received
-
Message: Hi
{{billing.first_name}}, your order #{{number}}of{{currency}}{{total}}is confirmed.
Manage Your Connectors
Connector status
Pending verification
Created, but no valid webhook received yet. No notifications are sent.
Active
Verified and sending notifications.
Paused
Turned off with the Enabled toggle. Webhooks are received, but nothing is sent.
Row actions
Open the ⋯ menu on a connector row:
-
Analytics: Events Received, Notification Sent, Notification Skipped and CTR for this connector.
-
Edit Template: change the title, message or Launch URL.
-
Delete: remove the connector. Also delete its webhook in WooCommerce.
Use the Enabled toggle to pause or resume a connector.
Notes
-
Notifications are sent only to users who are logged in on the app at least once with Enable User Sync turned on.
-
The user ID in the webhook (
customer_id) must match the WordPress user ID linked by the plugin. This works automatically when you use the plugin.
Frequently Asked Questions
1. My connector stays in Pending verification. What should I do?
Make sure the webhook's Status is Active in WooCommerce. Check that the Delivery URL and Secret are exactly the ones from your connector. Then trigger the event once, for example by placing a test order.
2. Why do I see the "You don't have any users yet" banner?
Turn on Enable User Sync in Webtonative ➡️ Push Notification, then log in on the app once so the user is linked to the device.
3. Why does Notification Skipped keep increasing?
The order was placed by a guest (customer_id is 0), so there is no user to send it to. Or the user hasn't opened the app while logged in, so their device isn't linked yet. Or the connector is Paused, or it has no template.
4. My users are not getting linked. What should I check?
Open the site inside the Webtonative app, not in a browser. Check the browser console for errors related to WTN.Notification.
