# Connect n8n

> Run an n8n workflow every time your form gets a new submission.

Source: https://docs.formclick.io/help/n8n-integration

### Step 1: Create the workflow in n8n

Add a **Webhook** trigger node, set the method to `POST`, activate the workflow and copy its **Production URL**.

### Step 2: Connect it in Formclick

Open your form → **Integrations** → **Automation** → **n8n** and paste the URL. Add Header, Basic or JWT authentication if your node uses it.

### Step 3: Test

Click **Test Connection**, then **Send Test Submission** to see the fields in n8n.

### Step 4: Save

Click **Save & Connect**. New submissions now trigger the workflow.

> **Tip:** Getting a `404`? The workflow isn’t active or you pasted the Test URL. Use the Production URL with the workflow active.

Full guide, payload and troubleshooting: [n8n](https://docs.formclick.io/html-forms/n8n).
