Countdown timer
The Countdown timer counts down to zero, either from a fixed duration or to a set date and time. Once it reaches zero, the display freezes.
Templates

The category provides four visual variants:
- Blocks — Days, hours, minutes, and seconds in separate labeled cells.
- Inline Units — Single-line text with unit suffixes
- Inline — Pure digits
- Badge — A pill-shaped digit display.
Settings

Set the duration
In the Countdown section of the right panel, enter the starting duration in days, hours, minutes, and seconds. The hours field accepts up to 999, so you can enter a 72-hour countdown as 72h instead of 3d. Both give the same countdown: hours above 23 still count as full days in timer_days.
A timer with the Until date or Developer defined behavior has no duration. To set its end, see Count down to a date or Let your app set the end date.
Change the time format
The text inside the timer shows the remaining time through timer variables. To change which units the timer shows, select a text element inside the timer, and in the Content section, click Add variable and select a timer variable.
| Variable | Shows | Value at the start of a 53-hour countdown |
|---|---|---|
timer_days | Whole days left | 02 |
timer_hours | Hours left within the current day, from 0 to 23 | 05 |
timer_total_hours | All hours left, including full days | 53 |
timer_minutes | Minutes left within the current hour | 00 |
timer_seconds | Seconds left within the current minute | 00 |
To show a countdown longer than a day as hours only, such as 48:00:00 or 72:00:00, use timer_total_hours:timer_minutes:timer_seconds. Don’t add timer_days to the same text: timer_total_hours already includes the days, so the text would count them twice.
Configure the behavior
The Behavior dropdown controls when the timer starts, or makes it count down to a set date:
- Every appear — Restarts every time the user opens the screen. Default.
- First appear — Starts on the user’s first screen view in the current app session. Keeps counting if they return during the same session; resets on a fresh app launch.
- First appear (persisted) — Starts on the user’s first screen open and keeps counting across app launches.
- Until date — Counts down to a set date and time, such as the end of a sale. See Count down to a date.
- Developer defined — Counts down to an end date that your app sets for each user through a Timer ID. See Let your app set the end date.
Count down to a date

To show the real time left in a limited-time campaign, such as a Black Friday sale, count down to the end of the campaign instead of from a duration:
- In the Behavior dropdown, select Until date. The duration fields give way to the end date fields.
- In the End date field, select the last day of the campaign.
- In the Time fields, enter the hour and the minute of the end. The default is 23:59.
- In the Time zone dropdown, select the time zone of the end. The default is the time zone of your browser.
With a time zone selected, the end is one moment for all users. Two users who open the screen on different days see the same time left at the same moment, and a new screen open or an app restart doesn’t reset the timer.
To end the campaign at the same clock time in each user’s time zone, such as midnight everywhere, select User’s local time. Each device then counts down to the set date and time on its own clock, so users in different time zones reach zero at different moments.
At the end date and time, the timer shows zero and its On timer end trigger runs. A user who opens the screen after the end sees zero at once, and the trigger runs once per screen open. The timer stays on the screen: to remove it or a discount badge after the sale, add an On timer end trigger with a Hide element action (see Show or hide an element).
The builder doesn’t publish a flow until each Until date timer has an end date. The flow still saves without one. An end date in the past is valid: the timer shows zero from the start.
The timer counts the time left by the device clock, so a user who changes the clock on the device changes the time left too.
Let your app set the end date
To count down to an end that is different for each user, such as the end of a personal offer, let your app set the end date. With Until date, the end is one date that you set in the builder for all users.
- In the Behavior dropdown, select Developer defined. The duration fields give way to the Timer ID field.
- In the Timer ID field, enter an ID for this timer, such as
black_friday. Your app code must use the same ID, character for character, including letter case and spaces. The builder doesn’t remove spaces at the start or the end of the ID.
Your developer sets the end date for each Timer ID in the app code:
When a user opens the screen in your app, the timer works as follows:
- If your app sets an end date for the Timer ID, the timer counts down to that date.
- If your app sets no end date for the Timer ID, the timer counts down one hour from the screen open.
- If the end date is in the past, the timer shows zero at once, and its On timer end trigger runs once per screen open.
- Timers with the same Timer ID show one countdown, on one screen or on different screens.
On the canvas, a Developer defined timer shows one hour, because only your app gives the end date.
The builder doesn’t publish a flow until each Developer defined timer has a valid Timer ID. The flow still saves without one.
Trigger an action when the timer ends
Main article: Actions
Add an On timer end trigger to run an action when the countdown reaches zero — for example, navigate to another screen or hide a discount badge.
Delay when a close button appears
To delay the appearance of the close button, use the Show element action:
- Add the Close button to the screen, and set its Visibility to Hide in the Design panel.
- Add an On Screen Appear trigger with a Show element action that targets the close button.
- In the Delay field, set the time before the button appears, up to 5000 ms.
These steps replace the Show after delay option of the old Paywall Builder.
For a delay longer than 5 seconds, replace steps 2 and 3 with a Countdown timer that users don’t see:
- Add a Countdown timer element to the same screen. Leave its Visibility set to Show, and keep the digits in its text, so that its On timer end trigger fires.
- To keep the Countdown out of sight, make its text fully transparent or the same color as the background.
- Set the timer’s duration to the delay before the close button should appear (see Set the duration).
- On the timer, add an On timer end trigger with a Show element action that targets the close button (see Show or hide an element).
When the timer reaches zero, the Show element action reveals the close button.