Run once

Runs its child elements once per session or per installation.

When to use?

When you want to run something only once per installation on a device or per session. You can also use the else flow to execute something if the "run once" flow has already been executed. A particular example might be to offer the user help the first time they run the skill, and then redirect them elsewhere on subsequent runs.

How to use:

  1. Choose the type of check you want from the Run Once Per dropdown.
    • Installation is checked once per skill installation. This essentially equates to "run this only once and never again."
    • Session will run whichever elements once each time the user invokes your skill.
  2. If you want to run something else if the "run once" part has already been executed, you can add elements to the else flow.