Templates / Pyragogy AI-driven handbook generator with multi-agent orchestration

Pyragogy AI-driven handbook generator with multi-agent orchestration

Needs changes

by Fabrizio Terzi · 2,998 views · created 2025-06-12 · Content Creation, Multimodal AI

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: OpenAI (legacy), Function (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 35 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Postgres, GitHub and Slack.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Check DB Connection (Postgres): run a query
  2. Meta-Orchestrator (OpenAI): work with chat
  3. Parse Orchestration Plan (Function): runs custom JavaScript (legacy Function node)
  4. More Agents to Run? (If): checks a condition and branches into true / false
  5. Prepare Agent Input (Function): runs custom JavaScript (legacy Function node)
  6. Slack Enabled? (If): checks a condition and branches into true / false
  7. Route Agents with Switch (Switch): routes items into branches
  8. Notify Slack (Slack): uses Slack
  9. Final Response (Respond to Webhook): sends the response back to the webhook caller
  10. Summarizer Agent (OpenAI): work with chat

…plus 23 more steps. See the full node list below.

Services it uses

PostgresGitHubSlack

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • OpenAI (legacy) in Meta-Orchestrator, Summarizer Agent, Synthesizer Agent…: replace with OpenAI node (AI section).
  • Function (legacy) in Parse Orchestration Plan, Prepare Agent Input, Add Handbook Metadata…: replace with Code node, mode 'Run Once for All Items'.
Removed in 3.0Replace with
OpenAI (legacy)
Meta-Orchestrator, Summarizer Agent, Synthesizer Agent, Peer Reviewer Agent, Sensemaking Agent, Prompt Engineer Agent, Onboarding/Explainer Agent
OpenAI node (AI section)
Function (legacy)
Parse Orchestration Plan, Prepare Agent Input, Add Handbook Metadata, Generate Content for Review, Generate Review ID, Prepare Approved Contribution Data, Generate GitHub File Path, Log Human Rejection, Evaluate Board Consensus, Handle Redraft, Process Agent Output
Code node, mode 'Run Once for All Items'

Nodes used (13)

From the author

AI-Driven Handbook Generator with Multi-Agent Orchestration (Pyragogy AI Village) This n8n workflow is a modular, multi-agent AI orchestration system designed for the collaborative generation of Markdown-based handbooks. Inspired by peer learning and open…

Excerpt from Fabrizio Terzi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.