StudyVisuallyStart studying
Part 08 · n8n · Card 13 of 13

Code for thinking, n8n for plumbing

Keep reasoning in code (a LangGraph agent behind an API). Keep triggers and app integrations in n8n.

Last updated

Analogy

Business logic in services, glue in config. Nobody wants their domain model in a YAML file.

In an agent

Bonus: non-developers can change the n8n workflows without touching the agent.

Practice

Flashcards

  • Interview: where does n8n fit next to an agent?Triggers and integrations. Reasoning stays in code; plumbing stays in n8n.

Interview questions

  • Where does n8n fit?
    • Triggers and integrations.
    • n8n starts the agent on webhooks or schedules.
    • The agent calls n8n webhooks as tools for Slack and Jira actions.
    • Reasoning stays in code; plumbing stays in n8n.

Questions people ask

What should live in code and what in n8n?

Keep the thinking in code: the agent's reasoning, tools, prompts and tests, behind an API. Keep the plumbing in n8n: triggers, schedules and connections to apps like Slack, Jira and email. It is like business logic in services and glue in configuration.

Why split agent reasoning from integrations?

Each part then uses the right tool. Code gives you tests, version control and type safety for the hard reasoning. n8n gives you ready-made integrations and a visual editor that non-developers can change. You can update a Slack channel or schedule without redeploying the agent.