Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Contact → Get Phone From LID
AI-generatedOverview
This node operation retrieves the phone number associated with a given LID (Local ID) from the WasenderAPI contact resource. It is useful in scenarios where you have a LID and need to find the corresponding phone number, such as syncing contact information or validating contact details.
Use Case Examples
- Given a LID like '12345678901@lid', the node fetches the associated phone number from the WasenderAPI contact database.
- This operation can be used in workflows that manage WhatsApp contacts by linking LIDs to phone numbers.
Properties
| Name | Meaning |
|---|---|
| LID | The Local ID (LID) string used to look up the corresponding phone number. This is a required input. |
| Session | Optional session selection to specify which WasenderAPI session to use for the request. Can be selected from a list or by ID. |
| Auto Selected Session ID | Automatically uses the session ID from the incoming item if available, unless overridden. |
| Has Auto Selected Session | Indicates if there is an auto-selected session ID available from the incoming data. |
| Options | Additional request options such as retry behavior and maximum retry attempts for the API call. |
Output
JSON
phone- The phone number corresponding to the provided LID.status- Status of the API request or contact lookup.
Dependencies
- Requires an API key credential for WasenderAPI to authenticate requests.
Troubleshooting
- Common issues include invalid or missing LID input, which will cause the API request to fail.
- If the session is not specified and no auto-selected session ID is available in the input data, the node will throw an error indicating that a session is required.
- API request failures due to network issues or rate limiting may occur; enabling retry options can help mitigate transient errors.