UazapiGo Unofficial icon

UazapiGo Unofficial

Interage com a API uazapiGO para gerenciar instâncias e enviar mensagens

Overview

This node integrates with the unofficial uazapiGO API to manage WhatsApp instances and send messages. Specifically, for the Instancia resource and the Alterar configurações de privacidade operation, it allows users to update one or multiple privacy settings of a specific WhatsApp instance. This is useful for controlling who can see certain information or perform actions on the WhatsApp instance, such as viewing last seen, status, profile photo, read receipts, online status, group additions, and call permissions.

Practical examples include:

  • Restricting "last seen" visibility to contacts only.
  • Disabling read receipts for all users.
  • Allowing calls only from known numbers.

This node is beneficial in automating privacy management for WhatsApp instances in workflows that require dynamic control over user privacy settings.

Properties

Name Meaning
Url Base URL of the uazapiGO API (default: https://api.uazapigo.com).
Token da Instância Authentication token for the specific WhatsApp instance (not a credential).
Configurações Privacy settings to be changed. Multiple configurations can be added. Each configuration includes:
- Chave (key) The privacy setting key to change. Options:
• Adicionar grupos (groupadd)
• Ver por último (last)
• Ver Status (status)
• Ver foto de perfil (profile)
• Confirmar leitura (readreceipts)
• Ver status online (online)
• Fazer chamadas (calladd)
- Valor (value) The value to set for the selected key. Options:
• Todos (all)
• Apenas contatos (contacts)
• Contatos exceto bloqueados (contact_blacklist)
• Ninguém (none)
• Corresponder ao visto por último (match_last_seen)
• Números conhecidos (known)

Output

The node outputs an array of JSON objects corresponding to each input item processed. For the Alterar configurações de privacidade operation, the output JSON contains the response from the uazapiGO API after attempting to update the privacy settings. This typically includes confirmation of the updated settings or error details if the update failed.

No binary data is output by this operation.

Example output JSON structure:

{
  "success": true,
  "updatedSettings": {
    "groupadd": "contacts",
    "last": "none"
  }
}

(Note: Actual response fields depend on the API's response.)

Dependencies

  • Requires access to the uazapiGO API endpoint, configurable via the "Url" property.
  • Requires a valid authentication token for the specific WhatsApp instance ("Token da Instância").
  • No special n8n credentials are mandatory but can be optionally configured.
  • HTTP requests are made with JSON payloads and expect JSON responses.

Troubleshooting

  • Missing or invalid token: If the token is missing or incorrect, the API will reject the request. Ensure the "Token da Instância" is correctly provided.
  • Invalid privacy keys or values: Using unsupported keys or values may cause the API to return errors. Use only the predefined options for keys and values.
  • Network issues: Connectivity problems to the API URL will cause request failures. Verify network access and correct base URL.
  • API errors: The node throws errors received from the API. Check the error message for details and adjust parameters accordingly.
  • Empty or null values: The node removes empty or null properties before sending the request; ensure required fields are filled.

Links and References


If you need further details about other operations or resources, feel free to ask!

Discussion