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 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
- Create a new WhatsApp session named 'default' with custom configuration and start it immediately.
- 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
- WhatsApp Automation Node Documentation - Official documentation for configuring and using the WhatsApp Automation node in n8n.