Skip to content
Last updated

n8n integration

n8n is a workflow automation platform that lets teams build and run integrations between apps and services. Integrating n8n with Frontegg allows your application to access automation data — including workflows, executions, credentials, and variables — on behalf of your users through API key authentication.


Prerequisites

  • An n8n account (Cloud or self-hosted)
  • Admin access to your n8n instance

Connect n8n

Step 1: Open API settings

Sign in to your n8n instance. In the left sidebar, click Settings, then select n8n API.

This page lists all your existing API keys and lets you create new ones. Click Create an API Key to continue.

n8n API settings page with Create an API Key button highlighted

Step 2: Name and create the key

In the Create API Key dialog, enter a label for your key — for example, Frontegg Integration. Then click Save.

Create API Key dialog with Frontegg Integration label entered and Save button highlighted

Step 3: Copy your API key

After saving, n8n displays your new API key. Copy the key value and store it securely.

Save your key now

The full API key value is only shown immediately after creation. Once you dismiss this dialog, only the masked version is displayed. Store the key in a secure location before continuing.

API Key Created dialog showing the generated key value

Step 4: Verify the key was created

After dismissing the dialog, your new key appears in the API Keys list on the n8n API settings page.

n8n API settings page showing the newly created Frontegg Integration API key in the list

Configure the Frontegg portal

Once you have your API key from the steps above, enter it in the integration configuration page of the Frontegg portal:

  1. Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → n8n.
  2. Enter the API Key you copied in Step 3 in the corresponding field.
  3. Click Save.

Keep your key secure

Never share or commit your API key to version control.

Available scopes

When Frontegg calls the n8n API on behalf of your users, the following permission scopes apply:

ScopeDescription
workflow:readRead workflows
workflow:writeCreate, update, and delete workflows
workflow:executeExecute workflows
execution:readRead execution data
execution:writeDelete executions
credential:readRead credential metadata
credential:writeCreate, update, and delete credentials
user:readRead user information
user:writeManage users
audit:readGenerate security audits
variable:readRead variables
variable:writeManage variables
tag:readRead tags
tag:writeManage tags
project:readRead projects
project:writeManage projects
sourceControl:readRead source control
sourceControl:writePull from source control

Additional resources