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 operation, along with necessary parameters such as server URL and API key. Specifically, for the Resource "Grupo" and Operation "Atualizar Configurações" (Update Settings), this node updates group settings on the Evolution platform. It is useful in scenarios where administrators want to control who can send messages or edit group configurations programmatically.

Practical examples include:

  • Restricting message sending permissions so that only admins can send messages.
  • Allowing all members to send messages.
  • Locking or unlocking group configuration editing rights to admins or all members.

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 for authenticating requests to the Evolution API instance.
Nome Da Instância The name of the specific Evolution API instance you are targeting.
ID Do Grupo The unique identifier of the group whose settings you want to update.
Ação The setting action to apply to the group. Options:
- Somente Admins Enviam Mensagens (Only admins can send messages)
- Todos Enviam Mensagens (Everyone can send messages)
- Somente Admins Editam Configurações (Only admins can edit settings)
- Todos Editam Configurações (Everyone can edit settings)

Output

The node outputs a JSON array containing the response from the Evolution API after attempting to update the group settings. This typically includes confirmation of the updated settings or error details if the update failed.

No binary data output is indicated.

Dependencies

  • Requires access to the Evolution API endpoint specified by the user.
  • Requires a valid API key credential for authentication.
  • The user must provide the correct server URL and instance name corresponding to their Evolution API setup.

Troubleshooting

  • Common Issues:

    • Incorrect or missing API key leading to authentication failures.
    • Invalid group ID causing the API to reject the update request.
    • Network connectivity issues preventing communication with the Evolution API server.
    • Using unsupported operations or resources will throw an error.
  • Error Messages:

    • "Operação não suportada." indicates the selected operation is not supported for the chosen resource. Verify that the resource and operation names are correct.
    • Authentication errors usually indicate invalid or missing API keys; ensure the API key is correctly entered.
    • If the group ID is invalid, the API may return an error indicating the group was not found.

Links and References

Discussion