> ## Documentation Index
> Fetch the complete documentation index at: https://formbnb.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n

> Connect FormBnB to n8n to trigger workflows from submissions and automate form operations.

FormBnB integrates with n8n through the `n8n-nodes-formbnb` community node.

Use it to:

* trigger workflows on new FormBnB submissions
* create forms from n8n
* submit data to FormBnB forms from n8n workflows

## Install the Node

In your n8n instance:

1. Go to **Settings**
2. Open **Community Nodes**
3. Install `n8n-nodes-formbnb`
4. Restart n8n if your deployment requires it

Package:

* `n8n-nodes-formbnb`
* [View on npm](https://www.npmjs.com/package/n8n-nodes-formbnb)

## Create Credentials

Create a `FormBnB API` credential in n8n with:

* `API Key`
* `Base URL`

For most users the base URL is:

```text theme={null}
https://api.formbnb.com
```

## Available Nodes

### FormBnB Trigger

Starts a workflow when a selected FormBnB form receives a new submission.

Use this when you want to:

* send leads to your CRM
* notify Slack or email tools
* create tickets or tasks automatically

### FormBnB

Supports:

* `Create Form`
* `Submit Form`

## Required FormBnB Values

Some workflows need FormBnB identifiers from the dashboard:

* **Form ID**: available in form settings
* **Form Slug**: available in form settings
* **Organization Slug**: available in dashboard settings

## Trigger Setup

For the trigger to work, your FormBnB backend must support webhook subscriptions and delivery.

FormBnB uses these endpoints for the n8n trigger:

* `POST /integrations/n8n/hooks`
* `DELETE /integrations/n8n/hooks`

Each active trigger creates a subscription in FormBnB's `automation_webhooks` table.

## Example Workflow

1. Add **FormBnB Trigger**
2. Choose a form
3. Add a follow-up action like Slack, Gmail, HubSpot, or Notion
4. Activate the workflow
5. Submit the form in FormBnB

Your n8n workflow will run when FormBnB delivers the submission event.

## Troubleshooting

### Trigger does not receive events

Check:

* your FormBnB API key is valid
* your FormBnB backend is deployed with the n8n hook endpoints
* the n8n instance is publicly reachable
* a row exists in `automation_webhooks` for provider `n8n`

### Form submission action asks for org or form identifiers

Get them from FormBnB settings:

* **Organization Slug** from dashboard settings
* **Form Slug** from the form settings page
* **Form ID** from the form settings page

## Related

* [Integrations Overview](/integrations/overview)
* [API Reference](/api-reference/introduction)
* [Webhooks](/features/webhooks)
