WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Business catalog → Query Business Catalog

AI-generated

Overview

This node integrates with the WaliChat WhatsApp API to query the business catalog associated with a WhatsApp Business account. It allows users to retrieve product information listed in the catalog of a specified WhatsApp Business phone number.

Common scenarios where this node is beneficial include:

  • Fetching product listings from a WhatsApp Business catalog to display or process them in workflows.
  • Synchronizing WhatsApp Business catalog data with other systems like e-commerce platforms or CRMs.
  • Automating customer support or marketing flows that require access to product details shared via WhatsApp.

Practical example:

  • A user wants to automatically pull the latest products from their WhatsApp Business catalog and update their online store inventory daily.

Properties

Name Meaning
WhatsApp Number The ID of your WhatsApp Business number (device) to use for querying the catalog.
Business Phone Number The phone number of the WhatsApp Business account whose catalog you want to query (e.g. +1234567890).
Products to Return Number of catalog product items to retrieve, with a maximum limit of 500. Defaults to 100.

Output

The node outputs JSON data representing the queried catalog products from the specified WhatsApp Business account. Each item in the output corresponds to a product entry retrieved from the catalog, including relevant product details as provided by the WaliChat API.

If the node supports binary data output (not explicitly shown in the code), it would typically represent media files related to catalog products, but based on the static analysis, the output focuses on JSON product data.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Needs an API key credential configured in n8n for authenticating requests to the WaliChat service.
  • The node depends on internal methods imported from the catalog action module to perform the catalog query operation.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp Business number or device ID can cause failures in retrieving catalog data.
    • Exceeding the maximum allowed number of products to return (over 500) will likely result in errors.
    • Network or authentication errors if the API key credential is incorrect or expired.
  • Error messages:

    • Errors related to "invalid phone number" or "device not found" indicate misconfiguration of input properties.
    • Authentication errors suggest checking the API key credential setup.
    • Rate limiting or quota exceeded errors may require contacting WaliChat support or adjusting request frequency.

Links and References

Discussion