Evolution API icon

Evolution API

Interact with Evolution API

Actions114

Instance → Set Presence

AI-generated

Overview

This node interacts with the Evolution API to set the presence status of a specified instance. It is useful in scenarios where you need to programmatically update the availability status of an instance, such as marking it as 'Available' or 'Unavailable'. For example, it can be used in automated workflows to reflect real-time presence changes in a system or application.

Use Case Examples

  1. Setting an instance's presence to 'Available' when a user logs in.
  2. Marking an instance as 'Unavailable' during maintenance windows.

Properties

Name Meaning
Instance Name The name of the instance whose presence status is to be set.
Presence The presence status to set for the instance, either 'Available' or 'Unavailable'.

Output

JSON

  • presenceStatus - The updated presence status of the instance.
  • instanceName - The name of the instance whose presence was set.

Dependencies

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

Troubleshooting

  • If the node throws an 'Unsupported operation' error, verify that the resource and operation names are correctly specified.
  • Ensure the API key credential is valid and has the necessary permissions to set instance presence.
  • Check network connectivity and the base URL for the Evolution API to avoid request failures.

Discussion