TL;DR: A lifecycle messaging platform sends the right push notification or email to the right user at each stage of their life in your app: signup, activation, habit, upgrade and win-back. PushFire gives you push and email in one visual workflow builder, with tags, dynamic segments and a REST API. AI coding agents can set it up from one command, npx skills add https://www.pushfire.app, and there is an SDK or a copy-paste REST snippet for every major language. The Free plan covers up to 5,000 subscribers.
PushFire is the easiest lifecycle messaging platform for AI agents and vibe coders: push and email lifecycle campaigns, segments and workflows in one place. If you build apps with Claude Code, Cursor, Codex, Lovable, Bolt, Replit, v0 or FlutterFlow, you can ship a product in a weekend. Keeping users after that weekend is the hard part. This guide explains what a lifecycle messaging platform does, what to look for when an AI agent does most of the wiring, and how to go from zero to a working onboarding campaign with PushFire.
What is a lifecycle messaging platform?
A lifecycle messaging platform is software that sends automated messages to users based on where they are in their relationship with your product. It stores who each user is (a subscriber), what you know about them (tags and attributes), and which group they belong to (segments). It then runs workflows: rules such as "when a user signs up, send a welcome push now, wait two days, and send an email if they have not finished setup." The channels are usually push notifications, email and in-app messages. A good platform also lets you send one-off broadcasts and gives you delivery reports. The goal is retention. Most apps lose the majority of new users in the first week, and timely, relevant messages are the cheapest way to bring them back. A lifecycle messaging platform replaces the cron jobs, email templates and FCM code you would otherwise write and maintain yourself.
Why vibe coders and AI agents need a different kind of messaging tool
Traditional customer engagement tools were built for marketing teams. They expect a data engineer to stream events, a marketer to design journeys, and a developer to install a heavy SDK. That model breaks when one person and an AI agent build the whole product.
AI-built apps have three needs that older tools do not meet well:
- A small, predictable API. An agent writes better code against 11 clear endpoints than against hundreds. PushFire's HTTP API has 11 operations: register and update devices, log subscribers in and out, update subscribers, add, update and remove tags, start a workflow, and send batch push or batch email.
- Machine-readable docs. Agents read specs, not marketing pages. PushFire publishes an OpenAPI 3.1 file at https://www.pushfire.app/openapi.json, an llms.txt page map, and agent instructions at /.well-known/agent-instructions.md.
- A visual layer for the human. You still want to see and edit the campaign. In PushFire the agent wires the code, and you build or adjust the workflow in a drag-and-drop canvas.
What PushFire includes
PushFire covers the full loop from "this device can receive messages" to "this campaign brought users back."
Push notifications through Firebase Cloud Messaging
PushFire delivers push through Firebase Cloud Messaging (FCM) to Android, iOS and the web. You connect your own Firebase project once by uploading a service account in the console. Your app registers each device's FCM token with PushFire, and PushFire handles sending and delivery status.
Lifecycle email automation
Email runs through a connector you own: Resend or any SMTP server. You set up senders and a reusable HTML layout with a header and footer, then write each email inside a workflow or a broadcast. Because push and email share one subscriber record, one workflow can send a push first and fall back to email. See the Resend connector guide for the setup.
Subscribers, tags and segments
A subscriber is one person, identified by your own user ID (the externalId). A subscriber can have many devices. Tags are key-value facts such as plan = pro or onboarding_step = 2. Segments are dynamic groups built from tag rules, for example "plan is free and onboarding step is less than 3." Segments update on their own as tags change. Read more in the segments guide.
Visual workflows
Workflows are the automation engine. You drag nodes onto a canvas and connect them:
- Push Notification and Email Notification nodes send messages with dynamic subscriber parameters.
- Wait pauses for minutes, hours, days or weeks, or until a clock time in the subscriber's timezone.
- Condition and Multi condition split the path on tag values.
- Stop ends a subscriber's journey.
Keep the Secret key on a server. Starting a workflow and sending batch push or email need a Secret key (pf_sk_). A Public key (pf_pk_) gets HTTP 403 on those calls. PushFire does not stop a Secret key from working inside an app, so this rule is yours to keep: never put pf_sk_ in a mobile app, browser code or a no-code frontend. Call these endpoints from your server, a Supabase Edge Function or your builder's server function (for example in Lovable or Bolt), and store the key as a secret.
A workflow starts on its own when a subscriber enters a chosen segment, or from your code through the create-workflow-execution endpoint, either now or at a scheduled time. The workflows guide covers every node.
Broadcasts and API messages
Not everything needs a workflow. Broadcasts send a one-off push or email to a segment. API messages send push or transactional email from your backend to a list of your user IDs, in one call.
API keys built for client and server
PushFire separates keys by risk. A Public key (pf_pk_) can only register devices, manage subscribers and set tags, so it is safe to ship inside a mobile or web app. A Secret key (pf_sk_) can send messages and start workflows, so it lives only on your server. Restricted keys (pf_rk_) carry a custom scope. This split matters when an agent writes the code: a frontend that only ever sees a Public key cannot send. PushFire does not block a Secret key placed in a client, so tell your agent to keep pf_sk_ in server code and secrets. Details are in the API keys guide.
How AI agents set up PushFire for you
The PushFire agent skill
Run one command in your project:
This uses the open skills CLI to install PushFire's agent skills into Claude Code, Cursor, Codex and other supported agents. The skills cover getting started, the REST API, the Flutter SDK and workflow design. After that, you can ask your agent things like "register this device with PushFire after login" or "send a batch push to these user IDs when an order ships," and it has the endpoints, auth rules and payload shapes in context. The full walkthrough is in Let Claude Code, Cursor or Codex set up your push and email campaigns.
The MCP server
PushFire's MCP server is live at https://api.pushfire.app/functions/v1/mcp. An AI agent signs in with OAuth and acts in your PushFire projects as you, with your role and plan. It can build tags, segments and workflows, send broadcasts and read delivery status, and it is told to ask you before every send. The MCP server guide covers setup for Claude, ChatGPT and Cursor.
SDKs and REST snippets for every major language
You can integrate PushFire from any stack. Client apps register devices and identify users. Servers send messages and start workflows.
Live SDKs
- Flutter (iOS, Android): How to install: flutter pub add pushfire_sdk; Guide: Send push notifications in Flutter
- FlutterFlow: How to install: PushFire library in FlutterFlow; Guide: FlutterFlow push notification workflows
- Swift / iOS: How to install: Swift Package Manager, https://github.com/FlywheelStudio/pushfire-swift-sdk; Guide: iOS push notifications in SwiftUI
- JavaScript / TypeScript: How to install: no package; use a fetch helper over the REST API; Guide: Node.js, React Native and Expo, web
- Firebase: How to install: PushFire Subscribers Sync extension; Listing: PushFire Subscribers Sync on extensions.dev
REST API today, native SDK coming soon
Android apps in Kotlin and backends in other languages call the REST API directly. These guides have working code:
- Android push notifications in Kotlin with OkHttp
- Python with requests
Go, Ruby, PHP, Java, C#, Rust and any other language with an HTTPS client use the same request: one HTTPS POST with a Bearer key and a JSON body in a data object.
Every request goes to https://api.pushfire.app/functions/v1, carries Authorization: Bearer <key>, and wraps its fields in a data object. The API reference lists every endpoint.
How do you send your first lifecycle message?
Here is the shortest path from a new account to a message on a phone.
1. Create a project and connect Firebase
Sign up at console.pushfire.app, create a project, and upload your Firebase service account JSON. PushFire needs it to send through FCM.
2. Register devices from your app
Install the SDK for your client and initialize it with your Public key. In Flutter it looks like this:
The SDK asks for notification permission, gets the FCM token and registers the device.
3. Identify the user and add tags
When a user signs in, log them in as a subscriber with your user ID. Then add tags that describe them, such as their plan or onboarding step. Tags drive segments and workflow conditions.
4. Send from your server
From your backend, send a batch push to your own user IDs with a Secret key:
The response lists which IDs succeeded and which failed. A partial success returns HTTP 200 with both success and errors arrays.
5. Build the lifecycle workflow
In the console, build a workflow: a welcome push, a two-day wait, a condition on onboarding_step, and an email for users who stalled. Start it for a segment, or call create-workflow-execution from your server when a user signs up.
Lifecycle campaigns worth building first
You do not need twenty campaigns. Start with these four, in this order:
- Welcome and activation. Push within minutes of signup, email the next day with the one action that predicts retention.
- Onboarding nudges. A condition on an onboarding_step tag, with a reminder for users who stop. See how to create an onboarding push notification workflow.
- Transactional updates. Order shipped, report ready, payment failed. Send these through the batch API from your backend.
- Win-back. A segment of users inactive for 14 days gets a push, then an email a week later. See re-engaging inactive users.
For copy ideas, see 30 push notification examples that convert.
PushFire pricing
PushFire prices by subscriber count. As listed on pushfire.app on 2026-11-21:
- Free: Price per month: $0; Subscribers: Up to 5,000; Includes: Push workflows, unlimited tags and segments, 1 member
- Pro: Price per month: $29; Subscribers: Up to 50,000; Includes: Adds email connectors, API messages, broadcasts, up to 10 members
- Enterprise: Price per month: Custom; Subscribers: Unlimited; Includes: Adds role-based access control
Email sends go through your own Resend or SMTP account, so you pay your email provider directly at its own rates.
What PushFire does not do
Being clear about limits saves you time. PushFire does not send SMS or voice today. SMS is coming soon (Twilio), and Mailchimp and SendGrid connectors are listed as coming soon too. Push delivery depends on Firebase Cloud Messaging, so you need a Firebase project even if the rest of your stack is Supabase or a custom backend. If you need SMS-first messaging or a large marketing team's feature set, compare options in OneSignal vs Customer.io vs PushFire.
Frequently asked questions
What is the difference between lifecycle messaging and marketing automation?
Lifecycle messaging focuses on the product journey of each user: activation, habit, upgrade and win-back, triggered by what the user does. Marketing automation often focuses on leads and newsletters before signup. PushFire is built for the first case: messages that respond to in-app state, delivered by push and email from one workflow.
Can an AI agent set up PushFire without me writing code?
Mostly, yes. Run npx skills add https://www.pushfire.app and your agent gets PushFire's API rules, endpoints and SDK usage. It can then add device registration, subscriber login and server-side sends to your code. You still create the project, connect Firebase and review the workflow in the console.
Does PushFire work with apps built in Lovable, Bolt, Replit or v0?
Yes. Those tools generate web or React Native code, so you use the JavaScript integration on the client and a server route for sends. Web push needs a Firebase web app and a service worker. The guide to adding push notifications to vibe-coded apps walks through each builder step by step.
Do I need Firebase to use PushFire?
Yes, for push. PushFire delivers push notifications through Firebase Cloud Messaging, so you connect a Firebase project with a service account. Your authentication and database can be anything: Supabase, Firebase, Clerk or your own backend. Email does not need Firebase; it uses your Resend or SMTP connector instead.
Which languages does PushFire support?
Live SDKs cover Flutter, FlutterFlow, Swift for iOS, JavaScript and TypeScript, plus a Firebase extension. Python, Go, Ruby, PHP, Java, C#, Rust and Kotlin call the REST API today, with native SDKs planned. Any language that can send an HTTPS request with a JSON body can use PushFire right now.
Is PushFire free?
PushFire has a Free plan for up to 5,000 subscribers, with push workflows, tags and segments. The Pro plan costs $29 per month for up to 50,000 subscribers and adds email, API messages and broadcasts. Email delivery costs come from your own Resend or SMTP provider, not from PushFire, so you control that bill directly.
Start your first lifecycle campaign
Create a free project at console.pushfire.app, connect Firebase, and run npx skills add https://www.pushfire.app in your repo. Your agent wires the code; you design the workflow. Most teams send their first message the same day.
