Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node interacts with the Wappfy API to perform various WhatsApp-related operations. Specifically, for the LID resource with the Get by LID operation, it retrieves the phone number associated with a given Linked ID (LID). This is useful in scenarios where you have an internal or external identifier (LID) and need to find the corresponding WhatsApp phone number.

Practical examples include:

  • Looking up a user's phone number based on their linked identifier in your system.
  • Integrating WhatsApp contact resolution into CRM or support workflows where LIDs are used as references.

Properties

Name Meaning
LID The Linked ID whose associated phone number you want to retrieve. This is a required string input.

Output

The output is a JSON object containing the data returned by the Wappfy API for the specified LID. Typically, this will include the phone number and possibly other related metadata about the linked entity.

The node does not output binary data for this operation.

Example output structure (simplified):

{
  "phoneNumber": "string",
  "otherDetails": "..."
}

Dependencies

  • Requires an active connection to the Wappfy API.
  • Requires configuration of credentials that provide:
    • Base URL of the Wappfy API.
    • Instance name.
    • An API key credential for authentication.

These must be set up in n8n prior to using the node.

Troubleshooting

  • Common issues:

    • Invalid or missing LID parameter: Ensure the LID value is provided and correctly formatted.
    • Authentication errors: Verify that the API key credential is valid and has access to the Wappfy instance.
    • Network or API endpoint errors: Check connectivity to the configured base URL and that the instance name is correct.
  • Error messages:

    • Errors from the API will be passed through; typical messages might indicate "LID not found" or "Unauthorized".
    • If the node throws an error about missing credentials, ensure the API key and instance details are properly configured.

Links and References

  • Wappfy API Documentation (example placeholder link)
  • n8n documentation on HTTP Request Node for understanding API calls
  • General WhatsApp Business API integration guides for context on linked IDs and phone number mappings

Discussion