WhatsApp - Actions icon

WhatsApp - Actions

Ações do WhatsApp - Enviar mensagens, mídias, gerenciar sessões

Contato → Obter Detalhes

AI-generated

Overview

This node interacts with the WhatsApp API to perform various actions related to WhatsApp sessions, messages, contacts, groups, and media. Specifically, for the 'Contato' resource and 'Obter Detalhes' operation, it fetches detailed information about a specific WhatsApp contact using the contact's full JID (Jabber ID). This is useful for workflows that need to retrieve contact details for further processing or decision-making, such as customer support automation or contact management.

Use Case Examples

  1. Retrieve detailed information about a specific WhatsApp contact by providing the contact's JID and session name.
  2. Use the node to fetch contact details to personalize messages or update contact records in a CRM system.

Properties

Name Meaning
Sessão The name of the WhatsApp session to use for fetching contact details.
JID do Contato The full JID of the contact whose details are to be retrieved. This is required to identify the specific contact.

Output

JSON

  • contactDetails - Detailed information about the specified WhatsApp contact returned from the API.

Dependencies

  • Requires an API key credential for the WhatsApp API (referred to as 'whatsAppBrApi' in the code).

Troubleshooting

  • Ensure the session name provided is correct and the session is active; otherwise, the API call may fail.
  • Verify that the contact JID is correctly formatted and exists in the WhatsApp session.
  • Common error messages may include authorization errors if the API key is invalid or missing, or not found errors if the contact JID does not exist.

Discussion