Actions9
Overview
This node integrates with the ZuckZapGo WhatsApp API to retrieve user-related information and manage presence on WhatsApp. Specifically, the "Get LID From Phone" operation allows users to obtain the Local ID (LID) associated with a given phone number or JID (Jabber ID). This is useful in scenarios where you need to map a phone number to its internal WhatsApp identifier for further processing or integration.
Practical examples include:
- Synchronizing contacts by converting phone numbers into their corresponding LIDs.
- Automating workflows that require referencing users by their LID rather than phone numbers.
- Integrating with other systems that use LID as a unique identifier for WhatsApp users.
Properties
| Name | Meaning |
|---|---|
| Phone Number or JID | The phone number or Jabber ID (JID) for which to retrieve the Local ID (LID). Examples: 5491155553934 or 5491155553934@s.whatsapp.net. This field is required for the "Get LID From Phone" operation. |
Output
The output JSON contains the response from the ZuckZapGo API endpoint /user/lid/get, which returns the Local ID (LID) corresponding to the provided phone number or JID.
The structure typically includes:
- The LID string associated with the input phone number/JID.
- Possibly additional metadata related to the user or mapping.
No binary data is produced by this operation.
Dependencies
- Requires an active connection to the ZuckZapGo WhatsApp API.
- Requires an API key credential configured in n8n to authenticate requests to the ZuckZapGo API.
- The node uses the internal helper function to validate phone numbers before sending requests.
Troubleshooting
- Invalid Phone Number or JID: If the input phone number or JID is malformed or not recognized by WhatsApp, the API may return an error or no LID. Ensure the phone number is in international format without spaces or special characters unless it is a valid JID.
- API Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key credential is correctly set up in n8n.
- Network Issues: Connectivity problems can prevent the node from reaching the ZuckZapGo API. Check network settings and firewall rules.
- Empty or Unexpected Response: If the API returns empty data or unexpected fields, verify that the phone number/JID exists and is registered on WhatsApp.
Links and References
- ZuckZapGo WhatsApp API Documentation (hypothetical link)
- WhatsApp JID Format Explanation (general info about JIDs)
If you want details on other operations or resources, please provide their names.