CircleCI

Actions

The CircleCI node allows you to automate work in CircleCI, and integrate CircleCI with other applications. n8n has built-in support for a wide range of CircleCI features, including getting and triggering pipelines.

On this page, you'll find a list of operations the CircleCI node supports and links to more resources.

Credentials

Refer to CircleCI credentials for guidance on setting up authentication.

Examples and Templates

For usage examples and templates to help you get started, take a look at n8n's CircleCI integrations list.

Basic Operations#

  • Pipeline
    • Get a pipeline
    • Get all pipelines
    • Trigger a pipeline

Example Usage#

This workflow allows you to get a pipeline in CircleCI. You can also find the workflowon the website. This example usage workflow would use the following two nodes. - Start - CircleCI

The final workflow should look like the following image.

A workflow with the CircleCI node

1. Start node#

The start node exists by default when you create a new workflow.

2. CircleCI node#

  1. First of all, you'll have to enter credentials for the CircleCI node. You can find out how to do that here.
  2. Select the VCS provider from the dropdown in the Provider field.
  3. Enter the project slug in the Project Slug field.
  4. Enter the number of the pipeline in CircleCI that you want to get in the Pipeline Number field.
  5. Click on Execute Node to run the workflow.
 
 

Credentials

You can use these credentials to authenticate the following nodes with CircleCI.

Prerequisites#

Create a CircleCI account.

Using Access Token#

  1. Access your CircleCI User Settings.
  2. Visit the Personal API Tokens section.
  3. Click on the Create New Token button.
  4. Type in a name for your token and click on the Add API Token button.
  5. Copy the generated API Token and use it with your CircleCI API node credentials in n8n.

Getting CircleCI credentials