# User who started the flow as variable?

**URL:** <https://community.homey.app/t/user-who-started-the-flow-as-variable/99776>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [January 2, 2024, 9:54pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776 "2024-01-02T21:54:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Majae](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/majae/32/68043_2.png) [@Majae](https://community.homey.app/u/Majae)\
**Post date:** [January 2, 2024, 9:54pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/1 "2024-01-02T21:54:39Z")

</div>

Is there a way to distinct in a flow which user started it and use this as kind of a variable?

So e.g.  
If user A started it → send a push notification to user B  
If user B started it → send a push notification to user A

Of course I could to it with multiple flows, but thats not very handy.

Thanks for your help?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 2, 2024, 10:49pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/2 "2024-01-02T22:49:04Z")

</div>

Afaik there’s no way to retreive the user who started the flow.  
However, that’s not end of story;  
When you replace those flows trigger with a virtual knob or switch, the user who pushed the virtual switch is known!  
Use this flow card, to monitor the virtual knob / switch:

> ![Screenshot_20240102-234405_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/a/ba24b1509594538c89c8d9b11dd1e63713cc4acd.jpeg)

Explained:

> ![Screenshot_20240102-234423_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/04c6e257ac14595b240792129cbff6d0f1b28b00.jpeg)

.

To sent push messages to certain users, here’s a way to get user ID’s and save them into reusable variables:  
[https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/25](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/25)

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 3, 2024, 11:12am UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/3 "2024-01-03T11:12:03Z")

</div>

> [@Peter\_Kawa](#):
>
> flow’s trigger with a virtual knob or switch, the user who pushed the virtual switch is known!

@Peter_Kawa It does not work for me, can you explain which virtual switch?  
In the mobile Homey App I pressed a

- Button in an AVD by Device Capabilities
- Virtual Device

In both cases the user and client fields are empty.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e7740d0802d0fa236739c1c361b9cffe6b4dcf9f.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 4, 2024, 10:13am UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/4 "2024-01-04T10:13:45Z")

</div>

It works for me with an AVD

This is the only settings of the avd:  
 ![Screenshot from 2024-01-04 11-12-30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/c/7c96e9f603863b8a1b0c6fa3f4aa3a83d188f927.png)

.  
Even the device class is not adjusted:  
 ![Screenshot from 2024-01-04 11-15-24](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/0/90716da57dd964405808eb7b4a70c27bfdcf1fc4.png)

.

Flow:

.

Output:  
 ![Screenshot from 2024-01-04 11-11-10](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/d/adbcf93482a2f2366cdfbc1f557d2e096dbfbb23.png)

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 4, 2024, 1:45pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/5 "2024-01-04T13:45:44Z")

</div>

Thank you. No luck, fields are empty. I tried with simple flow as well. No clientID and no User.  
But I cannot select for “Turned on”, but “OnOff”. Maybe we are using different versions?  
Device capabilities v2.15.4 Test  
Homey 10.2.0

Class: Other (Default)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/b/8b98a3e5936cd98131c341fecfb2dae8e6cc6c49.png)

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/e/ee68a8edf8c7a64d73a90e6f87cb9ae387eb1be0.png)

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/3/831ba46f424d3e0a8d247fbd9d2dbb97fa282693.png)

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

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 5, 2024, 12:20am UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/6 "2024-01-05T00:20:38Z")

</div>

YW,

‘Turned on’ seemed to be a ‘previous’ value, when I emptied it and selected it again, I also got `OnOff` as only choice. But that also works here, sorry.

I see we use different DC versions and Homey’s (you probably own the 2023 model?), so that must be the cause here imho  
`DC: v2.14.9`  
`Homey Pro 2019, v10.0.5-rc.1`

 ![Screenshot from 2024-01-05 01-15-34](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/e/7efbf3a7b02d3c52f63360b6bd8510bded93dc9d.png)

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 5, 2024, 5:33am UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/7 "2024-01-05T05:33:47Z")

</div>

@Arie_J_Godschalk Is this possible on the HP2023? If yes, I will raise a ticket for you

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [January 5, 2024, 8:01am UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/8 "2024-01-05T08:01:10Z")

</div>

