TL;DR: FlutterFlow push notification workflows with PushFire need three parts. The app sets tags with the pushfireAddTag and pushfireUpdateTag custom actions, PushFire groups users into segments by those tags, and a workflow with a segment-entry start node sends push and email on a schedule you design. No custom code runs in FlutterFlow beyond the library actions. You edit copy, delays and branches in the PushFire console without publishing a new app build.
Getting the first notification to a phone is step one. FlutterFlow push notification workflows are what turn that into retention: a welcome series, a trial reminder, a win-back message. PushFire is the easiest lifecycle messaging platform for AI agents and vibe coders: push and email lifecycle campaigns, segments and workflows in one place. This article assumes FCM already works in your FlutterFlow project. If it does not, follow FlutterFlow push notifications: the complete setup guide first. For the bigger picture, see the lifecycle messaging platform overview.
How PushFire fits into a FlutterFlow app
FlutterFlow's built-in push sends a notification to the users you pick. It has no tag-based segments and no multi-step journeys, so a question such as "who signed up three days ago and has not finished onboarding?" needs your own code. PushFire adds that layer:
- Subscribers: one record per user, keyed by your auth user ID.
- Tags: values on a subscriber, such as plan = trial or onboarding = completed.
- Segments: dynamic groups defined by tag rules. They update when tags change.
- Workflows: visual flows of Push, Email, Wait, Condition, Multi condition and Stop nodes.
The FlutterFlow library, PushFire-Lib, wraps the pushfire_sdk Flutter package as custom actions.
Set up the PushFire library in FlutterFlow (short version)
- Open Settings & Integrations → Project Setup → Project Dependencies → FlutterFlow Libraries, search for PushFire-Lib and click Add to Project.
- Set the library value pushfireApiKey to your PushFire key, and set provider to Firebase, Supabase or AuthProvider.none.
- Under Pubspec Dependencies, add pushfire_sdk. The FlutterFlow guide lists the recommended version; pub.dev currently lists 0.3.4.
- In App Settings → Custom Code → Configuration Files → main.dart, add the custom action pushfireInitialize under Initial Actions.
Use a Public key (pf_pk_...) in the app. It can register devices, log subscribers in and set tags. It cannot send messages, which is why it is safe inside an app bundle. Read Public and Secret keys.
With provider set to Firebase or Supabase, the SDK logs subscribers in and out from your auth state. With AuthProvider.none, call pushfireLoginSubscriber after sign-in and pushfireLogoutSubscriber after sign-out.
Build FlutterFlow push notification workflows in four steps
Step 1: Create tags in the PushFire console
Go to Audience → Tags and create the tags your campaigns need, for example plan, onboarding and last_feature_used. Each tag has an ID. Copy it; the custom actions take the tag ID, not the tag name.
Step 2: Set tags from FlutterFlow actions
Attach custom actions to the events that matter:
- User starts a trial: Custom action: pushfireAddTag; Arguments: tagId = plan tag ID, tagValue = trial
- User finishes onboarding: Custom action: pushfireUpdateTag; Arguments: tagId = onboarding tag ID, tagValue = completed
- User upgrades: Custom action: pushfireUpdateTag; Arguments: tagId = plan tag ID, tagValue = pro
- User leaves a beta: Custom action: pushfireRemoveTag; Arguments: tagId = beta tag ID
- User edits profile: Custom action: pushfireUpdateSubscriber; Arguments: name, email, phone
Add the action in the Action Flow Editor of the button, page load or backend-call callback, the same way you add any custom action.
Step 3: Define segments by tag rules
In Audience → Segments, combine tag conditions. "Trial, not onboarded" might be plan Equals trial and onboarding NotExists. Operators include Exists, NotExists, Equals, NotEquals, Contains, NotContains, GreaterThan and LessThan. The segments guide explains each one.
Step 4: Build the workflow
Create a workflow and choose the start type "A subscriber enters a segment". Then add nodes. A trial onboarding flow could look like this:
- Push: "Welcome! Finish setup in 2 minutes."
- Wait: 1 day.
- Condition: does onboarding exist?
- True → Stop.
- False → Email: a how-to guide with screenshots.
- Wait: 3 days, then a Push reminder before the trial ends.
The workflows guide covers every node.
How do I send lifecycle emails from FlutterFlow?
FlutterFlow apps send lifecycle emails through PushFire workflows, not through app code. First, make sure each subscriber has an email address: the Firebase and Supabase providers pass the auth email at login, and pushfireUpdateSubscriber updates it later. Next, connect an email provider in the PushFire console. Resend and SMTP are available today; with Resend you add an API key, verify your domain and create a sender. Then publish an email layout, which wraps every email in a shared header and footer. Finally, add an Email Notification node to any workflow, next to your Push nodes. The same segment that triggers a push can trigger an email one day later, and a Condition node can skip the email if the user already acted. Because the app only sets tags, you can rewrite or retime the emails in the console without a FlutterFlow release or app store review.
See the Resend connector guide for the email setup.
What about pushfireExecuteWorkflow?
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.
The library also has pushfireExecuteWorkflow, which takes a workflowId. Workflow executions need a Secret key scope on the PushFire API, and a Public key cannot create them. Do not put a Secret key in a FlutterFlow app to make it work, because anyone can extract it from the app bundle.
Use one of these patterns instead:
- Segment-entry workflows (above). The app sets a tag; PushFire does the rest.
- Backend trigger. A Firebase Cloud Function or Supabase Edge Function holds the Secret key and calls POST /create-workflow-execution with a workflow ID and subscriber or segment IDs. See the API reference.
Let an AI agent wire it up
If you export your FlutterFlow code and edit it with Claude Code, Cursor or Codex, install the PushFire agent skill:
It includes Flutter, FlutterFlow and workflow guidance. The full step-by-step guide is FlutterFlow push notifications. For hand-written Flutter apps, read how to send push notifications in Flutter.
Frequently asked questions
Can I build push notification workflows in FlutterFlow without code?
Yes. The PushFire-Lib library adds ready-made custom actions, so you only pick an action and fill in arguments such as a tag ID and value. The workflows themselves live in the PushFire console as visual nodes. You do not write Dart unless you choose to add your own custom code.
Why does my FlutterFlow tag action fail?
The most common cause is passing the tag name instead of the tag ID. Copy the ID from Audience → Tags in the PushFire console. Also check that the library value pushfireApiKey is set, that pushfireInitialize runs as an initial action, and that you test on a device, not the web preview.
Can FlutterFlow send emails through PushFire?
Yes, through workflows. Connect Resend or SMTP in the PushFire console, verify a sender, publish an email layout and add an Email Notification node to a workflow. Subscribers need an email address, which the Firebase and Supabase providers set at login. The FlutterFlow app itself never sends the email.
Does the PushFire FlutterFlow library work in the web preview?
No. PushFire delivers push through Firebase Cloud Messaging, which does not work in the FlutterFlow browser preview, and the Flutter SDK does nothing on web. Test on an Android emulator, an iOS simulator or a physical device. Use a real iPhone for the final iOS test, because APNs behaves differently there.
How much does PushFire cost for a FlutterFlow app?
The Free plan costs $0 for up to 5,000 subscribers and includes tags, segments and push workflows. Pro costs $29 per month for up to 50,000 subscribers and adds email, API messages and broadcasts. The FlutterFlow library and the pushfire_sdk package are free. Email delivery costs depend on your Resend or SMTP provider.
Launch your first FlutterFlow workflow
Create a free project at console.pushfire.app, add PushFire-Lib to your FlutterFlow project and set one tag. The Free plan covers up to 5,000 subscribers, so you can run a push onboarding workflow before you pay anything.
