From f1c63a67be26dba5b5732d868f2f7e1ff19af880 Mon Sep 17 00:00:00 2001 From: nusquama Date: Sun, 15 Mar 2026 12:01:25 +0800 Subject: [PATCH] creation --- ...urriculum_plans_with_gpt-4o_perplexity_and_google_sheets.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 workflows/Generate research-backed curriculum plans with GPT-4o, Perplexity and Google Sheets-13995/generate_research-backed_curriculum_plans_with_gpt-4o_perplexity_and_google_sheets.json diff --git a/workflows/Generate research-backed curriculum plans with GPT-4o, Perplexity and Google Sheets-13995/generate_research-backed_curriculum_plans_with_gpt-4o_perplexity_and_google_sheets.json b/workflows/Generate research-backed curriculum plans with GPT-4o, Perplexity and Google Sheets-13995/generate_research-backed_curriculum_plans_with_gpt-4o_perplexity_and_google_sheets.json new file mode 100644 index 000000000..cbca97b31 --- /dev/null +++ b/workflows/Generate research-backed curriculum plans with GPT-4o, Perplexity and Google Sheets-13995/generate_research-backed_curriculum_plans_with_gpt-4o_perplexity_and_google_sheets.json @@ -0,0 +1 @@ +{"id":"mtlJDgsN3I5vOmp5","meta":{"instanceId":"b91e510ebae4127f953fd2f5f8d40d58ca1e71c746d4500c12ae86aad04c1502"},"name":"AI multi-agent curriculum planning with research and assessment","tags":[],"nodes":[{"id":"0f945229-9e97-433e-a6d9-60fe1d822505","name":"Start Curriculum Planning","type":"n8n-nodes-base.manualTrigger","position":[256,304],"parameters":{},"typeVersion":1},{"id":"c251f158-b99c-4920-9e1b-89fe4e4f5e4b","name":"Curriculum Supervisor Agent","type":"@n8n/n8n-nodes-langchain.agent","position":[896,304],"parameters":{"text":"={{ $json.curriculum_request || 'Create a comprehensive curriculum plan for a high school biology course covering cell biology, genetics, and evolution.' }}","options":{"systemMessage":"You are the Curriculum Planning Supervisor. Your role is to coordinate a team of specialized agents to create comprehensive curriculum plans. You have access to three specialized agents: 1) Research Agent - for gathering educational standards, learning theories, and subject content, 2) Content Creation Agent - for designing lesson plans and learning activities, 3) Assessment Agent - for creating evaluation frameworks and rubrics. When given a curriculum planning request, break it down into tasks and delegate to the appropriate agents. Synthesize their outputs into a cohesive curriculum plan."}},"typeVersion":3.1},{"id":"8ea1b498-73e1-439a-92fa-c69278add7e1","name":"Supervisor Model","type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","position":[464,656],"parameters":{"model":{"__rl":true,"mode":"id","value":"gpt-4o"},"options":{"temperature":0.3},"builtInTools":{}},"credentials":{"openAiApi":{"id":"mv2ECvRtbAK63G2g","name":"OpenAi account"}},"typeVersion":1.3},{"id":"cde4e69f-2f7c-44c6-bcf0-adacf036d954","name":"Planning Memory","type":"@n8n/n8n-nodes-langchain.memoryBufferWindow","position":[672,640],"parameters":{"contextWindowLength":10},"typeVersion":1.3},{"id":"e6f471d6-3a01-4aa0-b9d7-7be82ec2c7a6","name":"Research Agent","type":"@n8n/n8n-nodes-langchain.agentTool","position":[800,640],"parameters":{"text":"={{ $fromAI('research_task', 'The specific research task or question to investigate') }}","options":{"systemMessage":"You are the Research Agent specializing in educational research. Your role is to gather comprehensive information about educational standards, curriculum frameworks, pedagogical approaches, and subject matter content. Use your research tools (SerpAPI, Perplexity, Wikipedia) to find current best practices, learning theories, and domain-specific knowledge. Provide well-researched, citation-backed information to support curriculum development."},"toolDescription":"Specialized agent for researching educational standards, curriculum frameworks, learning theories, and subject matter content. Use this agent to gather foundational knowledge, best practices, and current educational research relevant to curriculum planning."},"typeVersion":3},{"id":"5bbf41a3-7d13-43ce-b422-67c687457976","name":"Research Model","type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","position":[592,848],"parameters":{"model":{"__rl":true,"mode":"id","value":"gpt-4o"},"options":{"temperature":0.2},"builtInTools":{}},"credentials":{"openAiApi":{"id":"mv2ECvRtbAK63G2g","name":"OpenAi account"}},"typeVersion":1.3},{"id":"542068ce-7468-4b03-b451-3bcad3405f55","name":"Content Creation Agent","type":"@n8n/n8n-nodes-langchain.agentTool","position":[1232,640],"parameters":{"text":"={{ $fromAI('content_task', 'The specific content creation task or lesson plan to develop') }}","options":{"systemMessage":"You are the Content Creation Agent specializing in instructional design. Your role is to design comprehensive lesson plans, learning activities, instructional sequences, and educational materials. Create engaging, age-appropriate content that aligns with learning objectives and incorporates best pedagogical practices. Use your tools to structure content, calculate timing, and organize curriculum components effectively."},"toolDescription":"Specialized agent for designing lesson plans, learning activities, instructional materials, and curriculum sequences. Use this agent to create engaging, pedagogically sound educational content aligned with learning objectives."},"typeVersion":3},{"id":"0d4745ac-8706-48fd-bc14-a7665582c48f","name":"Content Model","type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","position":[1264,848],"parameters":{"model":{"__rl":true,"mode":"id","value":"gpt-4o"},"options":{"temperature":0.5},"builtInTools":{}},"credentials":{"openAiApi":{"id":"mv2ECvRtbAK63G2g","name":"OpenAi account"}},"typeVersion":1.3},{"id":"36120502-afe8-400c-a628-34bcfc947b91","name":"Assessment Agent","type":"@n8n/n8n-nodes-langchain.agentTool","position":[1568,640],"parameters":{"text":"={{ $fromAI('assessment_task', 'The specific assessment design task or evaluation framework to create') }}","options":{"systemMessage":"You are the Assessment Agent specializing in educational evaluation and assessment design. Your role is to create comprehensive assessment frameworks, rubrics, evaluation criteria, and testing strategies. Design both formative and summative assessments that accurately measure learning outcomes and align with curriculum objectives. Use your tools to calculate scoring systems, structure rubrics, and create fair, valid assessment instruments."},"toolDescription":"Specialized agent for creating assessment frameworks, evaluation rubrics, formative and summative assessments, and grading criteria. Use this agent to design comprehensive evaluation strategies aligned with learning objectives."},"typeVersion":3},{"id":"ed97d52c-08ae-491f-b18d-ce667f1b7f40","name":"Assessment Model","type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","position":[1728,848],"parameters":{"model":{"__rl":true,"mode":"id","value":"gpt-4o"},"options":{"temperature":0.2},"builtInTools":{}},"credentials":{"openAiApi":{"id":"mv2ECvRtbAK63G2g","name":"OpenAi account"}},"typeVersion":1.3},{"id":"f85e5df3-db28-45ab-bb73-c455e19f1579","name":"Google Search Tool","type":"@n8n/n8n-nodes-langchain.toolSerpApi","position":[752,848],"parameters":{"options":{}},"typeVersion":1},{"id":"07613548-ef02-47d2-ad1c-acc0d3ce08bc","name":"Perplexity Research Tool","type":"n8n-nodes-base.perplexityTool","position":[944,848],"parameters":{"options":{},"messages":{"message":[{}]},"requestOptions":{},"descriptionType":"manual","toolDescription":"Conduct AI-powered research with citations on educational topics, learning theories, and subject matter content"},"credentials":{"perplexityApi":{"id":"hmDBlVXt4GJKfIfz","name":"Perplexity account new"}},"typeVersion":1},{"id":"5fe395fa-2207-4ddb-8374-18fae364d0cb","name":"Wikipedia Tool","type":"@n8n/n8n-nodes-langchain.toolWikipedia","position":[1104,848],"parameters":{},"typeVersion":1},{"id":"248b7ae3-2680-44ba-a581-1c2f1653a061","name":"Calculator Tool","type":"@n8n/n8n-nodes-langchain.toolCalculator","position":[1424,848],"parameters":{},"typeVersion":1},{"id":"d29ef271-54e2-496e-98df-b3b52d675b9f","name":"Code Tool","type":"@n8n/n8n-nodes-langchain.toolCode","position":[1552,848],"parameters":{"description":"Execute custom code for complex curriculum structure generation, data transformations, and specialized calculations"},"typeVersion":1.3},{"id":"353aac80-286b-4546-8898-25c91ebde122","name":"Google Sheets Tool","type":"n8n-nodes-base.googleSheetsTool","position":[1904,656],"parameters":{"operation":"appendOrUpdate","sheetName":{"__rl":true,"mode":"list","value":""},"documentId":{"__rl":true,"mode":"list","value":""},"descriptionType":"manual","toolDescription":"Store and retrieve curriculum data, lesson plans, and assessment frameworks in Google Sheets"},"credentials":{"googleSheetsOAuth2Api":{"id":"hQFe8XTqJEiHL03Z","name":"Google Sheets account"}},"typeVersion":4.7},{"id":"2557e5f0-6505-47d7-b5dd-54f77ced200c","name":"Store Curriculum Plan","type":"n8n-nodes-base.dataTable","position":[2288,304],"parameters":{"columns":{"value":null,"mappingMode":"autoMapInputData"},"options":{},"dataTableId":{"__rl":true,"mode":"list","value":"<__PLACEHOLDER_VALUE__curriculum_plans table__>"}},"typeVersion":1.1},{"id":"ba280a56-f6ba-4142-9ca8-204f9aa21efb","name":"Prepare Curriculum Data","type":"n8n-nodes-base.set","position":[2096,304],"parameters":{"options":{},"assignments":{"assignments":[{"id":"id-1","name":"curriculum_title","type":"string","value":"={{ $json.curriculum_request || 'Curriculum Plan' }}"},{"id":"id-2","name":"plan_content","type":"string","value":"={{ $json.output }}"},{"id":"id-3","name":"created_date","type":"string","value":"={{ $now.toISO() }}"},{"id":"id-4","name":"agent_used","type":"string","value":"Multi-Agent System"},{"id":"id-5","name":"status","type":"string","value":"Generated"}]}},"typeVersion":3.4},{"id":"b6b710dc-4a8d-4ca3-96e6-a0a5f3bbab99","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","position":[96,-176],"parameters":{"width":528,"height":288,"content":"## How It Works\nThis workflow automates end-to-end curriculum planning using a multi-agent AI architecture in n8n. Designed for educators, instructional designers, and academic institutions, it eliminates the manual effort of researching, structuring, and assessing curriculum content. A Curriculum Supervisor Agent orchestrates three specialised sub-agents: a Research Agent (using Google Search, Perplexity, and Wikipedia), a Content Creation Agent (using GPT for drafting), and an Assessment Agent (using a calculator and code tools). Planning memory persists context across agent interactions. Once all agents complete their tasks, the Prepare Curriculum Data node formats the output, which is then stored in Google Sheets. This pipeline ensures coherent, research-backed, assessment-ready curriculum plans are generated and stored automatically with minimal human intervention."},"typeVersion":1},{"id":"1c436acf-eccf-4852-b466-6c48ca7a3270","name":"Sticky Note1","type":"n8n-nodes-base.stickyNote","position":[656,-160],"parameters":{"width":368,"height":272,"content":"## Setup Steps\n1. Connect OpenAI credentials to Supervisor, Research, Content, and Assessment model nodes.\n2. Add Google Custom Search API key to the Google Search Tool node.\n3. Configure Perplexity API key in the Perplexity Research Tool node.\n4. Authenticate Google Sheets with OAuth2; set target sheet in Store Curriculum Plan node.\n5. Verify Planning Memory node is linked to the Supervisor Agent for context persistence."},"typeVersion":1},{"id":"e53c5248-12e0-438a-9ff5-41417ad916ab","name":"Sticky Note2","type":"n8n-nodes-base.stickyNote","position":[1088,-208],"parameters":{"color":4,"width":480,"height":320,"content":"## Prerequisites\n- Google Custom Search API key\n- Perplexity API key\n- Google Sheets OAuth2 credentials\n## Use Cases\n- University course redesign aligned to industry trends\n## Customisation\n- Add email output via Gmail node post-storage\n## Benefits\n- Cuts curriculum planning time by 70%+"},"typeVersion":1},{"id":"f786f855-894c-471b-a017-841b979a13ce","name":"Sticky Note3","type":"n8n-nodes-base.stickyNote","position":[1184,160],"parameters":{"color":7,"width":336,"height":848,"content":"## Content Creation Agent\n**What:** Drafts curriculum using GPT-based content model.\n**Why:** Produces structured, pedagogically sound learning materials.\n"},"typeVersion":1},{"id":"2c4227f7-dd92-4b79-8c68-6d2a7bc0f304","name":"Sticky Note4","type":"n8n-nodes-base.stickyNote","position":[80,512],"parameters":{"color":7,"width":1120,"height":496,"content":"## Research Agent\n**What:** Queries Google Search, Perplexity, and Wikipedia.\n**Why:** Grounds curriculum content in current, verified information."},"typeVersion":1},{"id":"eb5640f0-0fae-400f-b3de-d67804b11880","name":"Sticky Note5","type":"n8n-nodes-base.stickyNote","position":[96,160],"parameters":{"color":7,"width":1056,"height":336,"content":"## Curriculum Supervisor Agent\n**What:** Orchestrates sub-agents using shared planning memory.\n**Why:** Ensures coherent task delegation and context retention.\n"},"typeVersion":1},{"id":"778b1ea3-fe75-4e19-8e5d-9bd8beea5740","name":"Sticky Note6","type":"n8n-nodes-base.stickyNote","position":[1536,160],"parameters":{"color":7,"width":480,"height":848,"content":"## Assessment Agent\n**What:** Applies calculator and code tools for evaluation design.\n**Why:** Ensures assessments align with learning objectives.\n"},"typeVersion":1},{"id":"20e78060-40c1-4c3b-b2e3-4efb0ee90714","name":"Sticky Note7","type":"n8n-nodes-base.stickyNote","position":[2032,160],"parameters":{"color":7,"width":416,"height":816,"content":"## Prepare & Store\n**What:** Formats and writes output to Google Sheets.\n**Why:** Centralises curriculum data for easy access and review."},"typeVersion":1}],"active":false,"pinData":{},"settings":{"binaryMode":"separate","availableInMCP":false,"executionOrder":"v1"},"versionId":"77541e9f-e3a8-432d-acb2-a84359fe9f89","connections":{"Code Tool":{"ai_tool":[[{"node":"Content Creation Agent","type":"ai_tool","index":0},{"node":"Assessment Agent","type":"ai_tool","index":0}]]},"Content Model":{"ai_languageModel":[[{"node":"Content Creation Agent","type":"ai_languageModel","index":0}]]},"Research Agent":{"ai_tool":[[{"node":"Curriculum Supervisor Agent","type":"ai_tool","index":0}]]},"Research Model":{"ai_languageModel":[[{"node":"Research Agent","type":"ai_languageModel","index":0}]]},"Wikipedia Tool":{"ai_tool":[[{"node":"Research Agent","type":"ai_tool","index":0}]]},"Calculator Tool":{"ai_tool":[[{"node":"Content Creation Agent","type":"ai_tool","index":0},{"node":"Assessment Agent","type":"ai_tool","index":0}]]},"Planning Memory":{"ai_memory":[[{"node":"Curriculum Supervisor Agent","type":"ai_memory","index":0}]]},"Assessment Agent":{"ai_tool":[[{"node":"Curriculum Supervisor Agent","type":"ai_tool","index":0}]]},"Assessment Model":{"ai_languageModel":[[{"node":"Assessment Agent","type":"ai_languageModel","index":0}]]},"Supervisor Model":{"ai_languageModel":[[{"node":"Curriculum Supervisor Agent","type":"ai_languageModel","index":0}]]},"Google Search Tool":{"ai_tool":[[{"node":"Research Agent","type":"ai_tool","index":0}]]},"Google Sheets Tool":{"ai_tool":[[{"node":"Curriculum Supervisor Agent","type":"ai_tool","index":0}]]},"Content Creation Agent":{"ai_tool":[[{"node":"Curriculum Supervisor Agent","type":"ai_tool","index":0}]]},"Prepare Curriculum Data":{"main":[[{"node":"Store Curriculum Plan","type":"main","index":0}]]},"Perplexity Research Tool":{"ai_tool":[[{"node":"Research Agent","type":"ai_tool","index":0}]]},"Start Curriculum Planning":{"main":[[{"node":"Curriculum Supervisor Agent","type":"main","index":0}]]},"Curriculum Supervisor Agent":{"main":[[{"node":"Prepare Curriculum Data","type":"main","index":0}]]}}} \ No newline at end of file