Actions64
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
Overview
This node, named "Evolution API," allows users to interact with the Evolution API service. Specifically, for the Profile resource and the Update Profile Picture operation, it updates the profile photo by setting a new image URL. This is useful in scenarios where you want to programmatically change or update a user's profile picture based on external image URLs, such as syncing profile photos from another system or updating avatars automatically.
Practical examples include:
- Automatically updating user profile pictures when they change in an external CRM.
- Setting default profile images for new users based on predefined URLs.
- Syncing profile photos from social media or other platforms into the Evolution API system.
Properties
Name | Meaning |
---|---|
Name Da Instância | The name of the instance where the profile exists; required to identify the target instance. |
URL Da Imagem | The URL of the image that will be set as the new profile photo. |
Output
The node outputs a JSON array containing the response from the Evolution API after attempting to update the profile picture. The exact structure depends on the API's response but typically includes confirmation of success or details about the updated profile.
If the API supports binary data (e.g., returning the image or related files), it would be included accordingly, but based on the provided code and properties, the output focuses on JSON responses.
Dependencies
- Requires an API key credential for authenticating with the Evolution API service.
- The base URL for requests is
https://doc.evolution-api.com/api-reference
. - Proper configuration of the API authentication credentials within n8n is necessary.
Troubleshooting
- Operation not supported error: If you select an unsupported operation or resource, the node throws an error indicating the operation is not supported. Ensure you use valid combinations of resource and operation.
- Invalid or missing instance name: Since the instance name is required, leaving it empty or incorrect may cause the API call to fail.
- Invalid image URL: Providing an invalid or inaccessible image URL might result in the profile picture not updating correctly.
- Authentication errors: Make sure the API key or authentication token is correctly configured and has sufficient permissions.
- Network issues: Connectivity problems can prevent successful API calls.
Links and References
- Evolution API Documentation (base URL used in the node)
- Refer to your Evolution API provider’s official docs for detailed information on profile management and image upload requirements.