<- Go back

Tiro's platform Notifications system

I will describe the small notification system I created for Tiro's plateform

Tiro

Tiro

Tiro

Every platform needs a notification system. For Tiro's app [ ref Tiro's platform ], I put in place a small notification system to :


  • Notify users through email for every message :


I did this through an edge function that calls the Brevo API. I just call this function from my front end every time a user sends a message, then the function retrieves data from users in the group discussion and sends an email to them, alerting them that a new message has been sent.



  • Platform-related emails :


Still, through the back-end, I send all the confirmation emails directly with Supabase when a user signs up or tries to change their password.



  • Project-related notifications :


Next, for project-related notifications, I built an n8n workflow [ref: My cloud computing project] that gets triggered by webhooks, then makes a query to send emails and phone messages to users to notify them about new project opportunities and project creation confirmations.


Thank you for reading me.

<- Go back

Contact me

Tiro

Contact me

Tiro

Contact me

Tiro