Railway

Deploy N8N-PUPPETEER

Deploy n8n with Puppeteer browser automation and PostgreSQL on Railway.

Deploy N8N-PUPPETEER

/var/lib/postgresql/data

Just deployed

Deploy and Host N8N-PUPPETEER on Railway

N8N-PUPPETEER is a self-hosted workflow automation platform powered by n8n, bundled with Puppeteer browser automation and PostgreSQL persistence. It enables users to create automated workflows, scrape websites, interact with browser-based applications, and connect APIs through a visual low-code interface.


About Hosting N8N-PUPPETEER

Hosting N8N-PUPPETEER on Railway provides a fully managed deployment experience for browser automation and workflow orchestration. This template combines n8n for automation, Puppeteer for headless browser control, and PostgreSQL for workflow storage and execution history.

Railway automatically provisions networking, deployment infrastructure, environment variables, and persistent services, allowing developers to launch production-ready automation systems quickly. The included Puppeteer support enables advanced tasks such as web scraping, automated testing, authentication flows, PDF generation, and browser interaction workflows directly inside n8n pipelines.

This setup is ideal for teams building scalable automation systems without managing Docker infrastructure manually.


Common Use Cases

  • Automating web scraping and browser interaction workflows
  • Creating API integrations and scheduled automation pipelines
  • Running headless browser tasks such as login automation, screenshots, and PDF generation

Dependencies for N8N-PUPPETEER Hosting

  • n8n
  • PostgreSQL
  • Puppeteer / Chromium

Deployment Dependencies


Implementation Details

Example environment configuration:

DB_TYPE=postgresdb
DB_POSTGRESDB_HOST=${{Postgres.PGHOST}}
DB_POSTGRESDB_PORT=${{Postgres.PGPORT}}
DB_POSTGRESDB_DATABASE=${{Postgres.PGDATABASE}}
DB_POSTGRESDB_USER=${{Postgres.PGUSER}}
DB_POSTGRESDB_PASSWORD=${{Postgres.PGPASSWORD}}

PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

Example Puppeteer workflow use cases inside n8n:

const browser = await puppeteer.launch({
  headless: true
});

const page = await browser.newPage();
await page.goto('https://example.com');

const title = await page.title();

await browser.close();

return title;

Why Deploy N8N-PUPPETEER on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying N8N-PUPPETEER on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
View Template
Prefect [Updated May ’26]
Prefect [May ’26] (ETL & Automation alternative to Airflow) Self Host

shinyduo