Hi all, I am building an app that serve as a learning platform. A user logins and learn different courses. I want that if someone has spent 2 days withought coming on the app to learn, the app should send a reminder email. I have prepared a backend workflow but I am not getting an idea of how to automate it. I don’t want to schedule this backend workflow from the frontend. I want the backend it’s self to figure out when the user has spent that 2 days off and email sent right away. Here is my backend workflow
Hi there.
You can try to create a new field on User Datatype something like Loggedin-Time.
When the user logs into the application make changes to the Current User thing → Loggedin-Time field by writing down the Current date/time.
Now that you have the time and date for the logged-in user, you can create a condition on the backend wf for triggering the event.
Send this email only when Current User’s Loggedin-Time +2 days < Current date/time .
Hope this helps
Hi @psycholabdesign , Thanks for your help. That’s what I need.
1 Like
@ntirandth Glad to help
This topic was automatically closed after 70 days. New replies are no longer allowed.