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 (setPrivacy) operation, it allows users to update one or multiple privacy settings of a specific WhatsApp instance.

Typical use cases include:

  • Automating privacy configuration changes on WhatsApp instances without manual intervention.
  • Setting who can see last seen, status, profile photo, read receipts, online status, group additions, and call permissions.
  • Managing privacy preferences programmatically in bulk for multiple instances or workflows.

For example, you could configure an instance so that only contacts (or no one) can see your last seen status or disable read receipts automatically.

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 setting 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 assign to 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 applying the privacy settings. This typically includes confirmation of updated settings or error details if the update failed.

No binary data is produced by this operation.

Example output snippet:

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

Dependencies

  • Requires access to the uazapiGO API endpoint specified by the "Url" property.
  • Needs a valid authentication token for the specific WhatsApp instance provided in the "Token da Instância" property.
  • No special n8n credentials are mandatory but an API key credential may be used for admin operations (not applicable here).
  • Network connectivity to the API endpoint must be ensured.

Troubleshooting

  • Invalid or missing token: If the token is incorrect or missing, the API will reject the request. Ensure the token corresponds to the target WhatsApp instance.
  • Malformed privacy settings: Providing invalid keys or values not listed in the options may cause errors. Use only supported keys and values.
  • API endpoint unreachable: Verify the base URL is correct and accessible from the n8n environment.
  • Empty or incomplete settings: If no privacy settings are provided, the API call may fail or have no effect. Always specify at least one setting.
  • Error responses: The node throws errors with messages returned by the API. Review these messages to adjust parameters accordingly.

Links and References


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

Discussion