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 profiles, send messages, and configure webhooks. Specifically, for the Perfil resource with the operation Altera a imagem do perfil do WhatsApp, it allows users to change the profile image of a WhatsApp instance.
Typical use cases include:
- Updating the WhatsApp profile picture programmatically as part of an automation workflow.
- Removing the current profile image by sending a special command.
- Setting a new profile image from a URL or Base64 string without manual intervention.
For example, a business could automatically update their WhatsApp profile picture daily with promotional images or seasonal branding.
Properties
| Name | Meaning |
|---|---|
| Url | Base URL of the uazapiGO API. Example: https://api.uazapigo.com |
| Token da Instância | Authentication token for the specific WhatsApp instance (not a credential). |
| Imagem do Perfil | The new profile image to set. Can be a URL, a Base64 encoded image, or the string "remove" to delete the current profile image. |
Output
The node outputs a JSON object representing the response from the uazapiGO API after attempting to change the profile image. This typically includes status information about the success or failure of the operation.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"success": true,
"message": "Profile image updated successfully"
}
or in case of error:
{
"error": "Invalid token or image format"
}
Dependencies
- Requires access to the uazapiGO API endpoint specified by the
Urlproperty. - Needs a valid authentication token (
Token da Instância) for the target WhatsApp instance. - No additional external dependencies beyond standard HTTP requests.
- Optionally configured with an API key credential for admin operations, but not required for this profile image update.
Troubleshooting
Common issues:
- Invalid or missing authentication token will cause authorization errors.
- Incorrect image format or invalid URL/Base64 string may result in API rejection.
- Network connectivity problems to the specified API URL can cause request failures.
Error messages:
"Credenciais de Admin não encontradas."— Occurs if admin credentials are expected but missing; not applicable here since this operation uses instance token.- API errors returned in JSON under
errorfield should be checked for details.
Resolutions:
- Verify the token is correct and has permissions for profile updates.
- Ensure the image data is properly formatted (valid URL or Base64).
- Confirm the API base URL is reachable and correctly formatted (including protocol).
- Use the
"remove"string exactly to clear the profile image.
Links and References
- uazapiGO Official API Documentation (for detailed API endpoints and parameters)
- n8n HTTP Request Node documentation (for understanding underlying HTTP calls)
This summary focuses on the Perfil resource and the setImage operation as requested.