WAHA

Connect with Whatsapp HTTP API

Actions116

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

  1. Restarting a user session in a chatbot to clear previous conversation context.
  2. 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.

Discussion