Learn how to send WhatsApp messages for specific product purchases in WooCommerce using Pabbly Connect. Step-by-step tutorial included. 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. Accessing Pabbly Connect for WooCommerce Integration
To start sending WhatsApp messages for specific product purchases, you need to access Pabbly Connect. Open your web browser and type in the URL Pabbly.com. Once on the site, navigate to the ‘Products’ section and select Pabbly Connect.
If you are a first-time user, click on the ‘Sign Up for Free’ option to create your account. This process takes just a couple of minutes, and you’ll receive 100 tasks free every month. If you already have an account, simply click on ‘Sign In’ and access Pabbly Connect from the all-app section.
2. Creating a Workflow in Pabbly Connect
After signing into Pabbly Connect, you will be directed to the dashboard. To create a new workflow, click on the plus sign and select ‘Create Workflow.’ Name your workflow as ‘WooCommerce to WhatsApp Integration’ to identify its purpose easily.
In this section, you will see a trigger window and an action window. The trigger indicates what event will start the workflow, and the action specifies what will happen as a result. For this integration, we need to set WooCommerce as the trigger application.
- Select the application as WooCommerce.
- Choose the trigger event as ‘New Order Created.’
- Copy the webhook URL provided.
With the webhook URL copied, you are now ready to set it up in your WooCommerce account.
3. Setting Up the Webhook in WooCommerce
Log in to your WordPress dashboard and navigate to the WooCommerce settings. Click on the ‘Advanced’ tab and locate the ‘Webhooks’ option. Here, you will create a new webhook by clicking on the ‘Add Webhook’ button.
Name the webhook as ‘WhatsApp Integration’ and ensure its status is set to ‘Active.’ For the topic, select ‘Order Created’ and paste the webhook URL you copied from Pabbly Connect into the delivery URL field. Save the webhook settings to finalize this step.
- Webhook Name: WhatsApp Integration
- Status: Active
- Topic: Order Created
After saving the webhook, return to Pabbly Connect and confirm that the response has been received, indicating that the webhook setup was successful.
4. Filtering Orders for Specific Products
Next, you need to filter orders to ensure that WhatsApp messages are only sent for specific products. In your Pabbly Connect workflow, add a new action step and select ‘Filter’ as the application.
In the filter settings, select the label as ‘Line Item’ and set the condition to check if the line item name equals ‘Core PHP Programming’. This ensures that the WhatsApp message will only be sent when this specific product is purchased.
Label: Line Item Condition: Equals Value: Core PHP Programming
Once the filter is configured, save the settings and proceed to the next step of adding the expected delivery date.
5. Sending WhatsApp Messages to Customers
To send a WhatsApp message, you will need to add another action step in Pabbly Connect. Choose ‘360 Dialog’ as the application and select the action event as ‘Send Template Message.’ Connect your 360 Dialog account by entering the required API key and domain.
Once connected, select the template you wish to use for your message. Ensure that the template has been approved by Facebook to send messages. Map the required fields such as the recipient’s mobile number, customer name, product name, and expected delivery date into the message template.
Recipient Mobile Number: Map from WooCommerce response. Body Field 1: Customer Name Body Field 2: Product Name Body Field 3: Expected Delivery Date
After mapping all necessary fields, save the workflow. Now, every time a new order for the specified product is placed, the customer will receive a WhatsApp message confirming their order.
Conclusion
In this tutorial, we demonstrated how to effectively integrate WooCommerce with WhatsApp using Pabbly Connect. This integration allows you to automate order confirmations for specific products, enhancing customer communication. By following these steps, you can ensure that your customers receive timely updates directly on WhatsApp.
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!