Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spike] Technical approach to nudge users #836

Open
Tracked by #1680
mahalakshme opened this issue Dec 16, 2024 · 0 comments
Open
Tracked by #1680

[Spike] Technical approach to nudge users #836

mahalakshme opened this issue Dec 16, 2024 · 0 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Dec 16, 2024

Need:

Figure out the approach to send Glific message to users who have not entered data for past 5 days.

Suggested approach:

  • Do in integration service to retain sanity and not to corrupt ETL
  • Store custom_query to retrieve users who have not entered data for past 5 days
  • Have a window such that the job should not send message to the same users for whom message was sent in the past 23 hours. So somewhere need to store the users data for whom message was sent in the past 23 hours.
  • Store the manual_message in table
  • Call the new api to sent glific message - one user at a time
  • Currently we can retain the 4 days timeline to retry for any failed messages.
  • A report with data on so far who has received message and for whom message sending has failed - If possible send notification from the report.
  • For more details refer the other cards in this epic

AC:

Identify any gaps in the above technical approach and make sure the above suggestions would work.
push notification?
rules - async -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant