FlowRunner
Pricing
Theme

CircleCI

Developer Tools

Trigger and inspect CircleCI pipelines, workflows, and jobs, and manage project environment variables from your flows over the CircleCI API v2.

21 actions available
Code merges to a release branch and a flow picks it up
Agent resolves the project slug and the branch to build
Agent calls Trigger Pipeline to start the test pipeline
Agent polls Get Pipeline Workflows until the build reaches a terminal state
Agent posts the build result and any failing tests to the deploys channel
An engineer approves the deploy pipeline before the agent triggers it against production

What This Integration Enables

FlowRunner agents use CircleCI to run CI/CD from inside a larger flow instead of from the dashboard. An agent can kick off a test or deploy pipeline when code merges or a form is submitted, poll pipeline, workflow, and job status to gate downstream steps on a green build, and cancel or rerun stuck or failed workflows. It can collect job artifacts and test metadata for reporting or notifications, and manage project environment variables and inspect checkout keys. What it does not do on its own is trigger the pipeline that ships to production. That trigger waits for the engineer who owns the release.

Without FlowRunner

Manual triggering An engineer opens CircleCI and starts each build by hand
Dashboard polling Someone refreshes the pipeline page waiting for it to go green
Deploy by habit A production deploy fires with no explicit approval step

With FlowRunner

Auto-triggered builds The agent starts the test pipeline when code merges
Gated on green The agent waits for the build result and gates the next step on it
Approved deploys The production deploy pipeline waits for an engineer to approve

Use Case Scenarios

Merge-to-build with a production deploy gate

Code merges to a release branch. The agent calls Trigger Pipeline to start the test pipeline, then polls Get Pipeline Workflows until it finishes. On green, it does not deploy. It posts the result to the deploys channel and asks an engineer to approve the production deploy. Only after the approval does the agent trigger the deploy pipeline. Tests run automatically; the ship stays a decision.

Failure to a page

The agent watches a running pipeline with Get Pipeline Workflows. When a workflow reaches a failed state, it opens an incident in the on-call tool with the failing workflow details and posts a link to the run. A broken build reaches the on-call engineer through the channels they already watch.

Test summaries after every run

After a pipeline finishes, the agent calls Get Test Metadata and Get Job Artifacts to pull the test results and build output, then posts a summary of failing tests and the artifact links to the team channel. The team sees what changed without opening the dashboard.

Human-in-Loop Highlight

The human-in-loop moment in CircleCI is the production deploy gate. Triggering test pipelines, polling status, and rerunning failed workflows are all safe to automate, so the agent runs them by rule. Triggering a pipeline that deploys to production is not, so the agent stops. When a build is green and a deploy is on the table, the agent posts the pipeline result to the deploys channel and asks: "app pipeline #914 is green on release/2.7. Trigger the production deploy?" A named engineer approves. Only then does the agent call Trigger Pipeline against the deploy workflow. The agent runs CI on its own. A person owns the deploy to production.

Agent processes routinely
Detects exception requiring judgment
Clear match Continues automatically
Ambiguous Routes to human via preferred channel
Human decides
Agent resumes with decision

Agent Capabilities

21 actions

Pipelines

7
  • Trigger Pipeline Start a pipeline on a project. Used to kick off a build or deploy when code merges. Run it behind a human gate when it deploys to production.
  • Get Pipeline Retrieve a pipeline by ID.
  • Get Pipeline by Number Retrieve a pipeline by its per-project number.
  • List Project Pipelines List the pipelines for a project.
  • List My Pipelines List the pipelines triggered by the authenticated user.
  • Get Pipeline Config Retrieve the compiled and source configuration for a pipeline.
  • Get Pipeline Workflows List the workflows in a pipeline and their status. Used to gate a step on a green build.

Workflows

4
  • Get Workflow Retrieve a single workflow by ID.
  • Get Workflow Jobs List the jobs in a workflow and their status.
  • Cancel Workflow Cancel a running workflow.
  • Rerun Workflow Rerun a workflow from the start or from its failed jobs.

Jobs

4
  • Get Job Details Retrieve a job's details within a project.
  • Cancel Job Cancel a running job.
  • Get Job Artifacts List the artifacts a job produced, with download URLs.
  • Get Test Metadata Retrieve the test results recorded for a job.

Project

5
  • Get Project Retrieve a project by slug.
  • List Env Vars List a project's environment variables. Values are masked to the last four characters.
  • Create Env Var Set a project environment variable.
  • Delete Env Var Delete a project environment variable.
  • List Checkout Keys List a project's checkout keys.

Account

1
  • Get Current User Retrieve the authenticated user. Used as a connection check.

Start building with CircleCI

$100 in credits. No card required. Connect in minutes.