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 you to change the profile image of a WhatsApp instance.
Typical use cases include:
- Updating the WhatsApp profile picture programmatically as part of automation workflows.
- Removing the profile image by setting it to "remove".
- Setting the profile image from a URL or Base64 encoded string.
For example, you could automate changing your WhatsApp profile picture daily or in response to certain events without manual intervention.
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 an n8n credential). |
| Imagem do Perfil | The new profile image to set. Can be a URL, a Base64 string, or the string "remove" to delete the current profile image. |
Output
The node outputs a JSON object containing the response from the uazapiGO API after attempting to update the profile image. This typically includes status information about the success or failure of the operation.
No binary data is output 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. - Requires a valid authentication token (
Token da Instância) for the WhatsApp instance. - No special n8n credentials are mandatory, but the token must be provided manually or via other means.
- The node uses standard HTTP requests to communicate with the API.
Troubleshooting
- Invalid or missing token: If the token is incorrect or not provided, the API will reject the request. Ensure the token corresponds to the target WhatsApp instance.
- Incorrect image format: The
imageproperty must be a valid URL, a Base64 string, or the exact string"remove". Invalid formats may cause errors. - Network issues: Verify that the base URL is reachable and correct. The URL should start with
https://. - API errors: The API might return errors if the instance is offline or the profile cannot be updated at the moment. Check the API response message for details.
- Empty properties: The node removes empty or null properties before sending the request; ensure required fields are filled.
Links and References
- uazapiGO Official API Documentation (Assumed based on URL, verify actual docs)
- WhatsApp Profile Management Concepts: https://faq.whatsapp.com/general/chats/how-to-change-your-profile-photo/
- n8n HTTP Request Node Documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
If you need further details on other resources or operations, feel free to ask!