Skip to content

Spacelift Deploy Blocks

This page is a brief reference on the Spacelift Deploy blocks available in Flows. To see samples of Spacelift Deploy-focused flows, see the Template Gallery!

Subscription blocks let you subscribe to events happening in Deploy. Importantly, your Flows Project can subscribe to events from any Deploy Space it has at least Read access to.

Lets you subscribe to Run state changes, optionally filtering by the stack id, run type, and run states.

Lets you subscribe to internal system notifications in Deploy, like Source Control system errors.

Action blocks are triggered based on input events and operate on your Spacelift Deploy account.

Triggers a Run on a stack, keeps you updated about its progress, and finally notifies you of its completion.

Triggers tracked Runs on multiple stacks, and respects stack dependencies between them, for ordering. It will periodically give you batched updates on the progress of those runs, and notify you once all have completed.

Triggers a Task on a stack, keeps you updated about its progress, and notifies you of its completion.

Confirms an unconfirmed run.

Reviews (approve or reject) a Run for the purposes of an approval policy.

Deploys a Spacelift Deploy Template, keeps you updated on the deployment progress, and notifies you of its completion.

Once you specify a Template, the block will expose extra config fields for the Template’s form parameters.

Deploys a Spacelift Deploy Template, keeps you updated on the deployment progress, and notifies you of its completion.

Once you specify a Blueprint, the block will expose extra config fields for the Blueprint’s form parameters.

Execute an arbitrary GraphQL query. If you use variables in your query, they will be exposed as distinct config fields on the block.

See an example of fetching logs for a Run below (just make sure to substitute your own Run ID).