Actions164
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Add Participants
- Approve Membership Requests
- Create
- Delete Picture
- Demote Participants
- Get
- Get Invite Code
- Get Join Info
- Get Membership Requests
- Get Picture
- Get Settings
- Join
- Leave
- List
- Promote Participants
- Reject Membership Requests
- Remove Participants
- Revoke Invite Code
- Set Member Label
- Set Picture
- Update Description
- Update Settings
- Update Subject
- 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.