> For the complete documentation index, see [llms.txt](https://docs.webtonative.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.webtonative.com/javascript-apis/webtonative-notifications/webhook-connectors.md).

# Webhook Connectors

Send automatic push notifications to your app users when something happens on your store or backend, like an order being placed, a payment or a shipment.

A **connector** links one event on your platform to WebToNative. When the event happens, your platform sends a webhook to the connector, and WebToNative sends your notification to the user it belongs to.

> **Platform support:** Android and iOS.

> **Before you start:**
>
> * Your plan must include **WebToNative Push**.
> * Push must be configured for your app (Android and/or iOS) in the WebToNative dashboard.

***

## Choose your connector

| Connector                                                                                                                         | Use it for                                                      | How users are linked                             |
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------ |
| [**Shopify**](https://docs.webtonative.com/javascript-apis/webtonative-notifications/webhook-connectors/shopify-connector.md)     | Shopify stores. Uses Shopify webhooks and their signing secret. | A short script in your theme                     |
| [**WordPress**](https://docs.webtonative.com/javascript-apis/webtonative-notifications/webhook-connectors/wordpress-connector.md) | WooCommerce stores on WordPress.                                | The WebToNative plugin with **Enable User Sync** |
| [**Custom**](https://docs.webtonative.com/javascript-apis/webtonative-notifications/webhook-connectors/custom-connector.md)       | Any other platform or your own backend.                         | `setExternalUserId()` from your website          |

***

## How it works

1. **Link users to devices.** When a user logs in on your app, their ID is set on the device as the **External User ID**.
2. **Create a connector.** In WebToNative, go to **My Apps > your app > Push Notification > Webhook Connector** and add a connector for your platform.
3. **Add the webhook.** Point your platform's webhook to the connector's **Webhook URL**, and verify it.
4. **Create the template.** Write the notification title, message and Launch URL. Use values from the webhook, like the order number.
5. **Notifications are sent automatically.** Each time the event happens, the user with that ID receives the notification.

> **One connector = one event.** For example, create one connector for "Order created" and another for "Order shipped".

***

## Connector status

| Status                   | Meaning                                                                            |
| ------------------------ | ---------------------------------------------------------------------------------- |
| **Pending verification** | Created, but not verified yet. No notifications are sent.                          |
| **Active**               | Verified and sending notifications.                                                |
| **Paused**               | Turned off with the **Enabled** toggle. Webhooks are received but nothing is sent. |

***

**Notes:**

* Notifications only reach users who have logged in on the app, so their device has an External User ID.
* Need help? Email <support@webtonative.com> or visit [webtonative.com/support](https://www.webtonative.com/support).
