formbasedocs
Go to appApp

Guides · n8n (self-hosted)

Install the formbase node in n8n

formbase for n8n is a community node, published on npm as n8n-nodes-formbase. This guide installs it on a self-hosted n8n and sets the address formbase uses to reach your workflows.

Last checked


Every n8n guide was checked on self-hosted n8n 2.40, running in Docker, with version 0.10.1 of the node. Everything that depends on where n8n runs is on this page. The other guides work the same once the node is installed.

Before you start

  • n8n 2.30 or later. The formbase credential needs it.
  • A formbase account. Everything in these guides works on the Free plan except email invitations, reminders and abandoned submissions, which need Pro or Business.

Self-hosted n8n

A self-hosted n8n needs two things before it can install the node:

  • The owner account or an admin account. Only the owner and admins can install community nodes.
  • A public HTTPS address, from a reverse proxy or a tunnel. formbase sends events and request callbacks only to https:// URLs on the public internet. An n8n that is reachable only on localhost can connect but never receives anything.

1. Tell n8n its public address

n8n builds the URLs it hands to formbase from its own settings, not from the address in your browser. Set these environment variables on the n8n container or process:

  • WEBHOOK_URL: the public HTTPS address, with a trailing slash, like https://n8n.example.com/. n8n builds the URL of a published trigger and the resume URL of Wait for the Outcome from it.

  • N8N_EDITOR_BASE_URL: the same address. n8n builds a trigger’s test URL for Execute step from it, and the OAuth Redirect URL of the formbase credential.

  • N8N_PROXY_HOPS: set it to 1 when n8n runs behind one reverse proxy or tunnel, so n8n reads the proxy’s forwarded headers.

With Docker, that looks like this:

bash
docker run -d --name n8n -p 5678:5678 \
  -e WEBHOOK_URL=https://n8n.example.com/ \
  -e N8N_EDITOR_BASE_URL=https://n8n.example.com/ \
  -e N8N_PROXY_HOPS=1 \
  -v n8n_data:/home/node/.n8n \
  docker.n8n.io/n8nio/n8n

With docker compose or an npm install, set the same variables in n8n’s environment. Point your proxy or tunnel at port 5678, pass /webhook/, /webhook-test/ and /webhook-waiting/ through unchanged, and open n8n through the public address from then on.

2. Install the community node

Open Settings › Community nodes and click Install. Type n8n-nodes-formbase under npm Package Name, tick the box that says you understand the risks of installing unverified code, and click Install.

The Install community nodes dialog: npm Package Name n8n-nodes-formbase, the risk checkbox ticked, and an Install button

After a few seconds the package appears in the list with its two nodes:

Settings › Community nodes listing n8n-nodes-formbase, version 0.10.1, with 2 nodes: formbase, formbase Trigger

Update or uninstall the package from the same list. If Community nodes is missing from Settings, your n8n was started with N8N_COMMUNITY_PACKAGES_ENABLED=false; remove that setting.

n8n Cloud

Not available on n8n Cloud yet

n8n Cloud installs only community nodes that n8n has verified, and the formbase node is not verified yet. Until it is, use a self-hosted n8n, or call the REST API from an HTTP Request node. A Cloud instance already has a public HTTPS address, so once the node is available there, only the install steps on this page change.

Check the node

Open a workflow, click + and search for formbase. The node details show six actions and six triggers:

The node details of formbase, marked Installed, with Actions (6): Cancel request, Create request, Get request, Get many requests, Remind request recipient and Replay request callback, and a collapsed Triggers (6) section
  • formbase Trigger starts a workflow on a public link submission that is created, updated or abandoned, or on a request that is completed, expires or is canceled.

  • formbase creates a request, gets one or many, reminds the recipient, cancels a request, and replays its callback.

Next