Skip to main content

Variables

Variables in Klyntos let you pass information between workflow blocks, persist secrets, and expose configuration to collaborators. They are essential for keeping workflows reusable while avoiding hard-coded values.

Variable options

  • Workflow variables – Scoped to a single workflow run and ideal for passing data between blocks.
  • Environment variables – Shared across a workspace for credentials, URLs, and other secrets that must stay consistent.

Best practices

  • Prefer environment variables for credentials and tokens so you can rotate them without touching workflows.
  • Use descriptive names and document how each variable is consumed in your blocks.
  • Remove unused variables to keep the workspace tidy and avoid leaking stale values into new runs.
  • Triggers – Inject data into workflows when they start.
  • Blocks – Reference variables directly inside block configuration fields.