
CIRCLECI n8n INTEGRATION: AUTOMATE CIRCLECI WITH N8N
CIRCLECI N8N INTEGRATION: AUTOMATE CIRCLECI WITH N8N
Need help automating Circleci with n8n?
Our team will get back to you in minutes.
Why automate Circleci with n8n?
The CircleCI n8n integration gives you access to 3 actions that cover the essential operations for pipeline management: triggering new pipelines, retrieving individual pipeline details, and fetching multiple pipelines at once. This means you can build complete CI/CD orchestration workflows directly within n8n's visual editor.
Significant time savings become immediately apparent. Instead of manually navigating to CircleCI's dashboard to trigger builds or check pipeline statuses, you can automate these operations based on external events. Set up a workflow that triggers a deployment pipeline when a Slack message contains a specific keyword, or automatically fetch pipeline results and post them to your team's communication channel. These automations eliminate repetitive context-switching and let your team focus on actual development work.
Seamless integration with your existing stack is where n8n truly shines. Connect CircleCI to your project management tools like Jira or Linear to trigger builds when issues move to specific statuses. Integrate with GitHub webhooks to create sophisticated branching strategies. Link to monitoring tools like Datadog or PagerDuty to respond to infrastructure events with automated deployments. The possibilities include:
- Triggering deployment pipelines when PRs are merged via GitHub webhooks
- Fetching pipeline statuses and posting daily summaries to Slack
- Creating automated rollback workflows when monitoring alerts fire
- Syncing pipeline data to Airtable or Google Sheets for reporting
How to connect Circleci to n8n?
! 1 stepHow to connect Circleci to n8n?
- 01
Add the node
CircleCI uses API Token authentication to securely connect with n8n. This method provides granular access control and can be easily revoked if needed.Basic configuration:Generate your API token in CircleCI: Navigate to your CircleCI dashboard, click on "User Settings" in the left sidebar, then select "Personal API Tokens." Click "Create New Token," give it a descriptive name like "n8n-integration," and copy the generated token immediately (it won't be shown again).Add credentials in n8n: In your n8n instance, go to the Credentials section and click "Add Credential." Search for "CircleCI" and select it from the list.Paste your API token: Enter the API token you copied from CircleCI into the designated field. Give your credential a recognizable name if you manage multiple CircleCI accounts.Test the connection: Click the "Test" button to verify that n8n can successfully authenticate with your CircleCI account. A green confirmation message indicates you're ready to build workflows.
TIP💡 TIP: Create a dedicated API token specifically for n8n rather than reusing tokens from other integrations. This makes it easier to audit access and revoke permissions if needed without disrupting other services. Also consider using a CircleCI machine user account for team workflows to avoid issues when team members leave.- 01
Need help automating Circleci with n8n?
Our team will get back to you in minutes.
Circleci actions available in n8n
01 Action 01Get a pipeline
This action retrieves detailed information about a specific pipeline in your CircleCI project. It's essential for building workflows that need to check pipeline status, fetch configuration details, or gather metadata about specific builds before making decisions in your automation.
Key parameters:
- Credential to connect with: Select your CircleCI account credentials from the dropdown. This is required for authenticating with the CircleCI API.
- Provider: Choose the VCS provider (GitHub, Bitbucket) associated with your project. Required to specify the correct context for your request.
- Project Slug: Enter your project identifier in the format
org-name/repo-name(e.g.,my-company/backend-api). This required field tells CircleCI which project to query. - Pipeline Number: Input the specific pipeline number you want to retrieve. This required numeric value identifies the exact pipeline instance.
Practical use cases:
- Fetch pipeline details after a webhook notification to determine if deployment should proceed
- Build a monitoring dashboard that displays real-time pipeline information
- Create conditional workflows that branch based on pipeline configuration or status
- Archive pipeline metadata to external databases for compliance tracking

02 Action 02Trigger a pipeline
This action programmatically initiates a new build pipeline in CircleCI. It's the cornerstone action for creating event-driven CI/CD workflows where external triggers—rather than code commits—need to start your build processes.
Key parameters:
- Credential to connect with: Select your authenticated CircleCI account from the dropdown menu. Required for API access.
- Provider: Specify your version control provider. Required to correctly identify your project's location.
- Project Slug: Enter your project identifier as
org-name/repo-name. This required text field determines which project's pipeline to trigger. - Additional Fields: Expand this optional section to specify branch names, pipeline parameters, or custom environment variables to pass to your build.
Practical use cases:
- Trigger deployment pipelines when a Slack command is received (e.g.,
/deploy production) - Automatically start builds when issues are marked as "Ready for QA" in Jira
- Create scheduled pipelines using n8n's Cron node for nightly builds or periodic tasks
- Implement ChatOps workflows where team members can trigger specific pipelines through messaging platforms
💡 TIP: When using the "Additional Fields" section, you can pass dynamic parameters from earlier nodes in your workflow. This lets you create flexible deployments where the branch or environment is determined by the triggering event.

03 Action 03Get many pipelines
This action retrieves multiple pipeline records from a CircleCI project, perfect for building reporting workflows, monitoring dashboards, or batch processing scenarios where you need to analyze pipeline history.
Key parameters:
- Credential to connect with: Select your CircleCI credentials from the dropdown. Required for authentication.
- Provider: Choose your VCS provider from the dropdown. This may be optional depending on your setup.
- Project Slug: Enter your project in
org-name/repo-nameformat. This required field specifies which project's pipelines to fetch. - Return All: Toggle this on to retrieve all available pipelines without pagination limits. Useful for comprehensive reporting but may increase execution time.
- Limit: When "Return All" is off, this numeric field sets the maximum number of pipelines to return (default typically 100). Optional but recommended for performance.
- Filters: Add filtering criteria to narrow down results based on specific parameters like branch or status. Optional but powerful for targeted queries.
Practical use cases:
- Generate weekly CI/CD reports by fetching all pipelines and calculating success rates
- Build a Slack bot that responds with recent pipeline statuses for a project
- Create alerting workflows that check for failed pipelines and notify the team
- Sync pipeline history to analytics tools like BigQuery or Snowflake for trend analysis

Build your first workflow with our team
Drop your email and we'll send you the catalog of automations you can ship today.
- Free n8n & Make scenarios to import
- Step-by-step setup docs
- Live cohort + community support
Frequently asked questions
Is the CircleCI n8n integration free?
The CircleCI integration is included with all versions of n8n, including the free self-hosted community edition. You won't pay extra for the integration itself. However, you'll need an active CircleCI account with an appropriate plan for the features you want to automate. CircleCI offers a free tier with limited build minutes, which works well for testing your n8n workflows. Keep in mind that if you're using n8n Cloud (the hosted version), your n8n subscription costs are separate from any CircleCI charges.What data can I access through the CircleCI n8n integration?
The integration allows you to work with pipeline data, which includes pipeline IDs, numbers, states, creation timestamps, trigger information, and associated project details. You can retrieve individual pipelines by their number, fetch multiple pipelines with filtering options, and trigger new pipeline runs with custom parameters. While the current integration focuses on pipeline operations, you can combine these actions with CircleCI's webhook capabilities to create comprehensive CI/CD automation workflows.How long does it take to set up the CircleCI n8n integration?
Most users can complete the setup in under 5 minutes. Generating a Personal API Token in CircleCI takes about a minute, and configuring the credentials in n8n is equally quick. The most time-consuming part is typically planning your workflow logic—deciding what triggers should start your automation and what actions should follow. Once credentials are configured, you can immediately start building workflows by dragging the CircleCI node onto your canvas and selecting the desired action.