> [@Rrrr](#):
>
> s this possible on the HP2023? If yes, I will raise a ticket for you

Yeah, but with the testversion, i have got reports that it indeed is missing the user on the hp2023.

---

<div class="post-metadata">

**Author:** ![Defi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/defi/32/54765_2.png) [@Defi](https://community.homey.app/u/Defi)\
**Post date:** [February 5, 2025, 12:12pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/9 "2025-02-05T12:12:09Z")

</div>

Was that ever fixed on HP2023? Since there is still no way to know which user started a Flow (which is ridiculous IMHO), using a virtual device would probably be an acceptable workaround

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [February 5, 2025, 9:50pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/10 "2025-02-05T21:50:05Z")

</div>

I think it’s odd we can start flows.  
I prefer to use switches or buttons _which start flows_  
Then you automatically can retrieve the ‘who’ and the ‘from which device’ with the flowcards I showed.

---

<div class="post-metadata">

**Author:** ![Defi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/defi/32/54765_2.png) [@Defi](https://community.homey.app/u/Defi)\
**Post date:** [February 5, 2025, 11:00pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/11 "2025-02-05T23:00:14Z")

</div>

Except this does not work on Homey Pro 2023, only on 2019…

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [February 5, 2025, 11:10pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/12 "2025-02-05T23:10:21Z")

</div>

I see this as a temporary issue, hopefully a fix can be found.

---

<div class="post-metadata">

**Author:** ![David](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david/32/16401_2.png) [@David](https://community.homey.app/u/David)\
**Post date:** [October 24, 2025, 2:12pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/13 "2025-10-24T14:12:05Z")

</div>

I tried the above today, same results. The tags are not filled.  
It only works on HP2023 if you do a test run in the browser. You’ll get a popup asking for a value to test run the flow. That value is correctly passed.

@Arie_J_Godschalk I guess this is something Athom has to fix? Or is it something caused by Device Capabilities?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [October 24, 2025, 3:10pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/14 "2025-10-24T15:10:59Z")

</div>

> [@David](#):
>
> Or is it something caused by Device Capabilities?

I’ll have to take another look.

There were a lott of changes with the new homey-api which is finally live.

So now I can look for solutions to issues like this. Hopefully I can resolve it soon (although I thought it was resolved).

---

<div class="post-metadata">

**Author:** ![David](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david/32/16401_2.png) [@David](https://community.homey.app/u/David)\
**Post date:** [October 25, 2025, 8:31pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/15 "2025-10-25T20:31:58Z")

</div>

Ah that would be nice Arie.

If it is something Athom should fix then I’ll raise a ticket.

Actually weird that this is the only way to identify a user who started the Vdevice/flow within that flow so results can be send to their phone.

---

<div class="post-metadata">

**Author:** ![David](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david/32/16401_2.png) [@David](https://community.homey.app/u/David)\
**Post date:** [June 12, 2026, 1:51pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/16 "2026-06-12T13:51:22Z")

</div>

Hi Arie,

A kind reminder.  
I was wondering if you’ve found something in the App or if it is something in the API.

@Peter_Kawa  
If I remember it right you also have a HP2023 now?  
Does your flow work on that one? Or do you get empty values as we have?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 12, 2026, 4:20pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/17 "2026-06-12T16:20:30Z")

</div>

Hi David,

Correct, it’s a 2026 model even.

I ran some tests with both “listen for” and “retrieve insghts value” cards;  
Tested with different device sources:

1. Homey (Trust klikaanklikuit app)
2. Home Assistant (Home Assistant Community app)

a. Using the mobile phone app:

 ![14834](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1effd34fb6a9bd994130249fd2af735129ee4347.jpeg)

b. Using the web app:

 ![14837](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/a/ea736b25522d9b50578a9a7475e2123ed262b18c.jpeg)

As you can see,

- the “retrieve insights value” card works
- the “listen for” card doesn’t return user nor client.

Test flow:

 ![14842](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/5694635b145a50e80e702d42b3615a77272ba2e3.jpeg)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [June 12, 2026, 5:12pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/18 "2026-06-12T17:12:29Z")

</div>

> [@David](#):
>
> Or do you get empty values as we have?

Is it still not working for you?

Because it really should work 😅

---

<div class="post-metadata">

**Author:** ![David](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david/32/16401_2.png) [@David](https://community.homey.app/u/David)\
**Post date:** [June 13, 2026, 9:57am UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/19 "2026-06-13T09:57:33Z")

</div>

@Arie_J_Godschalk

Now it is working for me! Not directly from a virtual device but with the retrieve insights card.

I tried that option before but apperently I was using a wrong card that was named almost the samen 🙈

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/1766b9970938443ca3e0af95f657884ae8405879.png)

Thanks to @Peter_Kawa 's example I’ve discovered what I did wrong. Thank you very much for helping me out!  
Now I can send notifications when something failed to the one who started the flow.

Tip for others to keep in mind who want to use this…  
If you create a Advanced Virtual Device, make sure it is one that can create insights. I had to use a on/off switch. Not a doorbell like button because it cannot generate the insights.  
You can check the insights regardless of the state or you can flip back the state of the button immediately at the start of the flow.

@Arie_J_Godschalk Thank you for making this functionality possible! I don’t know why Athom lacks this functionality natively. Home automation is for more than one person in our houses.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 13, 2026, 3:07pm UTC](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776/20 "2026-06-13T15:07:08Z")

</div>

My pleasure, David.

> [@David](#):
>
> almost the samen 🙈
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/1766b9970938443ca3e0af95f657884ae8405879.png)

On the top card the detail is in the capability type “device(tag)”  
I still don’t know how to use it, apparently we can use a tag, but there it ends for me.  
And probably I don’t need that card anyway​😊

[Next page](https://community.homey.app/t/user-who-started-the-flow-as-variable/99776.md?page=2)
