# How to use tags in a flow

**URL:** <https://community.homey.app/t/how-to-use-tags-in-a-flow/9285>\
**Category:** Flows\
**Tags:** flow\
**Created:** [February 16, 2019, 7:01pm UTC](https://community.homey.app/t/how-to-use-tags-in-a-flow/9285 "2019-02-16T19:01:03Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [April 13, 2019, 2:39pm UTC](https://community.homey.app/t/how-to-use-tags-in-a-flow/9285/8 "2019-04-13T14:39:03Z")

</div>

**How to use a tag in a presence flow.**

For this there is no other apps needed.

First we start with the trigger in the WHEN part.  
For this case i used the build-in presence and the first card will be “Someone came home”.

![1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d94831d092618b66a4e3167d34924742f7e98d0b.png)

**The AND part**

For the and part we pick a build-in logic card and choose “Is exactly”.

 ![2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/f/feadb7a045ab88ef8400cfc32bb60c64ba9b525a.png)

When clicking that card a sub menu opens to the right.

There we hit the question mark on the top right.

![2a](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/db1e441a61a6a4dd2e793e5a70e163340e9db203.png)

Then it opens the tags menu.Here we choose the “Name” tag on the top, Just under the 'In this flow" part.

![3a](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/3/38490525c998e1f5216201ba15029e1b421fc24a.png)

In the txt box we type the name of the user that is coming home, in this case that will be Bas.

 ![4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/a26f423922ad369ad21dd4e876c1d87f6c4c9487.png)

This was a nice and simple explanation of using tags so far in a presence flow. If it’s still hard to follow, i also made [a little video](https://youtu.be/D4P4SMMz1dQ) of it.

**The WHEN part**

Here u can do whatever u like and in this case i send a push notification to a mobile.  
So add a card, choose “Mobile” and then “Send a push notification” .

![5](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d0f67d1e4b5f7b9725c4de2a426cf0add1372c9f.png)

In the box “Pick a user” u click and choose the name of the user u want to send the push message to.  
In the below field u type ur message and here we can use the tags again by clicking the little grey tag.

 ![6](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/c/c2da706b0d16d423134ce8647054a7d5ffa0b34e.png)

So we choose the “Name” tag again from the top. After that we type “is home”.  
The card should look like this now:

 ![7](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/a81905baf152b47c1f0563a3c163f6d1ec9eb2c2.png)

The total flow should now look like this:

 ![8](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d210077cf9e80feefd85b56134e6224d06ca51c5.png)

Hope i did a better explanation this time. If u have any more questions plz feel free to ask them. Any off-topic remarks like “build-in presence is not working for me” will be deleted without further notice.

---

_[View the full topic](https://community.homey.app/t/how-to-use-tags-in-a-flow/9285)._
