Operational

DocsGithub Open app

Operational

Github Articles Pitch Usecases Playground API

Contents

Start here
Setup
Get started Send your first event Structured Events Actions Contexts Log limits and errors
Events API
API
Error handling Event parametersPOST Log event Sending actions in events
The Manual
Introduction PWA & push notifications Conventions Setup Manage projects and teammates Categories and search View events in your project Setup PWA on phone Test mode Notifications
Integrations
Nodejs SDK PHP SDK Wordpress plugin
Self hosting
Introduction Install locally Install on VPS Install on Render Install via Docker Install via Docker and Coolify Onboarding Setup .env Setup PWA & push notifications Best practices Durability testing
Other
Vision Roadmap Contributing

Notifications

There are times where you want to get informed of a event immediately as it happens.

That’s where notifications kick in.

How do notifications work

Notifications inside ops don’t happen by default.

To enable notifications of a event, you need to mark the event with notify as true.

Example:

const e = {
  name : "user's trial expired",
  notify : true
}

To receive push notifications on your device you need to enable push notifications. We will walk you through this step when you signup(as part of your onboarding process)

If you’re running this in PWA mode in iOS Safari, you will be automatically prompted to enable push notifications. See PWA mode for more details.

How to turn off notifications temporarily?

There are scenarios where you want to turn off push notifications temporarily(eg, going on a hike, touching grass, etc).

There is a very simple way to turn them off. Inside app.operational.co/profile and click on the “push notifications” slider to turn it off.

This will turn off push notifications for all your logged in accounts. For instance if you’re logged in to your laptop and to your phone, it will turn off push notifications in both these devices.

This is because this toggle will turn off push notifications on a account level basis.

Why aren’t notifications default on?

Having notifications on by default sounds good in theory. Let’s get notified when someone purchases a product. Yaaa!

In practive we’ve seen this to be an utter distraction. We know other tools have notifications on by default but we purposefully didn’t keep them on by default because 90% of the time you don’t need to be notified of an event urgently.

Notifications are little productivity zappers that can kill your time.

We don’t want to kill your time.

Only enable notifications for events you really want to be urgently notified for.

Test mode

Operational

PrivacyTerms
About the product
  • Use cases
  • Playground
  • API
  • Pitch
  • Pricing
  • Wordpress plugin
Related to the product
  • Open Source
  • Articles
  • VS Logsnag
Useful articles for your SaaS
  • My experience running a Commercial OSS project
  • Force post: The Payment Hack that lets Merchants charge you without approval
  • 6 Best practices for early stage B2B SaaS customer support
  • Setup event notifications for your SaaS