Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node enables interaction with the Wappfy API to manage WhatsApp-related data and actions. Specifically, the "LID" resource with the "Get by Phone" operation allows you to retrieve a Linked ID (LID) associated with a given phone number. This can be useful in scenarios where you need to map or verify phone numbers to their corresponding LIDs within the Wappfy system.

Practical examples include:

  • Looking up a user's LID based on their phone number for further messaging or contact management.
  • Integrating phone number verification workflows where LID is required as an identifier.
  • Synchronizing external contact lists with Wappfy's internal identifiers.

Properties

Name Meaning
Phone Number Phone number to get LID for

The "Phone Number" property expects a string representing the phone number whose LID you want to retrieve.

Output

The output of this operation is a JSON object containing the details of the LID associated with the provided phone number. The exact structure depends on the Wappfy API response but typically includes fields identifying the LID and possibly related metadata.

If multiple items are returned, each will be output as a separate JSON object in the array.

No binary data output is involved in this operation.

Dependencies

  • Requires an active Wappfy API credential configured in n8n, including:

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

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Providing an incorrectly formatted phone number may result in no data found or errors.
    • Network connectivity issues can prevent successful API calls.
  • Error messages:

    • Errors from the Wappfy API will be propagated, often indicating invalid parameters or authorization problems.
    • If the node is set to continue on fail, error details will appear in the output JSON under an error field.
  • Resolution tips:

    • Verify that the API key and instance details are correctly configured.
    • Ensure the phone number is in the expected format accepted by the Wappfy API.
    • Check network access and firewall settings if requests fail.

Links and References

Discussion