5
6 Comments

Which tools do you use for notifications in your web-app?

Hi everyone!

For your web-apps, which tools are you using for handling/sending notifications? To make it a bit more clear, I am talking about transactional things such as

  • Someone replied to your post
  • You were added to a team
  • Someone shared a document with you

and not marketing notifications such as "Check out the holiday discounts!".

How do you manage and send notifications like this over email? How do you manage and send these notifications in-app (like the Facebook notification icon in the top right notifying you about things such as replies, events and likes)?

Best wishes,
David

  1. 3

    For web, very roughly, just create a notification store and use a transactional email service (like Sendgrid or Amazon SES)

    notifications table > id, from_id, to_id, content_id, notification_type, timestamp, is_seen

    from_id > user who triggered the notification
    to_id > notification receiver
    content_id > either post it, message id,.. etc
    notification_type > something like post | direct_message | request
    timestamp > when is the notification is sent
    is_seen > did user see this notification or not

    When I send a direct message to you, basically I created a row in the table described above. Then you can use a transactional email service and send email (like making an API call with required information/message)

    In the front end, you can make a query for that table and get my notifications (to_id = me and is_seen = False)
    When I open/click to notification, set is_seen = True

    For mobile (I am not an expert for mobile apps but still) it is almost very similar. One difference may be, you need to get some .pem files (as far as I remember) from your mobile app user and using those credentials you can send push notifications just like sending email.

    Hope it helps

    1. 1

      Thanks so much for your reply! The reason I asked (which I realize now is not clear enough), is that we are building a notification solution (for in-app and email) which we hope to launch next month 🙀. Wanted to learn a bit about what people do today.

      Healthy.codes looks awesome btw 🙌. Might not be relevant for you right now, but let me know if you are ever open to a chat about our product - would love your feedback.

      1. 2

        @utdiscant Sorry, what I understand was completely different than what you were asking :) I will be pinging you when Healthy.Codes goes public, I would love to try. Good luck with your product

  2. 1

    In a few projects I use OnesSgnal for web push notifications and Postmark or MailChimp for transactional emails.

    Web notifications are great, except they are not supported on iOS. For that, I developed wisenotifications.com. (transactional notifications are to be developed, contact me if you are interested, as we can prioritize it)

  3. 2

    This comment was deleted a year ago.

    1. 1

      Thanks a lot! Have you written shared code that handles both or are they built as separate services in your app?

      1. 1

        This comment was deleted a year ago.

        1. 1

          Thanks for that! Might return later when we get our product launched (should be within a few weeks) with some more questions and maybe ask for some feedback :).

          1. 1

            This comment was deleted a year ago.

Trending on Indie Hackers
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 42 comments Getting first 908 Paid Signups by Spending $353 ONLY. 24 comments 🔥Roast my one-man design agency website 21 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 19 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments Hero Section Copywriting Framework that Converts 3x 12 comments