Free
Introduction
In this guide, we explore how to dynamically populate retail IDs in UChat, streamlining the process of sending multiple products via WhatsApp.
Previously, manual entry of product IDs was necessary, but now, with automation, this task becomes efficient and error-free.
This method hinges on synchronizing your product catalog with UChat and leveraging specific actions to fetch and insert product data automatically.
Key Concepts and Prerequisites
SKU and Content ID Synchronization
Ensure that the SKU in UChat's e-commerce section matches the Content ID in your Facebook product catalog. This alignment is crucial for seamless data retrieval.Consistent Data Values
SKU in UChat
Content ID in Facebook Catalog
These should be identical for each product to enable accurate matching.
Categorization and Tagging
Use tags and product types within UChat to filter products dynamically. These tags facilitate targeted product retrieval during automation.
Step-by-Step Process
Step | Action | Details |
---|---|---|
1 | Verify SKU and Content ID | Confirm that each product's SKU in UChat matches its Content ID in the catalog. This is foundational. |
2 | Configure Tags and Categories | Assign relevant tags (e.g., "snack") and categories to products for filtering. |
3 | Use 'Get Products' Action | In UChat, select the Get Products action to fetch products based on filters like tags or categories. |
4 | Set Filters | Choose filters such as Product Type or Product Tags to narrow down the product list. |
5 | Save Retail IDs | Store the retrieved SKUs (which are identical to Content IDs) into custom fields, separated by commas. |
6 | Create Dynamic Message | Use the saved custom fields to populate multiple product messages in WhatsApp dynamically. |
Practical Implementation
Fetching Products
Use the Get Products action, set filters, and save the response (SKUs/Content IDs) into a custom variable, e.g.,matched_skus
.Sending Multiple Products
In your message block, insert the custom variable (e.g.,{{matched_skus}}
) to dynamically populate product details. This allows the bot to send multiple products with their respective IDs automatically.Example Workflow
Trigger keyword (e.g., "single")
Execute Get Products with filters (tags, categories)
Save SKUs into a custom field
Send a message with the product list, populated dynamically from the saved SKUs
Final Tips
Consistency is Key: Always keep SKU and Content ID synchronized.
Use Tags Effectively: Proper tagging simplifies filtering.
Test Thoroughly: Run test triggers to verify dynamic population works correctly.
Maintain Data Integrity: Regularly update your catalog to reflect current products.