What's a monday ID?
Monday.com uses IDs to uniquely identify items, workspaces, boards, users, and other objects. These IDs are also used in the Power Automate monday connector in actions and triggers.
It is important to note that these IDs are not the name of the object. For example, the ID of an item is not the item name. IDs usually take the form of a number, such as 5209264181.
You can see the ID of an item by adding the "Item ID" column to your board. Here's what this looks like:
Other IDs can oftentimes be found in the URL. For example, the ID of a board (in this case 5327901287) can be found in the URL of the board page:
Why is the ID important for my monday flows?
The ID is important because it's used in a number of monday actions/triggers in Power automate.
For example, the "When a column changes" trigger outputs the Item ID of the item that was changed. This allows you to use the ID in subsequent actions.
Let's say you want to update the status column of the item that was changed. You can use the "Update an item's column value" action to do this. This action takes the Item ID as an input to know which specific item should be updated.
In the example below, you can see that after clicking into the Item ID field, the Dynamic Content window shows up, allowing us to select the Item ID from the "When a column changes" trigger output. This ensures that the item we're updating corresponds to the item whose column value changed.
By the way, to learn more about updating items, check out: Updating an Item.
Another example: Workspace creation
Imagine you wanted to make a flow that automatically creates a workspace, board, and a group in that board. Utilizing monday IDs would be necessary to achieve this.
First, you would create a flow that includes an action to create a workspace ("Create a workspace"). This flow would output the workspace ID. You would then use this workspace ID in a subsequent action to create a board in that workspace ("Create a board"). This flow would output the board ID. Finally, you would use this board ID in a subsequent action to create a group in that board ("Create a group").
Just like in the other example above, you can use the Dynamic Content window to select the workspace ID and board ID from the previous actions.
As you can see below, once you've run this flow, it will create a new workspace called "My Workspace", with the board "My Board", and the group "My Group". (The second group, named "Group Title", is automatically included in new monday boards.)