Flux Product Docs
  • What is Flux?
  • Guides
    • Creating a Premium Video
    • Creating Your First Site
    • Creating a Countdown
    • Creating a Navigation Bar
    • Creating a Group
    • Custom 404 Page
    • Adding a Favicon to Your Site
    • Adding Videos to Your Site
    • Managing Your Guest List
    • Asset Management
    • Creating Sites from Site Templates
    • Publishing Site Versions
    • Advanced Debugging
  • Fundamentals
    • Key Concepts
    • Sites
    • Guests
    • Environments
      • Show Variables
    • Flows
      • Anatomy of a Node
      • Connecting Nodes and Building Flows
      • Passing Data
      • Scope
      • Interpolation
    • Keyboard Shortcuts
      • Keyboard Shortcuts - Page Editor
    • Animation States
    • Local Variables
    • Groups
  • Use Cases
    • For Designers
    • For Engineers
      • Custom CSS
      • Custom Modules
    • For Event Manager
      • Intercom Integration
  • Documentation
    • FAQ
    • Glossary
    • 🚀Show Controller
      • Modes
    • Domains and Subdomains
      • Hover
      • AWS Route 53
    • Premium Live Channels
    • Basic Video
    • Premium Video
      • AI Generated Subtitles
      • Supported Input Codecs and Containers
      • Supported Language Labels
      • Serverside Forensic Watermarking
    • Flow Nodes
      • Middleware
  • Modules
    • Access Code
    • Audio
    • Button
    • Carousel
    • Chat
    • Checkbox
    • Container
    • Countdown
    • Date
    • Embed
    • Image
    • Intercom
    • Link
    • Lottie
    • Page
    • Meter
    • Modal
    • Photobooth Gallery
    • Open Login
    • QR Code
    • Radio
    • Rich Text
    • Stack
    • Style
    • Spline
    • Switch
    • Text Input
    • Video
  • Template Guides
    • NatGeo FYC
      • Adding a Panel
    • Meow Wolf All Shrimps
  • 🚀Change Logs
    • July 12, 2024
    • June 08, 2024
    • April 26, 2024
    • April 12, 2024
    • March 29, 2024
    • March 15, 2024
    • March 1, 2024
    • September 2022
    • August 2022
    • July 2022
    • June 2022
Powered by GitBook
On this page

Was this helpful?

  1. Fundamentals
  2. Flows

Interpolation

Interpolate meta and other data

Last updated 2 years ago

Was this helpful?

To cut down on the count of flow nodes and edges necessary for a flow, users are able to substitute and interpolate in the flow editor. For any input, the entered value, if properly delimited, will be able to dynamically use current details about the show.

Note: This processing is only on inputs not for fields.

The basic format is

  • {{path.to.value}} Reduces need for the Destructure node.

The following obtain their values from other places. Importantly, these operate from any input of any flow node.

  • {{headers::path.to.value}} Reduces need for the about:extract node. Also allows access to other values in the headers, including the instruction that triggered the flow. (You can see the headers object in the result of any console log node)

  • {{meta::path.to.value}} Allows shorter, easier to read usage of the meta of the triggering instruction. {{meta::about}} is equivalent to {{headers::instruction.meta.about}}

  • {{local::variableName}} Reduces the need for Read Local Variable. Importantly, it is evaluated when the whole node is evaluated. The Read Local Variable node, however, is less predictable about when it may be read.

  • {{global::variableName}} Reduces the need for Read Variable. Importantly, it is evaluated when the whole node is evaluated. The Read Variable node, however, is less predictable about when it may be read.

Examples

The flow above is using destruction, the console log below uses destructuring.

The flow above is using destruction, the console log below uses destructuring.
The flow above is using destruction, the console log below uses destructuring.