Learn how to set up out of stock notifications on WhatsApp using Pabbly Connect and WooCommerce. Follow our step-by-step guide for seamless integration. Transform complex automation concepts into accessible, actionable steps that eliminate unnecessary manual work while maximizing existing application capabilities.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for WooCommerce Notifications

To get started with Pabbly Connect, you first need to create an account. Visit Pabbly Connect and click on ‘Sign Up Free’. Once your account is created, log in to access the dashboard. This platform will facilitate the integration between WooCommerce and WhatsApp Cloud API.

After logging in, click on ‘Create Workflow’. Name your workflow (e.g., ‘WooCommerce to WhatsApp’) and click ‘Create’. This action opens two windows: the trigger window and the action window, essential for setting up your automation.


2. Configuring WooCommerce with Pabbly Connect

In the trigger window of Pabbly Connect, select WooCommerce as your app. Then, choose the trigger event as ‘Product Updated’. This event will help to track any changes in product stock status.

  • Select WooCommerce from the app list.
  • Choose ‘Product Updated’ as the trigger event.
  • Copy the webhook URL provided by Pabbly Connect.

Next, go to your WooCommerce store settings. Navigate to WooCommerce > Settings > Advanced > Webhooks. Click on ‘Add Webhook’. Name it (e.g., ‘Pabbly Connect Webhook’), set the status to ‘Active’, and paste the webhook URL you copied. Finally, select the topic as ‘Product Updated’ and save the webhook.


3. Testing the Integration with a Dummy Order

To test the integration, you must place a dummy order in your WooCommerce store. This order will trigger the webhook, allowing Pabbly Connect to capture the product update.

Go to your WooCommerce store, select a product (e.g., ‘Blue Snowball USB Microphone’), and add it to your cart. Proceed to checkout and complete the order. Since there was only one item in stock, this product will now be marked as out of stock.

  • Select a product with limited stock.
  • Complete the checkout process.
  • Monitor Pabbly Connect for the webhook response.

After placing the order, return to Pabbly Connect. You should see a response indicating that the product stock status has been updated to ‘Out of Stock’.


4. Filtering Out-of-Stock Products with Pabbly Connect

Once you have captured the product update response, the next step in Pabbly Connect is to add a filter. This filter will ensure that you only receive WhatsApp notifications when a product goes out of stock.

In the action window, search for and select the ‘Filter’ app. Set the condition to check if the stock status equals ‘Out of Stock’. If this condition is met, the workflow will proceed to send a WhatsApp notification.

Select ‘Filter’ from the app list. Set the condition to ‘Stock Status equals Out of Stock’. Test the filter to ensure it works correctly.

After saving the filter, you will have successfully configured your automation to only send notifications for out-of-stock products.


5. Sending WhatsApp Notifications via Pabbly Connect

To send WhatsApp notifications, you will need to connect your WhatsApp Cloud API with Pabbly Connect. In the action window, search for ‘WhatsApp Cloud API’ and select the action event as ‘Send Template Message’.

Connect your WhatsApp Cloud API account by providing the necessary credentials (temporary access token, phone number ID, and business account ID). You can find these details in your WhatsApp Cloud API dashboard.

Select ‘Send Template Message’ from the action events. Input your WhatsApp credentials. Choose the template you created for out-of-stock notifications.

Finally, map the recipient’s phone number and the dynamic fields to personalize the message. After saving, you can test the setup to ensure that notifications are sent correctly whenever a product goes out of stock.


Conclusion

By following the steps outlined in this tutorial, you can efficiently set up out-of-stock notifications for your WooCommerce store using Pabbly Connect and WhatsApp Cloud API. This integration not only saves time but also ensures that you stay updated on your inventory status, enhancing customer satisfaction.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.