Evolution API Direct icon

Evolution API Direct

Interact with Evolution API using direct URL and API Key

Overview

The node "Evolution API Direct" allows users to interact directly with the Evolution API by specifying a resource and an operation, along with necessary parameters such as server URL and API key. Specifically, for the resource Perfil (Profile) and the operation Atualizar Foto Do Perfil (Update Profile Picture), this node updates the profile picture by setting a new image URL.

This node is beneficial in scenarios where you want to programmatically update user profile pictures in the Evolution system, for example:

  • Automatically updating profile photos based on external events or data sources.
  • Synchronizing profile images from another system or database.
  • Bulk updating profile pictures via workflows.

Properties

Name Meaning
Server URL The full URL of your Evolution API instance (e.g., https://api.exemplo.com).
API Key The API key credential required to authenticate requests to the Evolution API.
Nome Da Instância The name of the specific Evolution API instance you are targeting.
URL Da Imagem The URL of the image that will be set as the new profile picture.

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 returning binary data (e.g., the updated image), it would be included accordingly, but based on the provided code and properties, the output is primarily JSON data reflecting the operation result.

Dependencies

  • Requires access to the Evolution API endpoint specified by the Server URL.
  • Requires a valid API key credential for authentication.
  • Proper configuration of the instance name to target the correct Evolution API instance.

Troubleshooting

  • Operation not supported error: If you receive an error stating the operation is not supported, verify that the resource and operation names are correctly spelled and supported by the node.
  • Authentication errors: Ensure the API key is valid and has sufficient permissions.
  • Invalid URL or image URL: Confirm that the Server URL and the image URL are correctly formatted and accessible.
  • Network issues: Check connectivity to the Evolution API server.
  • Missing required parameters: Make sure all required fields (Server URL, API Key, Instance Name, Image URL) are provided.

Links and References

  • Evolution API Documentation (as referenced in the node's default base URL)
  • Your Evolution API instance documentation for specifics on profile picture update endpoints and requirements.

Discussion