Fluxyn Docs

Custom Script

Runs inline JavaScript in the page context.

Coding

Use this when you need to call a page-global function or run a small browser-only script.

When to use it

  • Call a vendor function already loaded on the page.
  • Handle edge cases that do not fit a built-in node yet.

Routing behavior

Continues through its connected downstream path when it completes successfully.

Properties

PropertyTypeRequiredDetails
code
code
codeOptionalJavaScript code to execute. Available variables: $ (event data), $eventData (original data), $input (previous node output), $consent (consent state). Do NOT use {{ }} here.
position
position
selectOptionalWhere to inject the script
oncePerPage
oncePerPage
booleanOptionalRun only once per page (prevents duplicate execution)

Common mistakes

  • Strict CSP rules can block inline scripts.
  • Use built-in nodes first when possible.

Related nodes