new
Builder / Experiences
Developer / Installation
Run your own JavaScript inside a Flow or Embed

Content blocks couldn't fetch live data at render time. Click actions on buttons and images could only open a URL or track an event.
JavaScript snippets are custom code you write once, publish, and reuse. Two kinds:
- Content block.Add a Javascript block to a cell and it renders whatever your code returns at runtime — a live pull from your API, a value computed on the spot, anything you can build.
- Click action.On a Button, Image, or text link, run a snippet on click to trigger an action in your app — flip on dark mode from a Flow's button, open your support chat, or force a click in the app to change the state of the page and get ready for the next tooltip, a common problem on SPAs.
Available in Flows 2.0 and Embeds.