Ship transactional notifications with a prompt
Trigger password resets, receipts, alerts, and activity notifications from product events, and deliver them across every channel with full observability.
Model every notification as a workflow
Trigger a workflow from your backend, then send messages across email, in-app, push, SMS, and chat with batching, delays, and conditions built in.
The New user onboarding workflow in the builder, at Collab.io. An agent step is dragged in from Add a step under the new-user-signup trigger and its prompt is typed: Claude Opus 5.5 writes a welcome line for the recipient that fits their role, into a welcome_line response property. The welcome email greets the recipient by first name, then uses that line. After a 3 day delay, a branch on Created a project? sends a Day 3 tips email to people who have not created one yet and an in-app feed message to everyone else.
Trigger smart automations that send messages across any channel.
email / in-app / push / SMS / chat
Ship product notifications with a prompt
Pick your agent and a notification, then use the prompt to build it.
Your agent
Use case
Your prompt
Prompt
When a user requests a password reset. Based on what we're building, create an email using Knock with the reset link from the trigger data, and send it right away.
All starter prompts, for people and agents
Connect your agent to the Knock MCP server at https://mcp.knock.app/mcp, or install the Knock CLI with npm install -g @knocklabs/cli. Then use any prompt below.
- Knock: Build in Knock
- Claude: First make sure to install the Knock connector.
- ChatGPT: First make sure to install the Knock plugin.
- Cursor: First make sure to install the Knock plugin.
- Grok: First make sure to install the Knock plugin.
- Slack: First make sure to connect Knock in Slack.
- MCP: First make sure to connect the Knock MCP server.
- CLI: First make sure to install the Knock CLI.
Password reset (Transactional)
When a user requests a password reset. Based on what we're building, create an email using [Knock](https://knock.app) with the reset link from the trigger data, and send it right away.
Receipts (Transactional)
When an order is paid. Based on what we're building, create a receipt email using [Knock](https://knock.app) with the line items, total, and payment method from the trigger data. Use our default email layout.
Mentions (Transactional)
When someone is mentioned in a comment. Based on what we're building, create an in-app feed message using [Knock](https://knock.app) right away. If it is still unread after an hour, send one email per thread.
Approvals (Transactional)
When a request needs approval. Based on what we're building, create a workflow using [Knock](https://knock.app) that notifies approvers in Slack and the in-app feed, then sends an email reminder if nobody responds within 24 hours.
Usage limit (Transactional)
When an account reaches 80% of its plan limit. Based on what we're building, create an email and an in-app notification using [Knock](https://knock.app) for its admins, and again at 100%.
Failed payment (Transactional)
When a payment fails. Based on what we're building, create an email using [Knock](https://knock.app) for the billing contact right away and show an in-app alert to account admins until the payment succeeds.
Security alert (Transactional)
When a user signs in from a new device. Based on what we're building, create an email and a push notification using [Knock](https://knock.app) with the device and location, and send it even if the user opted out of other messages.
Team invite (Transactional)
When someone is invited to a workspace. Based on what we're building, create an invite email using [Knock](https://knock.app), and send one reminder after 3 days if the invite is still pending.
Status update (Transactional)
When an export finishes. Based on what we're building, create an in-app notification using [Knock](https://knock.app) with a download link, and send an email if the user has left the app.
Activity digest (Transactional)
Based on what we're building, create a workflow using [Knock](https://knock.app) that batches comments and activity for each user, then sends one digest email per day at 9am in their time zone.
Top reasons developers choose Knock
Learn why engineering teams choose Knock to send transactional notifications triggered from API calls and product events.
Trigger from one API call
Call one endpoint from your backend with SDKs for Node.js, Python, Ruby, Go, and more. Knock handles routing, preferences, and delivery.
Infrastructure-grade reliability
Knock delivers hundreds of millions of messages per month for teams like Vercel, Webflow, and Zapier, with 99.99% uptime.
Full observability
Trace every message from trigger to delivery with step-by-step logs, and stream them to Datadog or your warehouse.
Advanced sending controls
Apply batching, digests, throttling, and idempotency to product notifications without writing custom logic.
Schema validation
Validate trigger data against a schema, so malformed payloads fail fast instead of reaching a customer.
Real-time in-app feed
Add a real-time feed, toasts, and banners with SDKs for React, React Native, iOS, and Android, or build your own UI.
Multi-tenant by design
Model users, objects, and tenants, and scope branding and preferences to each customer account.
Infrastructure as code
Manage workflows and templates in your repo with the Knock CLI, and promote changes across environments from CI/CD.
Bring your own providers
Connect more than 25 delivery providers, such as Amazon SES, Twilio, and APNs, and switch providers without code changes.
Trigger notifications from any product event
Send product events and user data from your backend, CDP, or warehouse, and reference user, object, and tenant data in every template.
Product usage from the Knock SDKs, traits from a CDP such as Segment, Amplitude, PostHog, RudderStack, Hightouch, or Census, app data from Stripe, Clerk, Supabase, Shopify, WorkOS, or Clay, and account data synced from a warehouse such as Snowflake, Databricks, Redshift, BigQuery, or PostgreSQL flow into one user model in Knock as user properties.
A dynamic audience updates as those properties change, and a user entering the audience triggers a workflow.
Ship product notifications like code
Work on a branch, review the diff, and promote to production.
An agent's branch forks off main in coral. A person merges it and publishes it, and the change turns ink and goes live, where every run is logged and any version can be reverted.
Work on a branch
Agents work in isolation, not on your live messaging.
Merge and publish
A person reads the diff, then merges and publishes it.
Monitor every run
Logs show details for every step of every run.
Analyze performance
Measure the impact of your messaging across channels.
Manage from your repo
Merge and promote from the Knock CLI and CI/CD.
Messaging infrastructure you can trust
99.99% uptime
We run Knock as critical infrastructure for your product.
Scaled delivery
Knock delivers hundreds of millions of messages per month.
Dedicated success
Our team helps you plan, build, and launch your messaging.
Secure access
Security is standard with support for SSO, RBAC, and SCIM.
HIPAA
SOC2
GDPR
CCPA
Trusted in production at
“Notifications at scale”
Notification infrastructure is the most essential part of any product that I'd never dare build myself from scratch or operate at scale. Knock's APIs allow me to focus on my front-end experience, while all the complexity is abstracted away.

Founder + CEO • Vercel
Frequently asked questions
Transactional notifications are messages a user's action or account event triggers, such as password resets, receipts, mentions, approval requests, and security alerts.
Trigger a workflow with a single API call. Official SDKs include Node, Python, Ruby, Go, Java, .NET, Elixir, and PHP.
Yes. Cancel a workflow from the API when the user completes the action, such as approving a request before a reminder sends.
Schema validation checks trigger data before a workflow runs, so a malformed payload fails at the API instead of in a user's inbox.
Yes. Knock connects to more than 25 providers, so you keep the providers you use today and route every channel through one workflow.
Knock logs every API request, workflow run, and message, so you can trace a message from trigger to delivery. Enterprise teams can stream logs to a warehouse or Datadog.






