Actions18
- Administração Actions
- Instancia Actions
- Perfil Actions
- Webhooks e SSE Actions
- Enviar Mensagem Actions
Overview
This node integrates with the unofficial uazapiGO API to manage WhatsApp instances and send messages. It supports various operations such as connecting or disconnecting WhatsApp instances, updating instance names, deleting instances, managing privacy settings, handling webhooks, and sending text or media messages.
For the "Deletar instância" (Delete instance) operation under the Instancia resource, the node sends a DELETE request to remove a specific WhatsApp instance from the system. This is useful when you want to clean up or permanently remove an instance that is no longer needed.
Practical example:
You have multiple WhatsApp instances connected for different departments in your company. When one department discontinues using the service, you can use this node operation to delete its associated instance from the uazapiGO system, ensuring no further messages or connections occur for that instance.
Properties
| Name | Meaning |
|---|---|
| Url | Base URL of the uazapiGO API. Default is https://api.uazapigo.com. |
| Token da Instância | Authentication token for the specific WhatsApp instance. Required to authorize API requests. |
Note: For the "Deletar instância" operation, the node uses the base URL and the instance token to authenticate and perform the deletion.
Output
The output is a JSON object representing the response from the uazapiGO API after attempting to delete the instance. The exact structure depends on the API's response but typically includes confirmation of deletion or error details.
No binary data is output by this operation.
Example output JSON might look like:
{
"success": true,
"message": "Instance deleted successfully"
}
or in case of failure:
{
"success": false,
"error": "Instance not found"
}
Dependencies
- Requires access to the uazapiGO API endpoint.
- Needs a valid authentication token for the specific WhatsApp instance to be deleted.
- Optional: Admin credentials if performing admin-level operations (not required for this operation).
- No additional environment variables are explicitly required beyond the token and URL parameters.
Troubleshooting
Common issues:
- Missing or invalid instance token: The API will reject the request if the token is absent or incorrect.
- Incorrect base URL: Ensure the URL is correctly formatted and reachable.
- Instance does not exist: Trying to delete a non-existent instance will result in an error.
Error messages:
"Credenciais de Admin não encontradas."— Not applicable here since this operation does not require admin credentials.- API errors returned in the JSON response should be checked for details.
Resolution tips:
- Verify the token is correct and has permissions to delete the instance.
- Confirm the instance ID corresponds to an existing instance.
- Check network connectivity to the API URL.
Links and References
- uazapiGO Official API Documentation (Assumed based on URL; verify actual docs)
- n8n HTTP Request Node documentation for understanding request/response handling: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/