> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://docs.groupalarm.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Flow example - Send messenger message

A flow can be used to automatically send messages to the app's messenger. In our example, we send a message with additional information to an [event-related messenger room](https://docs.groupalarm.com/en/article/messanger-1jwdzfo/#2-event-related-rooms).

Other triggers such as [Email received](https://docs.groupalarm.com/en/article/elements-of-the-flow-email-received-1rtybtj/?bust=1700644336027) or [DWD weather warning](https://docs.groupalarm.com/en/article/elements-of-the-flow-dwd-weather-warnings-1u353ti/?bust=1698137834344) are also conceivable.

When using an [event-related messenger room](https://docs.groupalarm.com/en/article/messanger-1jwdzfo/#2-event-related-rooms), it should be noted that participants are only added to the room once they have given positive feedback on the alert. It is therefore advisable to integrate a [Waiting](https://docs.groupalarm.com/en/article/elements-of-the-flow-waiting-1ppg0bw/?bust=1691744596450) element into the flow to give participants sufficient time to acknowledge the alarm. This is not necessary for fixed messenger rooms to which participants are assigned from the beginning.

The flow therefore consists of [Alarm triggered](https://docs.groupalarm.com/en/article/elements-of-the-flow-alarm-triggered-eparn7/?bust=1691653682464), a [Waiting](https://docs.groupalarm.com/en/article/elements-of-the-flow-waiting-1ppg0bw/?bust=1691744596450) element and the [Send messenger message](https://docs.groupalarm.com/en/article/elements-of-the-flow-send-messenger-message-11jzv0i/?bust=1692775086886) element.

**Configuration**

1️⃣ The messenger room in which the message is to be sent is specified here. You can choose between a fixed room, which can be selected via the drop-down menu, or an [event-related messenger room](https://docs.groupalarm.com/en/article/messanger-1jwdzfo/#2-event-related-rooms).

To be able to address an [event-related messenger room](https://docs.groupalarm.com/en/article/messanger-1jwdzfo/#2-event-related-rooms), the system requires the ID of the corresponding event. This can be obtained from the trigger element using the input function.

2️⃣ The text to be sent to the participants can be defined in the input field for message. This can be permanently stored as in the example or obtained from previous elements using the input function.

![](https://storage.crisp.chat/users/helpdesk/website/91fefd8b4b0ac000/flowexamplesendmessengermessag_1b9mq09.png)

![](https://storage.crisp.chat/users/helpdesk/website/91fefd8b4b0ac000/flowexamplesendmessengermessag_1ib1vbi.png)