Cycle Logo

Pipeline Variables

Certain fields on a pipeline step can utilize pipeline variables - special strings that are replaced with user-provided values at runtime. These variables can be used for highly dynamic workflows where specific or custom values are desired.

Variable Format

A pipeline variable follows this format:

{{variable}}

and supports the following characters:

  • a-z
  • 0-9
  • -

Not all pipeline step fields support variables. When using the Portal, fields supporting variables are specified with an icon.

Variables in WebHook Body

Variables are supported and can be used in the body of the POST webhook step.

Magic Variables

Cycle provides automatic support for some variables, known as magic variables, that will automatically be filled in during pipeline run.

  • Date - {{date}} - 2024-08-13
  • Date-time - {{date-time}} - 2024-08-13 16:57:24
  • Time - {{time}} - 16:57:24
  • Time RFC - {{time-rfc3339}} - 2024-08-13T16:57:24Z

Post to Webhook

For the step Post to Webhook, users can read headers from the post. Specifically x-pipeline-components-(stage-identifier) is a map of all the objects that were modified during the execution of that stage.

Get Started with Pipeline Variables

See our dedicated, interface-specific documentation for setting up pipelines with variables:

🍪 Help Us Improve Our Site

We use first-party cookies to keep the site fast and secure, see which pages need improved, and remember little things to make your experience better. For more information, read our Privacy Policy.