Pyragogy AI-driven handbook generator with multi-agent orchestration
Needs changesWhat 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).
- Check DB Connection (Postgres): run a query
- Meta-Orchestrator (OpenAI): work with chat
- Parse Orchestration Plan (Function): runs custom JavaScript (legacy Function node)
- More Agents to Run? (If): checks a condition and branches into true / false
- Prepare Agent Input (Function): runs custom JavaScript (legacy Function node)
- Slack Enabled? (If): checks a condition and branches into true / false
- Route Agents with Switch (Switch): routes items into branches
- Notify Slack (Slack): uses Slack
- Final Response (Respond to Webhook): sends the response back to the webhook caller
- Summarizer Agent (OpenAI): work with chat
…plus 23 more steps. See the full node list below.
Services it uses
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.0 | Replace 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)
- Start
n8n-nodes-base.start - Webhook
n8n-nodes-base.webhook - Postgres
n8n-nodes-base.postgres - OpenAI
n8n-nodes-base.openAi - Function
n8n-nodes-base.function - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Send Email
n8n-nodes-base.emailSend - Wait
n8n-nodes-base.wait - GitHub
n8n-nodes-base.github - Merge
n8n-nodes-base.merge - Slack
n8n-nodes-base.slack - Respond to Webhook
n8n-nodes-base.respondToWebhook
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…