n8n
n8n is a workflow automation platform for connecting APIs, services, and custom logic. Use this component when you need Diploi to build and deploy n8n so you can focus on building workflows, not configuring runtime environments.
Add to your project
Paste this entry into the components list in diploi.yaml to add n8n to your project.
components:- name: n8n identifier: n8n package: https://github.com/diploi/component-n8n#v2.29.1 env: include: - postgres.POSTGRES_HOST:DB_POSTGRESDB_HOST - postgres.POSTGRES_PORT:DB_POSTGRESDB_PORT - postgres.POSTGRES_USER:DB_POSTGRESDB_USER - postgres.POSTGRES_PASSWORD:DB_POSTGRESDB_PASSWORDaddons:- name: PostgreSQL identifier: postgres package: https://github.com/diploi/addon-postgres#v18.3-pgvectorAI models
To use Diploi-hosted models in n8n, create an OpenAI credential that points at the AI Gateway:
- Base URL:
{diploi-ai-gateway-url}/openai/v1 - API key:
{diploi-ai-gateway-token}
Inject those placeholders as env vars on the n8n component, then pick a supported model. See AI Gateway.