Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to perform various operations based on the selected resource and operation. Specifically, for the 'Chat' resource and 'Block Contact' operation, it allows users to block or unblock a contact by specifying the contact number and the desired action. This is useful for managing contact permissions in chat applications, such as preventing unwanted messages from certain contacts or restoring communication with previously blocked contacts.

Use Case Examples

  1. Block a contact by providing the contact number and setting the action to 'Block'.
  2. Unblock a contact by providing the contact number and setting the action to 'Unblock'.

Properties

Name Meaning
Instance Name The name of the instance to connect to the Evolution API.
Contact The contact number to be blocked or unblocked.
Action The action to perform on the contact, either block or unblock.

Output

JSON

  • status - The result status of the block or unblock action.
  • message - Additional information or confirmation message about the action performed.

Dependencies

  • Requires an API key credential for the Evolution API to authenticate requests.

Troubleshooting

  • Ensure the 'Instance Name' is correctly specified to connect to the right Evolution API instance.
  • Verify that the contact number ('Contact') is in the correct format expected by the API.
  • Check that the API key credential is valid and has the necessary permissions to perform block/unblock actions.
  • Common error: 'Unsupported operation.' indicates that the selected operation is not implemented or recognized by the node. Verify the resource and operation names.

Discussion