# User is logged in workflow is not working

**URL:** <https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472>\
**Category:** App Organization\
**Created:** [June 30, 2025, 6:19pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472 "2025-06-30T18:19:26Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [June 30, 2025, 6:19pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/1 "2025-06-30T18:19:26Z")

</div>

Hello. May i ask you for help? The workflow that triggers when user is logged in is not working. I recorded a video to explain [No name - 30 June 2025 | Loom](https://www.loom.com/share/e5f2bbba038e4b1892f93533568ad045?sid=bd858063-1620-4931-8664-7841ef25cf74)

I can pay for this if you know the solution. Have a good day.

---

<div class="post-metadata">

**Author:** ![nocodeventure](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nocodeventure/32/247164_2.png) [@nocodeventure](https://forum.bubble.io/u/nocodeventure)\
**Post date:** [June 30, 2025, 10:37pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/2 "2025-06-30T22:37:21Z")

</div>

Move this workflow to the popup itself. When the page is loaded and the user is logged out, show the popup.

When the user is logged in, close the popup, or just use the workflow when logging in to hide it.

Add a conditional statement on the main content to hide it when the popup login is visible.

This should work more reliably.

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 1, 2025, 4:44pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/3 "2025-07-01T16:44:42Z")

</div>

But the thing - it’s working when page is loaded. It’s not working when page is already loaded and popup is visible. User is logged in, but the workflow is not running.

---

<div class="post-metadata">

**Author:** ![emmanueldigitals66](https://avatars.discourse-cdn.com/v4/letter/e/a5b964/32.png) [@emmanueldigitals66](https://forum.bubble.io/u/emmanueldigitals66)\
**Post date:** [July 1, 2025, 5:07pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/4 "2025-07-01T17:07:44Z")

</div>

Hello Forever life, having gone through your video, I will like to help you fix the popup display as explained. Are you open to jump on a quick call. Let me know if you will be available.  
Thanks

---

<div class="post-metadata">

**Author:** ![hanan1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanan1/32/111158_2.png) [@hanan1](https://forum.bubble.io/u/hanan1)\
**Post date:** [July 2, 2025, 8:28am UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/5 "2025-07-02T08:28:38Z")

</div>

is the login popup still showing if you refresh the other tabs after login?

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 2, 2025, 2:20pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/6 "2025-07-02T14:20:41Z")

</div>

No, if i refresh page the popup is hidden and workflow is running.

---

<div class="post-metadata">

**Author:** ![hanan1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanan1/32/111158_2.png) [@hanan1](https://forum.bubble.io/u/hanan1)\
**Post date:** [July 3, 2025, 6:48am UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/7 "2025-07-03T06:48:45Z")

</div>

so the page does not check the login status unless you manually tell it to. Ok, try to add a recurring workflow that runs periodically to check status and either show or hide popup as required if the popup is visible.. something like this. maybe you can remove the show popup action if yours already does that.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/8/084a7a2717476ec7bade5ed818929c71cff5e6d8.png)

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 3, 2025, 3:00pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/8 "2025-07-03T15:00:46Z")

</div>

Thank you, i did tried this. It’s just ignoring this workflow, even if i will do it every one second. Here is video [No name - 3 July 2025 | Loom](https://www.loom.com/share/56a542d24c7149d7a08097542ac1bb5a?sid=6d9fa614-20c6-43ba-927b-b5f86fd5117b)

---

<div class="post-metadata">

**Author:** ![hanan1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanan1/32/111158_2.png) [@hanan1](https://forum.bubble.io/u/hanan1)\
**Post date:** [July 4, 2025, 5:31am UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/9 "2025-07-04T05:31:56Z")

</div>

that is because in your case the popup shows already in all tabs when the user logs out. The page does not hide the popup unless the login status is checked while the popup is visible and the user isn’t interacting with it. So refresh the page every x seconds if the popup is visible and the input is empty. the popup should be hidden then.

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 4, 2025, 4:51pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/10 "2025-07-04T16:51:29Z")

</div>

Popup does not shows, that’s the problem. The workflow is not running when user is logged out.

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 4, 2025, 9:58pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/11 "2025-07-04T21:58:52Z")

</div>

Did you tried the thing you suggested? It’s not working, as it’s shown in a video

---

<div class="post-metadata">

**Author:** ![hanan1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanan1/32/111158_2.png) [@hanan1](https://forum.bubble.io/u/hanan1)\
**Post date:** [July 5, 2025, 3:58am UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/12 "2025-07-05T03:58:52Z")

</div>

I did and it worked for me. but if it still doesn’t for you, there is an easier way, you can add a session control field to the user and edit that when you log in or out.

- when you login, set session to yes.
- when you logout of all sessions, set it to no.
- make a recurring workflow that refreshes the page when current user session is no.  
like this:  
 ![forums5725-ezgif.com-video-to-gif-converter](https://us1.discourse-cdn.com/bubble/original/3X/0/b/0b9c792a19720f86611e2b84a963082f4ec1d25d.gif)

---

<div class="post-metadata">

**Author:** ![bubbledeveloper1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bubbledeveloper1/32/165302_2.png) [@bubbledeveloper1](https://forum.bubble.io/u/bubbledeveloper1)\
**Post date:** [July 6, 2025, 7:22am UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/13 "2025-07-06T07:22:19Z")

</div>

i can help you.  
pls check DM

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 7, 2025, 5:49pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/14 "2025-07-07T17:49:08Z")

</div>

I tried your method and it seems like there is no reaction [No name - 7 July 2025 | Loom](https://www.loom.com/share/a5e75aacc9e94a4e8f6369ade3ec6358?sid=a7ac22c9-4a7a-4f17-aa31-062cf915abc8)

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 7, 2025, 7:43pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/15 "2025-07-07T19:43:06Z")

</div>

I don’t understand how it’s work for you, since if current user is logged out we can’t access the field for that user

https://www.loom.com/embed/5e32893e05814966beebcb6508b35e28?sid=5b8e16bd-2d04-40fa-a967-eb73aa8e7fbe

---

<div class="post-metadata">

**Author:** ![hanan1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanan1/32/111158_2.png) [@hanan1](https://forum.bubble.io/u/hanan1)\
**Post date:** [July 8, 2025, 5:08am UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/16 "2025-07-08T05:08:26Z")

</div>

it’s exactly the point. since the page doesn’t refresh _it doesn’t know the user is logged out_, so you use a field in the user datatype which you update when you log out in another tab to check for login state and refresh if required.

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 8, 2025, 8:03pm UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/18 "2025-07-08T20:03:46Z")

</div>

“Current User that is logged in” is different user than “Current User logged out”. They have different records and different unique\_id.  
So in theory the situation may happen when user is logged in, but has a field where he is logged out.

---

<div class="post-metadata">

**Author:** ![hanan1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanan1/32/111158_2.png) [@hanan1](https://forum.bubble.io/u/hanan1)\
**Post date:** [July 9, 2025, 5:27am UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/19 "2025-07-09T05:27:50Z")

</div>

we are using a session property of user. we are not using logged in or logout statuses because again, the page does not know that status without refresh. If you like you can share an editor link I can set up for you. but otherwise I really can’t explain it more.

---

<div class="post-metadata">

**Author:** ![ForeverLive](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/foreverlive/32/235014_2.png) [@ForeverLive](https://forum.bubble.io/u/ForeverLive)\
**Post date:** [July 9, 2025, 6:00am UTC](https://forum.bubble.io/t/user-is-logged-in-workflow-is-not-working/374472/21 "2025-07-09T06:00:08Z")

</div>

I understand what you talking about. The problem with your solution - it might not always work. Please review the video. You will clearly see - logged out user is not logged in user, it’s 2 different id’s [Logged in and logged out user | Loom](https://www.loom.com/share/48397447f61f4e67b7ebcc1e868c9e71)  
If there are 2 different records in database - logged out and logged in - you don’t know which one’s field you modified.
