Some users start the bot but do not proceed with the insertion of the Clockify token.
Notify these users after a certain period of time since the last interaction with the bot, inviting them to continue the onboarding.
The follow up functionality should be similar to the Remind one, in detail:
must be callable via a new endpoint /api/follow-up
must implement chained checks to filter out conversations that don't need to be followed up.
checks must include:
conversation last update must be >= 2021-01-01 and <= (today - 2 days)
conversation has not been followed up yet
user profile must be updated after notification is sent with a property LastFollowUpTimestamp
Some users start the bot but do not proceed with the insertion of the Clockify token. Notify these users after a certain period of time since the last interaction with the bot, inviting them to continue the onboarding.
The follow up functionality should be similar to the Remind one, in detail:
/api/follow-up
LastFollowUpTimestamp
The notification will consist of a fixed text, defined into the Clockify resource file.