Actions35
- Chat Actions
- Chatwoot Actions
- Group Actions
- Instance Actions
- Message Actions
- Webhook Actions
Instance → Is On WhatsApp
AI-generatedOverview
This node operation checks if a specific contact (phone number) is registered on WhatsApp. It is useful for verifying whether a given phone number is active on WhatsApp before attempting to send messages or perform other WhatsApp-related actions. For example, a user can input a contact's JID (in the format phone_number@s.whatsapp.net) to confirm their WhatsApp registration status.
Use Case Examples
- Check if 5511999999999@s.whatsapp.net is registered on WhatsApp before sending a message.
- Verify multiple contacts' WhatsApp registration status in a batch process.
Properties
| Name | Meaning |
|---|---|
| Contact JID | The WhatsApp JID (contact identifier) to check. Format: phone_number@s.whatsapp.net (e.g., 5511999999999@s.whatsapp.net). |
Output
JSON
isOnWhatsapp- Boolean indicating if the contact is registered on WhatsAppjid- The WhatsApp JID that was checked
Dependencies
- Requires an API key credential for MegaAPI WhatsApp service authentication.
Troubleshooting
- Ensure the Contact JID is in the correct format: phone_number@s.whatsapp.net.
- If the node throws an 'Unknown operation' error, verify that the operation parameter is set to 'isOnWhatsapp'.
- Check API credentials and network connectivity if the node fails to communicate with the MegaAPI service.
Links
- MegaAPI WhatsApp API Documentation - Official documentation for the MegaAPI WhatsApp service used by this node.