Integrations / Developer tools

CircleCI

Look up pipelines, workflows and jobs, trigger pipelines, rerun or cancel workflows, and trigger workflows from CircleCI workflow and job completions.

8 tools 2 trigger events

Tools

circleci.list_pipelines

List a project's recent pipelines, newest first.

project_slug*branchpage_token

circleci.list_pipeline_workflows

List the workflows of a pipeline, with their statuses.

pipeline_id*

circleci.list_workflow_jobs

List the jobs of a workflow, with their statuses and job numbers.

workflow_id*

circleci.trigger_pipeline writes

Run a pipeline definition on a branch or tag.

project_slug*definition_id*branchtagcheckout_branchparameters

circleci.rerun_workflow writes

Rerun a workflow, from its failed jobs or in full.

workflow_id*from_failed

circleci.cancel_workflow writes

Cancel a running workflow.

workflow_id*

circleci.api_get

Send a GET request to any CircleCI API path under https://circleci.com/api/v2 and return the response. For endpoints the named tools don't cover.

path*params

circleci.api_request writes

Send a POST, PUT, PATCH or DELETE request to any CircleCI API path under https://circleci.com/api/v2.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any CircleCI API path.

Connect

  1. In CircleCI, open User settings → Personal API Tokens, choose Create New Token, and copy it. Project API tokens don't work with API v2.
  2. Paste it as the connection's API token.
  3. To trigger workflows, open the project's Project Settings → Webhooks, choose Add Webhook with the request URL shown on the connection page, set a secret token, pick the events, and paste the same secret token on the connection.

Credentials

Personal API token Webhook secret token

CircleCI API docs

Triggers

In CircleCI, open the project's Project Settings → Webhooks, choose Add Webhook with this URL, set a secret token, pick the events, and paste the same secret token on this connection.

Events

workflow-completedjob-completed
trigger
kind: circleci connection: circleci events: [workflow-completed] projects: [...] branches: [...] workflows: [...]

Your next automation is one sentence away.

14-day free trial with $5 of built-in AI included. Cancel anytime.