Skip to content

add n8n example#591

Merged
kumare3 merged 12 commits intomainfrom
nielsb/n8n-example
Feb 10, 2026
Merged

add n8n example#591
kumare3 merged 12 commits intomainfrom
nielsb/n8n-example

Conversation

@cosmicBboy
Copy link
Contributor

@cosmicBboy cosmicBboy commented Jan 29, 2026

Production-grade example of serving a standalone n8n app on Union apps.

  • Uses postgres (via supabase) for data persistence
  • Uses podtemplate sidecar to implement javascript/python runners
  • Uses flyte webhook app to trigger flyte tasks from n8n workflows

@cosmicBboy cosmicBboy changed the title add n8n example [wip] add n8n example Jan 30, 2026
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
@cosmicBboy cosmicBboy changed the title [wip] add n8n example add n8n example Feb 10, 2026
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
@asynccontextmanager
async def lifespan(app: FastAPI):
PROJECT_NAME_ENV_VAR = "FLYTE_INTERNAL_EXECUTION_PROJECT"
DOMAIN_NAME_ENV_VAR = "FLYTE_INTERNAL_EXECUTION_DOMAIN"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have flyte.current_domain() we should use that i dont want to use these env vars. Can i also add current_project and you can use it?

@kumare3 kumare3 merged commit dbade95 into main Feb 10, 2026
17 checks passed
@cosmicBboy cosmicBboy deleted the nielsb/n8n-example branch February 11, 2026 14:46
jeevb pushed a commit that referenced this pull request Feb 11, 2026
Production-grade example of serving a standalone n8n app on Union apps.

- Uses postgres (via supabase) for data persistence
- Uses podtemplate sidecar to implement javascript/python runners
- Uses flyte webhook app to trigger flyte tasks from n8n workflows

---------

Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Jeev B <jeevb@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants