Actions116
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ļø Sessions Actions
- š Profile Actions
- š¼ļø Screenshot Actions
- š¤ Chatting Actions
- š¢ Channels Actions
- š¢ Status Actions
- š„ Groups Actions
- Add Participants
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Remove Participants
- Promote To Admin
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
- š Auth Actions
Overview
This node retrieves the presence status of a user in a chat session. It is useful for scenarios where you need to check if a user is online, offline, or has another presence state in a messaging or communication platform. For example, it can be used in customer support workflows to determine if an agent is available or in social applications to show user availability.
Use Case Examples
- Check if a user is online before sending a message.
- Monitor user presence status to trigger notifications or automated responses.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session to use for retrieving presence information. |
| Chat Id | The unique identifier of the chat for which to get the presence status. |
| Request Options | Additional options to customize the request such as batching, SSL certificate validation, proxy settings, and timeout. |
Output
JSON
presenceStatus- The presence status of the user in the chat (e.g., online, offline, away).chatId- The chat identifier for which the presence was retrieved.session- The session name used to retrieve the presence information.
Dependencies
- Requires an API key or authentication token to access the messaging platform's presence API.
Troubleshooting
- Ensure the session name and chat ID are correct and valid; incorrect values will cause errors or empty responses.
- If SSL certificate validation fails and the request is blocked, enable the 'Ignore SSL Issues' option to bypass validation (not recommended for production).
- Proxy settings must be correctly configured if used; incorrect proxy details can cause request failures.
- Timeout errors may occur if the server is slow or unresponsive; increase the timeout value if needed.