Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Contact → Get Contact
AI-generatedOverview
This node operation retrieves detailed information about a specific contact from a WhatsApp session using the WasenderAPI. It is useful for scenarios where you need to fetch contact details such as name, status, or other metadata for a given contact JID (Jabber ID). For example, it can be used in workflows that manage customer interactions or update contact records based on WhatsApp data.
Use Case Examples
- Fetch contact details by selecting a contact from a list in a WhatsApp session.
- Retrieve contact information by specifying the contact's JID directly.
Properties
| Name | Meaning |
|---|---|
| Session | Optional selection of a WhatsApp session to use for the request. If not provided, the session from the incoming item is used. |
| Contact | The contact to retrieve information for, specified either by selecting from a list or by providing the contact's JID. |
| Options | Additional request options such as retry behavior and maximum retry attempts for API requests. |
Output
JSON
contactId- The unique identifier (JID) of the contact.name- The full name of the contact.status- The status message or presence information of the contact.phoneNumber- The phone number associated with the contact.profilePictureUrl- URL to the contact's profile picture, if available.
Dependencies
- WasenderAPI service with an API key credential for authentication.
Troubleshooting
- Common issues include missing or invalid session ID, which results in errors indicating that a session is required.
- Invalid or missing contact JID will cause the node to throw an error indicating the contact identifier is required.
- API request failures due to network issues or rate limiting may occur; enabling retry options can help mitigate transient errors.
Links
- WasenderAPI Contact Get Endpoint - Official API documentation for retrieving contact information using WasenderAPI.