Learn how to set up notifications on WhatsApp for out-of-stock products in Shopify with Pabbly Connect. Step-by-step guide for seamless integration. Navigate the automation landscape confidently with clear, structured guidance suitable for professionals regardless of prior technical experience.
Watch Step By Step Video Tutorial Below
1. Setting Up Pabbly Connect for Shopify Notifications
To get started with receiving notifications on WhatsApp when products go out of stock in Shopify, you first need to access Pabbly Connect. Begin by visiting the Pabbly Connect dashboard at Pabbly.com/connect. Here, you can create a free account, which allows you to set up automation workflows with ease.
After logging in, click on the ‘Create Workflow’ button. You will be prompted to name your workflow. For this integration, you can name it ‘Shopify Product Out of Stock Notification’. Once you click ‘Create’, the workflow page will load, allowing you to set up your trigger and action steps.
2. Setting Up the Trigger Event in Shopify
The next step involves configuring the trigger event in your Pabbly Connect workflow. Select Shopify as your trigger application and choose the event ‘New Product Updated’. This event will allow you to capture updates when any product in your Shopify store goes out of stock.
Once you select the trigger event, Pabbly Connect will provide you with a webhook URL. Copy this URL as you will need it to connect to your Shopify store. In your Shopify dashboard, navigate to Settings > Notifications and scroll down to the Webhooks section. Click on ‘Create Webhook’ and select ‘Product Updated’ as the event. Paste the webhook URL you copied from Pabbly Connect into the URL field and set the format to JSON.
- Choose ‘Product Updated’ from the event section.
- Set the format to JSON.
- Click ‘Save’ to store the webhook settings.
After saving, return to your Pabbly Connect workflow, where it will show that it is waiting for a response from Shopify. This indicates that the connection is set up correctly and ready to capture data.
3. Testing the Connection with Shopify
To test the connection, you will need to simulate a product going out of stock. To do this, navigate to your Shopify store and purchase a product that has low inventory, ensuring it goes out of stock. Once the purchase is made, refresh your inventory page to confirm the product is no longer available.
After completing the test purchase, return to Pabbly Connect. You should see the data captured in the response section, indicating that the product has been updated. This includes vital information such as the product name and inventory status, which will be used for sending notifications.
- Confirm the product is out of stock in Shopify.
- Check the response section in Pabbly Connect for captured data.
This data is crucial for the next steps, where you will set conditions to filter out specific notifications for out-of-stock products.
4. Filtering Out Stock Notifications Using Pabbly Connect
Now that you have the product data captured, it’s time to set up a filter to ensure you only receive notifications for products that are out of stock. In your Pabbly Connect workflow, add a new action step and select ‘Filter’ from the options. This allows you to specify conditions based on the data received from Shopify.
Configure the filter by selecting the inventory quantity label and setting the condition to ‘Equals’ and the value to ‘0’. This means that the workflow will only continue if the product quantity is zero, indicating it is out of stock. Save this filter to ensure it works correctly.
Select ‘Filter’ as the action step. Set the condition to check if inventory quantity equals zero.
Once the filter is set, you can proceed to configure the action step that will send the WhatsApp notification.
5. Sending WhatsApp Notifications via Pabbly Connect
For the final step, you will set up the action to send WhatsApp notifications using the WhatsApp Cloud API through Pabbly Connect. Select the WhatsApp Cloud API as your action application and choose the ‘Send Template Message’ action event. This will allow you to send a pre-defined message whenever a product goes out of stock.
Before sending the message, you will need to connect your WhatsApp Cloud API account to Pabbly Connect. Provide the required information, including your permanent access token, phone number ID, and business account ID. After entering these details, test the connection to ensure it works correctly.
Select ‘Send Template Message’ as the action event. Fill in the required WhatsApp API details. Test the connection to verify it works.
Once the connection is established, you can map the fields for the message body, including the product name and ID. This ensures that the notification is personalized for each out-of-stock product. After setting up the message template, save your workflow.
Conclusion
Using Pabbly Connect, you can efficiently set up notifications for out-of-stock products in your Shopify store directly to WhatsApp. This integration saves you time and ensures you never miss an important inventory update. Follow the steps outlined above to automate your notifications seamlessly.
Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.
- Check out Pabbly Connect – Automate your business workflows effortlessly!
- Sign Up Free – Start your journey with ease!
- 10,000+ Video Tutorials – Learn step by step!
- Join Pabbly Facebook Group – Connect with 21,000+ like minded people!