WhatGHL icon

WhatGHL

Send actions to WhatGHL API

Actions42

💬 **CHATTING** · Set Online

AI-generated

Summary

Set the online presence status of a WhatGHL session to indicate that the user is currently online.

Inputs

  • Session Mode (required) — Select how to specify the session to set online: 'Auto' uses the default backend session selection; 'By Session Name' uses a specific WAHA session name; 'Select Session' allows choosing from available sessions for the API key.
  • Session — When Session Mode is 'Select Session', choose a specific session from the list of available sessions for the API key.
  • Session Name — When Session Mode is 'By Session Name', enter the exact WAHA session name to set online.

Output shape

a single JSON object representing the API response confirming the presence update

The node sends a request to the WhatGHL API to set presence online for the specified session. No chat ID or additional data is required. The response includes details of the presence action performed.

Examples

Example 1: Set online presence for the default session using automatic session selection.

Session Mode set to 'Auto' with no further session specification.

Example 2: Set online presence for a specific session by selecting it from available sessions.

Session Mode set to 'Select Session' and Session chosen from dropdown.

Example 3: Set online presence for a specific session by its exact session name.

Session Mode set to 'By Session Name' and sessionName field filled with the WAHA session name.

Links

Discussion