WhatsApp

@idaria/channel-whatsappwhatsapp

WhatsApp-Channel via WhatsApp Web (Baileys, QR-Linked-Device). Routet WhatsApp-Chats an deine Agenten.

communication

Setup guide

Link WhatsApp

This channel uses WhatsApp Web (linked device) — no API key, no Meta registration. After installing you scan a QR code, exactly like linking WhatsApp Web on the desktop.

1. Install

The fields below are optional — just install.

2. Scan the QR code

  1. After installing, open the plugin admin UI (connection status).
  2. A QR code appears.
  3. On your phone: WhatsApp → Settings → Linked Devices → Link a Device → scan the QR code.
  4. Wait for the connected status. The bot now shows up under Linked Devices with the device name set above.

⚠️ Note: this is an unofficial WhatsApp Web client (Baileys), not the official WhatsApp Business Cloud API. Prefer a dedicated, separate number — excessive automation can be restricted by WhatsApp.

3. Limit the reach (optional)

Ignore groups keeps the bot silent in groups; the allowlist restricts it to specific phone numbers (E.164, e.g. 491701234567).

4. Choose an agent

This installation is one WhatsApp number, so all agents share it. In a chat, /agents lists the agents available to you here, /agent <Name> selects one and /agent alone clears your selection; the answer is confirmed once as a system message. Where several agents speak in one chat, a name line (Mira: …) shows who is answering. Polls and questions arrive as numbered text; you answer by typing the number (in a group, reply to the question).

5. Groups (optional)

With Ignore groups off, the bot answers in a group only when it is @mentioned, replied to, or given /agent or /agents, and only while WhatsApp lets it read the member list.

Setup fields

The operator fills these in when installing the plugin.

  • device_namestring, optional
    Geräte-NameName, unter dem dieser Bot in WhatsApp → Verknüpfte Geräte erscheint.
  • ignore_groupsboolean, optional
    Gruppen ignorierenWenn aktiv, reagiert der Bot nur auf Direkt-Chats (1:1) und bleibt in Gruppen still. Wenn aus, antwortet er in Gruppen nur auf Erwähnung, Antwort auf seine Nachricht oder /agent bzw. /agents - und nur, wenn WhatsApp die Mitglieder liefert.
  • allowliststring, optional
    Zugelassene Nummern (optional)Komma-getrennte Telefonnummern (E.164, z.B. 491701234567), die mit dem Bot chatten dürfen. Leer = alle Direkt-Chats erlaubt.

Permissions

This is everything the plugin is allowed to access once it is installed.

memory
readsagent:@idaria/channel-whatsapp:*
writesagent:@idaria/channel-whatsapp:*
graph
readsnone
writesnone
network
outboundweb.whatsapp.com*.whatsapp.net*.whatsapp.comraw.githubusercontent.com
filesystem
scratchno

Dependencies and capabilities

Requires
chatAgent@^1

Versions

VersionCoreSizePublishedsha256Download
v0.5.0latest>=1.87.0 <2.0804.1 KB30 Nov 202675ae99c065bb….zip