Actions116
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Add Participants
- Remove Participants
- Promote To Admin
- 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
- 🖥️ Sessions Actions
- 🆔 Profile Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
- 🔑 Auth Actions
Overview
This node operation allows restarting a specified session by its name. It is useful in scenarios where a session needs to be reset or refreshed, such as recovering from errors, clearing session state, or reinitializing connections. For example, restarting a session in a chat or automation platform to ensure a clean state before processing new inputs.
Use Case Examples
- Restarting a user session in a chatbot to clear previous conversation context.
- Resetting a session in an automation workflow to recover from an error state.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session to be restarted. This is a required string input that identifies which session to restart. |
| Request Options | Optional settings to customize the HTTP request behavior when restarting the session, including batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
session- The name of the session that was restarted.status- The status or result of the restart operation, indicating success or failure.message- Additional information or message returned from the restart operation.
Dependencies
- Requires an API key or authentication token to access the session management service.
Troubleshooting
- If the session name is incorrect or does not exist, the node may return an error indicating the session was not found. Verify the session name input.
- Timeout errors may occur if the server does not respond within the specified timeout period. Increase the timeout setting if needed.
- SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security and should be used cautiously.
- Proxy configuration errors may prevent the request from reaching the server. Ensure the proxy URL and credentials are correct.