A Cloudflare Worker that acts as a proxy for n8n workflows.
This project requires the following environment variable:
N8N_BASE_URL
: The base URL of the n8n instance to which this will be a proxy.
This variable can be set in the Cloudflare Dashboard or in unversioned local project files.
- Clone the repository
- Install dependencies:
npm install
- Create a
.dev.vars
file in the project root with the following content:N8N_BASE_URL=https://your-n8n-instance.com
- Run the development server:
npm run dev
- Set the environment variables in the Cloudflare Dashboard
- Deploy the worker:
npm run deploy