Actions148
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
Overview
The "Get My Catalog" operation of the Business catalog resource allows users to retrieve the product catalog associated with their WhatsApp Business number. This node is useful for businesses that want to programmatically access and manage their product listings on WhatsApp, enabling integration with inventory systems, e-commerce platforms, or customer support workflows.
Practical examples include:
- Fetching a paginated list of products to display in a custom dashboard.
- Synchronizing WhatsApp catalog data with an external database.
- Automating updates or audits of product information shared via WhatsApp.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of your WhatsApp Business number from which to fetch the catalog. |
| Pagination | Options to control pagination of the catalog results: |
| - Page Size | Number of products to return per page (1 to 500). |
| - Page Number | Page number to return, starting from 0 (zero-based index). |
Output
The node outputs JSON data representing the catalog products retrieved from the specified WhatsApp Business number. Each item in the output array corresponds to a product entry in the catalog, including details such as product name, description, price, and other relevant metadata as provided by the WhatsApp Business API.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the SparkBot WhatsApp API service.
- The node depends on the SparkBot API endpoint that manages WhatsApp Business catalogs.
- Proper configuration of the WhatsApp Business number (device) is necessary to access its catalog.
- Pagination parameters are optional but recommended for handling large catalogs efficiently.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp Business number ID will cause failures in fetching the catalog.
- Exceeding the maximum allowed page size (over 500) may result in errors.
- Network or authentication errors if the API key is invalid or expired.
Error messages:
"error": "Invalid WhatsApp Number"β Verify the device ID is correct and linked to your account."error": "Unauthorized"β Check that the API key credential is valid and has required permissions."error": "Page number out of range"β Adjust the page number parameter within valid bounds.
Resolving these typically involves verifying input parameters, ensuring credentials are up to date, and confirming network connectivity.