Boost customer engagement and showcase your WooCommerce products directly where your customers already are: WhatsApp. Sendwo lets you effortlessly integrate your store with WhatsApp, presenting your products as interactive lists within their familiar chat environment. This guide will provide a step-by-step walkthrough of the entire process.
Step 1: Generate WooCommerce API Keys
To access product data from your WooCommerce store programmatically, you'll need to generate API credentials. Follow these steps:
Navigate to API Settings: Go to WooCommerce > Settings > Advanced > REST API in your WordPress dashboard.
Create a New Key: Click "Add Key" to generate a new set of API credentials.
Configure Key Settings:
Name: Give your API key a descriptive name (e.g., "Sendwo Integration").
Permissions: Set the permissions to "Read" to allow access to product data.
Generate and Record Keys: Click "Generate API Key."
Note down: Carefully record the generated "Consumer Key" and "Consumer Secret" for later use.
Keep these keys confidential. They provide access to your WooCommerce store data.
Step 2: Set Up HTTP API Integration in Sendwo
Connecting Sendwo to your WooCommerce store via the REST API
Navigate to HTTP API Integration:
In Sendwo, go to the HTTP API section.
Click on Add New API Connection.
Enter WooCommerce API Details:
API Name: Choose a clear name that identifies the connection (e.g., "Demo Furniture Products").
Endpoint URL: Enter the WooCommerce REST API URL to access your products. Here's an example for fetching products from category 19: https://yourstore.com/wp-json/wc/v3/products?category=19
Method: Select GET.
Add Authentication:
In the Option Data section, provide your Consumer Key and Consumer Secret:
Option Key: USERNAME
Value: ck_e364b8987604b8df0ecda24242350a84b62e38a
Option Key: PASSWORD
Value: cs_279d6f0bd0f89cc1790b477d2f055f039cf39f
Map the API Response:
Save the raw data received from the API in a custom field. You can name this field "FurnitureProducts" or something similar.
Test the API Connection:
Click Verify Connection to confirm that everything is set up correctly. If successful, you should see the response data.
Save the API configuration.
Step 3: Configure the Bot Flow in Sendwo
This step outlines how to integrate your WooCommerce store with Sendwo to showcase products within your WhatsApp bot.
1. Trigger the Flow:
Initiate the flow by adding a trigger keyword (e.g., "Product" or "Shop Now"). This keyword will activate the flow when a user interacts with your bot.
2. Fetch WooCommerce Products:
Utilize the HTTP API node within Sendwo to dynamically retrieve product data from your WooCommerce store.
Ensure the API endpoint you configured in the previous step is correctly integrated.
3. Display Products in Interactive WhatsApp Messages:
Enhance user interaction by employing Interactive Sections and Row Elements.
Create sections to categorize products (e.g., "Furniture," "Clothing," "Electronics").
Dynamically populate each section with rows using custom fields.
Row Title: Use the #custom_field->key# format to populate titles. Example: #Furnitureproduct->name# will display product names like "Almirah Wooden".
Row Description: Include additional details like price and stock status. Example: #Furnitureproduct->price# - #Furnitureproduct->stock_status#.
4. Save User Selections:
Map user selections to custom fields within Sendwo to track their preferences and personalize future interactions.
5. Test and Refine:
Thoroughly preview the interactive messages to verify that products are displayed accurately and user interactions are intuitive.
Test the flow with sample user interactions to identify and address any issues.
Step 4: Customize the User Interaction
Enhance your user experience with Sendwo's customization options:
Show Appreciation: Thank users and provide clear product information.
Encourage Action: Guide users towards desired outcomes with direct links.
Segment Effectively: Understand user preferences for targeted campaigns and improved results.
Example Product Inquiry BotFlow Overview
This outlines a potential interaction flow for a WhatsApp bot that assists users with product inquiries:
User Input: The user initiates the interaction by sending the keyword "Product."
Product Data Retrieval: The bot automatically fetches relevant product data from the WooCommerce store using its HTTP API.
Category Selection: An interactive WhatsApp message is presented to the user, displaying a list of available product categories (e.g., Furniture, Clothes). The user is prompted to select a category of interest.
Category Display: The bot displays the products within the selected category, along with key details such as price and current stock availability.
Product Selection & Confirmation: The user selects a specific product. The bot then confirms the selection, providing additional options or displaying further product details to assist the user in their decision-making.
Benefits of Using Sendwo with WooCommerce
Effortless Product Updates: Showcase real-time inventory & new arrivals directly in WhatsApp.
Engaging Customer Journeys: Interactive product lists for easy browsing and selection within the chat.
Streamlined Operations: Automate product inquiries, freeing up your time and improving customer service.
Personalized Recommendations: Tailor product suggestions to individual customer preferences.
Our guide simplifies the process, enabling you to effortlessly fetch and display your WooCommerce product data as engaging and interactive WhatsApp messages.
Unlock the full potential of this powerful combination today and elevate your customer engagement to unprecedented heights!
I'm Puneet Sharma, Cofounder of Sendwo.
I'm building SendWo, a WhatsApp BSP, to empower businesses with cutting-edge AI-powered WhatsApp chatbots. Passionate about simplifying customer communication and driving growth through innovative WhatsApp solutions.
Send promotional messages, authentication and service messages to your customer WhatsApp inbox without getting banning issues and create good business relations. Using AI powered chatbots and train your AI to communicate with your customers.