N
Novu•5mo ago
Yola

"Online" means actively using the app?

Hi, everyone! Does anyone know if being "online" means actively using the app? if I were to set up a push for someone who's not been online for 3 days, means they have not use my app for 3 days?
11 Replies
Pawan Jain
Pawan Jain•5mo ago
@Yola I see you have created a support post for similar request https://discord.com/channels/895029566685462578/1255148459422384129 Here online refers to our in-app notification center. If you are using our in-app notification center and user opens website then notification center will also load, it will make user online Are you using in-app notification center?
Yola
YolaOP•5mo ago
Hey, Pawan! I'm creating a workflow for an app push and want to set up a condition to send that push to a user who's been inactive for 3 days 🙂 So, I'm trying to find out if I should use "online" variable in this case?
Pawan Jain
Pawan Jain•5mo ago
@Yola This use case can be achieved using framework (code first notification workflow) You can fetch user active status from your database using just in time data fetching and then use skip flag to send a push notification or skip it based on above data
Yola
YolaOP•5mo ago
Thank you very much for your help, Pawan! So that also means that simply using "last time online" won't do, right?
Pawan Jain
Pawan Jain•5mo ago
last time online will work only if you are using in-app notifications also. If you are not using in-app notification center. then that user will always be inactive as per Novu
Yola
YolaOP•5mo ago
Got it!
Novu_Bot
Novu_Bot•5mo ago
@Yola, you just advanced to level 1!
Yola
YolaOP•5mo ago
@Pawan Jain Hey, Pawan! Just wanted to clarify. I was talking about this condition. Won't the push be triggered if the user is not active for a certain time?
No description
Pawan Jain
Pawan Jain•5mo ago
Yes it will work correctly only if notification center is being used
Yola
YolaOP•5mo ago
I'm sorry, still a bit confused. The notification center can be used with in-app notifications, according to the Novu documentation. But what I'm trying to achieve is to create push notifications with Novu. On the screenshot above there is a Condition for a push notification. Will it work?
Pawan Jain
Pawan Jain•5mo ago
@Yola This condition is applied on the push channel that will skip or not skip based on the condition that subscriber was last seen in x minutes (means subscriber has opened in-app notification center).
Want results from more Discord servers?
Add your server