WhatsApp Web API (WWebJS) icon

WhatsApp Web API (WWebJS)

Interact with WhatsApp Web API via WWebJS — send messages, manage sessions, chats, groups, contacts and channels

Group Chat → Add Participants

AI-generated

Summary

Add participants to a group chat

Inputs

  • sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
  • chatId (required) — Unique WhatsApp identifier for the group chat
  • participantIds (required) — Comma-separated list of participant WhatsApp IDs

Output shape

An object indicating success (e.g., { success: true })

The response contains a success flag; if validation fails, the node errors and does not emit data.

Examples

Example 1: Add two contacts to a group

Select a session, enter the group chat ID (e.g., 120363XXXXXXXXX@g.us), and provide participant IDs separated by commas (e.g., 34612345678@c.us, 34698765432@c.us)

Example 2: Add participants using an expression for chat ID

Use an expression like $json.chat.id in the chatId field, supply session ID and participant IDs, then execute.

Links

Discussion