Actions76
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
- Profile Actions
- LID Actions
- File Actions
LID → Get by LID
AI-generatedOverview
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 linked identifier and want to resolve it to the corresponding WhatsApp phone number.
Practical examples include:
- Looking up a user's phone number based on a unique linked identifier stored in your system.
- Integrating with CRM or contact management systems that use LIDs to reference WhatsApp contacts.
- Automating workflows that require mapping between internal IDs and WhatsApp numbers.
Properties
| Name | Meaning |
|---|---|
| LID | The Linked ID whose associated phone number you want to retrieve. This is a required string input. |
Output
The output of this operation is a JSON object containing the details returned by the Wappfy API for the specified LID. Typically, this will include the phone number linked to the provided LID and possibly other related metadata.
If multiple items are returned (though unlikely for a single LID lookup), they are output as separate JSON objects in an array.
No binary data output is involved in this operation.
Dependencies
- Requires an active Wappfy API credential with a valid API key and instance name configured in n8n.
- The node makes HTTP requests to the Wappfy API base URL using these credentials.
- Proper network access to the Wappfy API endpoint is necessary.
Troubleshooting
Common issues:
- Invalid or missing LID parameter will cause the API request to fail.
- Incorrect or expired API credentials will result in authentication errors.
- Network connectivity problems can prevent reaching the Wappfy API.
Error messages:
- Errors from the API are caught and returned as error messages in the output if "Continue On Fail" is enabled.
- Typical errors include "Not Found" if the LID does not exist, or "Unauthorized" if API keys are invalid.
Resolution tips:
- Verify the LID value is correct and exists in the Wappfy system.
- Check that the API key and instance name credentials are correctly set up and active.
- Ensure your environment allows outbound HTTPS requests to the Wappfy API.
Links and References
- Wappfy API Documentation (example link; replace with actual if available)
- n8n documentation on HTTP Request Node for understanding API calls
- General WhatsApp Business API integration guides for context on linked IDs and contact management