Actions138
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Observability Actions
- Presence Actions
- Profile Actions
- Session Actions
- Status Actions
- System Actions
- Template Actions
- Webhook Actions
Chat → Pin
AI-generatedSummary
Pin or unpin a WhatsApp chat in the selected session. Set Pin to true to pin it or false to unpin it; the node sends the target chat ID and flag to the chat operation.
Inputs
- Session Name or ID (required) — Select the session or provide its ID with an expression.
- Chat Name or ID (required) — Select the chat or provide its WhatsApp ID, such as a contact ending in @c.us or a group ending in @g.us. The dropdown lists up to 1,000 chats.
- Pin — Defaults to true. Turn it off to unpin the chat.
Output shape
A single item containing the API response.
WhatsApp allows at most three pinned chats. With whatsapp-web.js, a fourth pin attempt can return a false success flag; with Baileys, the flag is always true even when the fourth pin does not stick.