Evolution API icon

Evolution API

Interact with Evolution API

Actions114

Group → Update Participants

AI-generated

Overview

This node operation allows updating participants in a group within the Evolution API. It supports actions such as adding members, removing members, promoting members to admin, and demoting admins to members. This is useful for managing group membership dynamically, for example, adding new users to a chat group, removing inactive users, or changing user roles within the group.

Use Case Examples

  1. Add new members to a group by specifying their phone numbers.
  2. Remove members from a group by providing their identifiers.
  3. Promote certain members to admin status to grant them additional privileges.
  4. Demote admins back to regular members when necessary.

Properties

Name Meaning
Instance Name The name of the Evolution API instance to use for the request.
Group ID The unique identifier of the group whose participants are to be updated.
Action The type of update action to perform on the group participants, such as adding, removing, promoting, or demoting members.
Members A comma-separated list of member phone numbers to be updated in the group.

Output

JSON

  • result - The response from the Evolution API after updating the group participants, typically confirming the success or failure of the operation.

Dependencies

  • Requires an Evolution API credential for authentication to interact with the Evolution API.

Troubleshooting

  • Ensure the Group ID is correct and corresponds to an existing group in the Evolution API instance.
  • Verify that the member phone numbers are correctly formatted and separated by commas.
  • Check that the Evolution API credentials are valid and have the necessary permissions to update group participants.
  • Common error messages may include unsupported operations if the action is not recognized, or authorization errors if credentials are invalid.

Discussion