For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delay Interaction

The Delay Interaction component allows you to pause the UI for a set time, useful for creating smooth transitions, simulating processing, and enhancing user experience.

The Delay Interaction pauses the flow screen for a set duration, then fires a Finish interaction. Use it to create smooth transitions, simulate processing, or trigger an action a moment after a screen loads — with or without a loading spinner.

Overview

The Delay Interaction is a timing component. When the screen it sits on loads, it waits for the duration you set, then fires its Finish interaction so you can chain another action — show a confirmation, launch a flow dialog, navigate, or run flow logic.

The component is invisible on the screen unless Show Loading is enabled, in which case it displays a loading spinner for the duration of the delay. This makes it equally useful as a visible "please wait" indicator or as a silent, behind-the-scenes timer.

To use it, drag the Delay Interaction onto the screen where you want the pause to occur, set the delay duration in the Properties tab, and (optionally) wire up an interaction in the Interactions tab to define what happens once the delay elapses.

Tutorials

Name
Description

Learn to celebrate user milestones with confetti in Salesforce Flow!

Learn to subtly initiate flow dialogs using the invisible Delay Interaction component for smoother, cleaner user experiences.

Configuration

Configure the Delay Interaction from the Properties tab of the Edit Delay Interaction Component panel.

Properties

  • Delay (Milliseconds) — The length of the pause, in milliseconds, before the Finish interaction fires (1000 milliseconds = 1 second).

  • Show Loading — When enabled, a loading spinner is displayed for the duration of the delay. Leave it off to keep the component invisible on the screen.

The whole Properties tab: a delay of three seconds, with the spinner turned on. There is no Style tab, because the component has nothing to style.

Use Cases

  • Splash screen: Show your app's logo for a few seconds while it loads.

  • Onboarding flow: Give users a moment to read instructions before asking them to interact.

  • Progress indicator: Display a loading spinner while a task is being completed.

  • Interactive tutorials: Pause between steps to allow users to follow along.

  • Form validation: Briefly display an error message before clearing a form field.

Interactions

Interactions define what happens when the delay elapses. Configure them from the Interactions tab of the Edit Delay Interaction panel.

Finish

Fires once the Delay (Milliseconds) duration has elapsed after the screen loads. Wire it to any interaction — Show Toast, Fire Confetti, Open Flow Dialog, Navigate, and more — to run an action a set moment after the screen appears.

Output Variables

Flow Interaction Output Variables

Like all interactive Flow components, the Delay Interaction exposes generic output slots (Variable 1–10) that an Open Flow Dialog or Open Flow Panel interaction can fill with values from a launched flow. See Flow Interaction Output Variables.

Troubleshooting Common Issues

  • The delay is far shorter or longer than expected — The duration is set in milliseconds, not seconds. Enter 1000 for a one-second pause, 3000 for three seconds, and so on.

  • Nothing happens after the delay — No interaction is wired to the Finish event. Open the Interactions tab and configure what should run once the delay elapses.

Last updated

Was this helpful?