Actions20
- Message Actions
- Presence Actions
- Session Actions
- Group Actions
- Contact Actions
Session → Create
AI-generatedSummary
Create a new WhatsApp session via the Wacap API.
Inputs
- Session ID (required) — Identifier for the session; defaults to 'default'.
- Session Name — Optional friendly name for the session.
Output shape
JSON object returned by the Wacap /api/sessions endpoint (typically session details).
On success the node returns the API response; on failure it throws an error unless continueOnFail is enabled.
Examples
Example 1: Initialize a WhatsApp session for later messaging.
Set Session ID to 'my-session' and Session Name to 'My WhatsApp Bot'.