-
Notifications
You must be signed in to change notification settings - Fork 6
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
[backend] Create a lambda cron function to send push notifications #133
Comments
We also need design and copy for the push notification. The message can perhaps be a parameter sent to the endpoint. |
Another idea for a push notification is:
We will need copy for this push. |
@geiras the design above are not push notifications. I believe push notifications all have the same design, a rectangle. That means that we only need the copy to move forward. |
No design is needed here. My mistake. Push notifications we want:
Example parameters: I'll attach copy later. |
This requires a new lambda. Execute script should be something like |
We first need to investigate how we can implement this.
We want to send a message to all the users if they haven't submitted a "actualização de estado" for more than 24h.
This message is triggered by a recurring lambda function that runs everyday, starting at H and is sent in batches every N configurable minutes.
Example configuration:
H = 8pm
N = 10min
These parameters must be stored in .env
The endpoint must only be exposed to the mechanism that calls the endpoint. Regular users must not be able to call this. Perhaps we need to implement Roles+JWT.
The text was updated successfully, but these errors were encountered: