Use cases

Web push notifications for SaaS products

For a web app, push is the notification channel that works when the tab is closed. Most of it is triggered from your own backend.

Why web apps add push

Users close the tab. A web push notification reaches them anyway, on desktop or phone, without an app store release. For many products it replaces “check back later” with “we’ll tell you”.

Notifications SaaS products send

TypeExampleHow
Job finished“Your export is ready (2.4 MB)”Personal notification from your backend
Activity“Maya commented on Q3 plan”Personal notification
Threshold alert“Error rate above 2% on checkout-api”Personal notification
Onboarding nudge“Connect your first data source to see live charts”Flow: subscribed, wait 1 day, condition on event
Trial ending“3 days left on your trial”Segment on a custom field, scheduled campaign
Release notes“New: scheduled reports”Campaign to active users

Linking subscribers to your users

When a signed-in user subscribes, store your user ID on the subscriber:

window.superwicket.setParams({ external_id: 'usr_42', plan: 'trial' });

Your backend can then send to that user with the REST API, finding them by the external_id field:

POST /api/v1/websites/{uid}/personal
{ "custom": { "key": "external_id", "value": "usr_42" },
  "message": { "title": "Your export is ready", "body": "orders.csv, 2.4 MB", "url": "https://app.example.com/exports/42" } }

Use an Idempotency-Key header so a retried job never sends twice. See the API reference.

Events and flows

Record product events (superwicket.track('report_created') in the browser, or the events endpoint from your server) and use them in flows: start a flow when someone signs up, wait for their first “report_created” event for 24 hours, and send a nudge only if it doesn’t come.

Installing in a web app

Put superwicket-sw.js in your public folder and load the script in the app shell. It tracks client-side route changes in single-page apps. If you already run a service worker (for offline support), add the importScripts line to it. Details: React, Next.js and other frameworks.

Webhooks back to your system

SuperWicket can call your webhook when there is a new subscriber, when a campaign completes and when an RSS feed fails, with Standard Webhooks HMAC-SHA256 signatures you can verify. Use the new-subscriber event to mark users as reachable by push in your own database.

What it costs

The REST API, A/B tests and up to 50,000 personal notifications a month are on Pro at $29 a month (14-day trial). Business has no limit on personal notifications. See pricing.

Frequently asked questions

Can I send a push to one specific user?

Yes. Personal notifications target one subscriber through the REST API, for example when a report finishes or someone mentions them.

Can I install web push in a single-page app?

Yes. Load the script once in your app shell and put the service worker file in the folder your host serves as the root.

Try it on your own site

The Free plan has no time limit and needs no card. Add one script tag, or share a hosted subscribe page if you can’t upload files.