Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node enables interaction with WhatsApp through the Wappfy API, specifically allowing you to retrieve a specific message from a chat by its ID. It is useful when you need to fetch detailed information about a particular message within a WhatsApp chat, such as for auditing, processing replies, or integrating message data into other workflows.

Practical examples:

  • Fetching a message's content and metadata to analyze user responses.
  • Retrieving a message to display in a custom dashboard or CRM.
  • Accessing message details for compliance or record-keeping purposes.

Properties

Name Meaning
Chat ID The unique identifier of the chat where the message resides (e.g., 123456789@c.us).
Message ID The unique identifier of the specific message to retrieve within the chat.

Output

The output contains a JSON object representing the requested message's details as returned by the Wappfy API. This typically includes message content, sender info, timestamps, and any associated metadata.

If multiple items are processed, the output is an array of such JSON objects, each corresponding to one input item.

The node does not output binary data for this operation.

Dependencies

  • Requires a valid Wappfy API credential with:

    • Base URL of the Wappfy API instance.
    • Instance name.
    • An API key for authentication.
  • The node makes HTTP requests to the Wappfy API endpoints.

  • Ensure the Wappfy API credentials are properly configured in n8n before using this node.

Troubleshooting

  • Common issues:

    • Invalid or missing Chat ID or Message ID parameters will cause the API request to fail.
    • Incorrect or expired API key or instance name will result in authentication errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Errors returned from the Wappfy API will be propagated, often indicating invalid IDs or permission issues.
    • If the node is set to continue on failure, error details will appear in the output JSON under an error field.
  • Resolution tips:

    • Verify that the Chat ID and Message ID are correct and exist in your WhatsApp account.
    • Confirm that the API key and instance name are valid and have necessary permissions.
    • Check network access and firewall settings to allow outbound requests to the Wappfy API.

Links and References

Discussion