> ## 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).

# Elements of the flow - Set unit status

The `Set unit status` element allows you to easily set the status of units automatically via a flow.

1️⃣ The `Use external unit ID` function allows you to address the unit via its External ID. The External ID can be specified when [configuring the unit](https://docs.groupalarm.com/en/article/units-1liezww/). When this function is activated, the input field described in point 2️⃣ changes to an input field for the External ID.

2️⃣ In the unit selection field, select the unit for which the status is to be adjusted. Using the input function, this unit can also be set individually from previous elements. You can activate the input function via the arrow icon to the left of the input field. This allows you, for example, to process the external ID of a unit that you pass in the trigger directly.

3️⃣ In the status input field, specify the status to be assigned to the unit. Here, too, you can use the input function to retrieve the status from previous elements. For information on unit statuses, see [here](https://docs.groupalarm.com/en/article/organisation-settings-unit-status-65we65/).

![](https://storage.crisp.chat/users/helpdesk/website/-/9/1/f/e/91fefd8b4b0ac000/floweinheitenstatusen_1p06l61.png)
