Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Contact → Check on Whatsapp
AI-generatedOverview
This node operation checks if a given phone number or JID (Jabber ID) is registered on WhatsApp using the WasenderAPI. It is useful for verifying the existence of a contact on WhatsApp before attempting to send messages or perform other contact-related operations. For example, a user can input a phone number to confirm if it is active on WhatsApp, helping to avoid sending messages to invalid contacts.
Use Case Examples
- Verify if a phone number is registered on WhatsApp before sending a message.
- Check the WhatsApp status of a contact's JID to validate contact information.
Properties
| Name | Meaning |
|---|---|
| Session | Select or specify the WhatsApp session to use for the API request. This can be chosen from a list or by ID, or automatically selected from the incoming item. |
| Phone Number or JID | The phone number or Jabber ID of the contact to check on WhatsApp. This is required and should be in the format like '212612345678@s.whatsapp.net'. |
| Options | Additional request options such as retry behavior and maximum retry attempts for the API request. |
Output
JSON
exists- Boolean indicating if the contact exists on WhatsApp.jid- The Jabber ID of the contact checked.
Dependencies
- WasenderAPI service with an API key credential for authentication.
Troubleshooting
- Ensure the session ID or auto-selected session is correctly provided; otherwise, the node will throw an error indicating a missing session.
- The phone number or JID must be correctly formatted; invalid formats may cause the API request to fail.
- If the API returns errors like 408, 429, 500, 502, or 503, the node can retry the request based on the retry options configured.