WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node creates a session in a WhatsApp automation environment. It allows users to specify a session name, configure session settings, and optionally start the session immediately after creation. This is useful for managing multiple WhatsApp sessions programmatically, such as for customer support, marketing automation, or chatbot interactions.

Use Case Examples

  1. Create a new WhatsApp session named 'default' with custom configuration and start it immediately.
  2. Create multiple sessions with different configurations for handling various WhatsApp accounts or purposes.

Properties

Name Meaning
Name The unique identifier or name for the session to be created.
Start Boolean flag to determine whether the session should be started immediately after creation.
Config JSON configuration object for the session, including metadata, proxy settings, webhook URLs and events, debug options, and storage settings.
Request Options Settings for HTTP request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • sessionId - The unique identifier of the created session.
  • status - The current status of the session after creation (e.g., started, stopped).
  • config - The configuration details of the created session as provided in the input.

Dependencies

  • Requires an API key credential or authentication token to interact with the WhatsApp automation service.

Troubleshooting

  • Ensure the session name is unique to avoid conflicts or errors during creation.
  • Verify the JSON configuration is correctly formatted to prevent parsing errors.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL validation errors occur, consider enabling the 'Ignore SSL Issues' option cautiously.

Links

Discussion