Optimal delivery sends a push to each subscriber at the hour they use your app most. PushFire holds the push and sends it at the next occurrence of that hour, at most 24 hours after the send. Each subscriber gets their own send time, so one campaign reaches people when they are likely to open their phone.
Optimal delivery needs the Pro or Enterprise plan. It is off by default. You turn it on for each workflow push step, each push broadcast or each API call.
How PushFire picks the best hour
PushFire uses the first rule in this list that has data for the subscriber:
- App activity. The hour of the day in which the subscriber uses your app most. PushFire counts the calls your app makes, through an SDK or the REST API: device registration, device updates and login. The newest SDKs also send an app-open signal. It needs at least 5 activity samples. Recent activity counts more than old activity.
- Sign-up hour. The hour in which the subscriber's first device was registered. A person often installs an app at a time when they use their phone. A subscriber that your server creates with create-subscriber has no device, so it skips this rule until your app registers a device for it.
- Project hour. The most common best hour across all subscribers in your project.
- Send now. When the project has no data at all, PushFire sends the push at once.
Every subscriber gets the push. A subscriber with no data of their own gets the project hour, or the push now.
PushFire tracks hours in UTC. The best hour follows the subscriber's real habit, so it is correct in every time zone without a time zone setting.
The 24-hour window
- PushFire sends the push at the next occurrence of the best hour. The delay is never more than 24 hours.
- When the best hour is the current hour, PushFire sends at once.
- PushFire spreads the sends across the hour, by subscriber, so a large audience does not go out in the same minute.
- Before it sends a delayed push, PushFire checks the subscriber again. A subscriber who opted out, or who has no valid device, during the wait does not get the push.
Use Immediate for messages that cannot wait: password resets, security alerts, order updates and other transactional messages.
Plans
- Free: Optimal delivery is not available. PushFire still collects activity data on Free, so the best hours are ready the moment you upgrade.
- Pro and Enterprise: Optimal delivery is available in workflows, push broadcasts, the REST API and the MCP server.
Broadcasts (push and email) also need Pro or Enterprise. See Plans and limits.
Optimal delivery is for push only. Email workflow steps, email broadcasts and the email API send at once.
Where to use it
Workflow push steps
Each Push Notification step has a Delivery option with two choices:
- Immediate (the default): "Send as soon as the step runs".
- Optimal: "At each subscriber's best hour, within 24 hours".
When you select Optimal, a note under the option explains the wait and the fallback order: activity, then the sign-up hour, then your project's busiest hour, then send now. On the canvas, an Optimal step shows an Optimal pill with a clock icon before its title.
In the workflow graph, the option is data.delivery.mode, with the value immediate or optimal. A step without the field sends at once, so existing workflows do not change.
- On Free, Optimal is locked, with a lock icon and the line "Optimal delivery is available on Pro and Enterprise. Upgrade". The Upgrade link opens Payment & Billing.
- If a step is already set to Optimal and the project moves to Free, the step keeps the value and shows "This plan does not include optimal delivery. Choose Immediate to save." Its pill on the canvas turns red with a lock icon. Switch the step to Immediate to save the workflow.
- If the project moves to Free while a workflow is live, the Optimal step sends at once. The workflow does not stop.
When a subscriber reaches the step, the subscriber's run shows Waiting until the send time. Then the step sends and the run continues to the next step. A Wait step after the push counts from the real send.
To see the plan for one subscriber, switch the workflow to Executions, then open the execution and the subscriber. The waiting push step shows Sends with the planned time, in your time zone, and Best hour from with the source: Activity, Sign-up hour or Project hour.
A dry run returns a wait_optimal_delivery step with the planned send time before the push.
Push broadcasts
Step 3 of the push broadcast composer is Delivery: "When should each subscriber get it?". It has the same two choices, Immediate and Optimal. With Optimal, the note reads "Sends spread over the next 24 hours. Subscribers who opt out before their send time get nothing." and the send button reads Schedule at best hours.
An Optimal broadcast shows an Optimal pill on the broadcast list and on its detail page. While PushFire sends to each subscriber at their hour, the status reads Sending at best hour, followed by the number of subscriber devices still waiting (for example "1,250 waiting") and Up to 24h. The status shows when the broadcast is Pending or In Progress. When every send is done, the normal status (for example Completed) comes back.
See Broadcast push notifications.
REST API
send-batch-push-notifications takes an optional delivery object next to notification. The default is immediate, so calls that do not send it do not change.
On the Free plan, a call with "mode": "optimal" fails with status 403 and the code optimal_delivery_not_available on each error item. A mode other than immediate or optimal fails with 400. See the REST API quickstart.
MCP server
The send_push_broadcast tool takes delivery_mode: immediate (the default) or optimal. Workflows that an agent builds with create_workflow or update_workflow take data.delivery.mode on push steps. Ask your agent for optimal delivery by name; it does not choose it alone. See PushFire MCP server.
SDK versions
Optimal delivery works today with every SDK version. Older SDKs and direct REST calls give PushFire the sign-up hour and the device and login calls.
The next releases of the Swift, Flutter and JavaScript SDKs also send two signals with no code change:
- The device time zone, when the subscriber has none yet.
- An app-open signal, at most once every 30 minutes while the app is in the foreground.
These signals give PushFire more activity samples, so the best hour gets more accurate. Update the SDK when the release is out.
FAQ
What happens to a subscriber with no data?
The subscriber still gets the push. PushFire uses the project hour. If the project has no data at all, PushFire sends the push at once.
How long can a push wait?
At most 24 hours after the send. When the best hour is the current hour, the push goes at once.
Can I set a send time before or after the best hour?
Not yet. Optimal delivery sends in the best hour itself.
Does the subscriber's time zone matter?
No. PushFire learns the hour from activity, in UTC, so the hour is right wherever the subscriber lives. A daylight saving change can move the send by one hour until new activity shifts the best hour.
What if a subscriber opts out while the push waits?
PushFire checks opt-out and the subscriber's devices again before it sends. An opted-out subscriber does not get the push.
What happens if I downgrade to Free?
Live workflows keep running, and their Optimal steps send at once. On Free you cannot save a workflow that has an Optimal step: to edit the workflow, switch the step to Immediate first. You also cannot call the API with optimal.
Does PushFire track opens?
No. The best hour comes from the device, login and app-open calls your app makes. PushFire records delivery status, not opens or clicks.