# Pin a message

> Pin or unpin any message.

Source: https://docs.buildcord.dev/nodes/messages/pin-message/

`message.pin` pins a message, or unpins it.

## Settings

| Setting | What it does |
| --- | --- |
| Message | Which message, by its link or ID. See [Naming a message](https://docs.buildcord.dev/nodes/messages#naming-a-message). |
| Without one named | **The bot's reply** (the message this flow last sent) or **The triggering message**. |
| Unpin it instead | Takes the pin away. |

## Ways out

`out`.

## Notes

- A channel can hold a limited number of pins. Discord refuses when it's full, so turn on **If it fails** if that could happen.
- The bot needs the Manage Messages permission.

## Related

- [Reply](https://docs.buildcord.dev/nodes/messages/reply)
