N8N Tools - Yup.chat icon

N8N Tools - Yup.chat

Send messages and manage communications through Yup.chat

Actions17

WhatsApp Messages → Get Many

AI-generated

Overview

This node integrates with the Yup.chat API to manage WhatsApp messages, specifically allowing users to retrieve multiple WhatsApp messages. It supports fetching either all messages or a limited number based on user-defined filters and limits.

Common scenarios where this node is beneficial include:

  • Retrieving recent WhatsApp message history for analysis or reporting.
  • Filtering messages by date or other criteria to monitor communication trends.
  • Integrating WhatsApp message data into workflows for customer support or marketing automation.

For example, a user might configure the node to fetch the last 100 WhatsApp messages received within a specific date range to analyze customer inquiries.

Properties

Name Meaning
Return All Whether to return all WhatsApp messages or only up to a specified limit.
Limit Maximum number of WhatsApp messages to return when "Return All" is set to false (1-500).
Filters Filter parameters as a string, e.g., filter=created_at:2023-01-01 to filter by date.

Output

The node outputs an array of JSON objects representing WhatsApp messages retrieved from the Yup.chat API. Each item corresponds to a single message with its associated properties as returned by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for Yup.chat API authentication.
  • The base URL for the Yup.chat API defaults to https://api.yup.chat but can be configured via credentials.
  • Proper configuration of the API key credential in n8n is necessary for successful requests.

Troubleshooting

  • Common issues:

    • Invalid or missing API key will cause authentication errors.
    • Incorrect filter syntax may result in no data or API errors.
    • Requesting more than the allowed limit (over 500) will be rejected.
  • Error messages:

    • Authentication failures typically indicate invalid or expired API keys; verify and update credentials.
    • HTTP request errors may occur if the API endpoint is unreachable; check network connectivity and API status.
    • Parsing errors for filters or parameters should be corrected by ensuring proper formatting.

Links and References

Discussion