Actions11
- Session Actions
- Linked Chat Actions
- Message Actions
Session → Wait Until Connect
AI-generatedSummary
Waits for an already-started WhatsApp session identified by a stable internal session name to become connected, up to a specified timeout period.
Inputs
- Session Name (required) — Stable internal name for this session, for example main-phone or support-phone.
- Timeout Seconds — How long to wait in seconds for the already-started session to become connected. Defaults to 300 seconds if not specified.
Output shape
A single JSON object describing the session status and metadata after waiting, including fields like sessionId, status, phone, and timestamped status updates.
The operation waits up to the specified timeout and then returns the current session state. If the session is connected, the output reflects the connected status; otherwise, it returns the last known state. An error is thrown if the session does not exist or is not active.
Examples
Example 1: Waiting for a session named 'main-phone' to become connected with default timeout
Provide 'main-phone' as the Session Name with no Timeout Seconds specified (defaults to 300 seconds). The node will wait up to 5 minutes for the session to connect before returning the session status.