Evolution API Direct icon

Evolution API Direct

Interact with Evolution API using direct URL and API Key

Overview

This node, named "Evolution API Direct," allows users to interact directly with the Evolution API by specifying a server URL and an API key. It supports various resources and operations; in this case, focusing on the resource Perfil (Profile) and the operation Atualizar Nome Do Perfil (Update Profile Name). The node is designed to update the name of a profile within the Evolution API instance.

Typical use cases include automating profile management tasks such as renaming user profiles or organizational profiles programmatically without manual intervention. For example, when migrating users or updating naming conventions, this node can be integrated into workflows to update profile names efficiently.

Properties

Name Meaning
Server URL The full URL of your Evolution API server endpoint (e.g., https://api.exemplo.com).
API Key The API key credential required to authenticate requests against the Evolution API.
Nome Da Instância The name of the specific Evolution API instance where the profile resides.
Nome The new name to assign to the profile being updated.

Output

The node outputs a JSON array containing the response from the Evolution API after attempting to update the profile name. The structure of the JSON output depends on the API's response but typically includes confirmation of the update or details about the updated profile.

No binary data output is expected from this operation.

Dependencies

  • Requires access to the Evolution API endpoint specified by the user.
  • Requires a valid API key for authentication.
  • The node expects the user to provide the correct instance name and profile name to update.
  • No additional external dependencies beyond standard HTTP request capabilities.

Troubleshooting

  • Common Issues:

    • Incorrect or missing Server URL or API Key will cause authentication failures.
    • Providing an invalid instance name or profile name may result in errors or no changes.
    • Network connectivity issues can prevent successful API calls.
  • Error Messages:

    • "Operação não suportada." indicates that the selected operation is not implemented for the chosen resource.
    • API errors returned from the Evolution API (e.g., unauthorized, not found) should be checked for proper credentials and parameters.
  • Resolutions:

    • Verify the Server URL and ensure it points to the correct Evolution API endpoint.
    • Confirm the API key is valid and has sufficient permissions.
    • Double-check the instance and profile names for typos or incorrect values.
    • Ensure network connectivity and firewall settings allow outbound requests to the API.

Links and References

  • Evolution API Documentation (as referenced in the node's default base URL)
  • Consult your Evolution API provider for detailed API usage and authentication requirements.

Discussion