diff --git a/src/modules/autominator/README.md b/src/modules/autominator/README.md index d151ff71..7f009c17 100644 --- a/src/modules/autominator/README.md +++ b/src/modules/autominator/README.md @@ -14,7 +14,7 @@ Autominator is an independent BMAD module that specializes in n8n workflow autom - Expert in n8n workflow creation, modification, and optimization - Specializes in platform migration (Zapier, Make, HubSpot, Power Automate) -- Uses Context7 MCP for up-to-date n8n documentation +- Uses web search to access up-to-date n8n documentation - Smart elicitation for accurate requirement gathering - Comprehensive workflow validation and testing @@ -35,7 +35,7 @@ Build new n8n workflows from scratch based on your requirements. - Integration selection and configuration - Complexity assessment - Error handling strategy planning -- Context7 MCP integration for latest n8n docs +- Web search integration for latest n8n docs - Automatic JSON validation ### 2. Modify Workflow @@ -158,12 +158,12 @@ agent autominator/autominator ## Features -### Context7 MCP Integration +### Web Search Integration -- Automatic Context7 availability check -- Fallback to built-in knowledge if unavailable -- IDE-agnostic setup guidance -- Up-to-date n8n documentation access +- Automatic web search for n8n documentation +- Accesses official docs.n8n.io resources +- Up-to-date node configurations and best practices +- Problem-specific solution research ### Smart Elicitation @@ -230,7 +230,6 @@ autominator/ ## Requirements - n8n instance or account -- Context7 MCP server (optional, for latest docs) - IDE with BMAD support ## Installation @@ -266,12 +265,6 @@ Autominator is independent but can be used alongside: ## Troubleshooting -### Context7 MCP Not Available - -- Install uv: `curl -LsSf https://astral.sh/uv/install.sh | sh` -- Configure Context7 in your IDE's MCP settings -- Restart MCP servers - ### Workflow JSON Validation Fails - Check for missing commas or brackets diff --git a/src/modules/autominator/_module-installer/install-config.yaml b/src/modules/autominator/_module-installer/install-config.yaml index 1b301a5f..61f422cf 100644 --- a/src/modules/autominator/_module-installer/install-config.yaml +++ b/src/modules/autominator/_module-installer/install-config.yaml @@ -55,13 +55,3 @@ primary_integrations: label: "Email" - value: "custom" label: "Custom/Other" - -enable_context7: - prompt: "Enable Context7 MCP for up-to-date n8n documentation?" - default: true - result: "{value}" - single-select: - - value: true - label: "Yes - Use Context7 for latest docs" - - value: false - label: "No - Use built-in knowledge" diff --git a/src/modules/autominator/agents/autominator.agent.yaml b/src/modules/autominator/agents/autominator.agent.yaml index 3611c32c..6c8d3641 100644 --- a/src/modules/autominator/agents/autominator.agent.yaml +++ b/src/modules/autominator/agents/autominator.agent.yaml @@ -11,10 +11,10 @@ agent: persona: role: n8n Workflow Automation Specialist - identity: Arnold the Autominator - I'll be back... with your workflows automated! 🦾 Expert in n8n workflow creation, migration, and optimization. Specializes in building automation workflows, migrating from other platforms (Zapier, Make, HubSpot), and optimizing existing n8n workflows using up-to-date documentation via Context7. + identity: Arnold the Autominator - I'll be back... with your workflows automated! 🦾 Expert in n8n workflow creation, migration, and optimization. Specializes in building automation workflows, migrating from other platforms (Zapier, Make, HubSpot), and optimizing existing n8n workflows using up-to-date documentation via web search. communication_style: Automation-first, elicitation-driven, solution-oriented. Presents options as numbered lists for easy selection. Always validates understanding before building. Direct, confident, and results-focused. principles: | - - Context7 Integration - Always use latest n8n documentation via Context7 MCP server for accurate, up-to-date implementations. + - Web Search Integration - Always search for latest n8n documentation from docs.n8n.io for accurate, up-to-date implementations. - Elicitation First - Understand requirements thoroughly before suggesting or building solutions. - Lazy Loading - Load files and documentation only when needed to minimize context pollution. - Validation - Always validate workflow JSON syntax after creation. diff --git a/src/modules/autominator/workflows/create-workflow/instructions.md b/src/modules/autominator/workflows/create-workflow/instructions.md index 3e648889..2169f6fe 100644 --- a/src/modules/autominator/workflows/create-workflow/instructions.md +++ b/src/modules/autominator/workflows/create-workflow/instructions.md @@ -15,7 +15,7 @@ Summarize your understanding - Skip directly to Step 2 (Check Context7 MCP) + Skip directly to Step 2 (Research n8n Documentation) @@ -133,38 +133,36 @@ - - Check if Context7 MCP server is configured - Try to list available MCP tools + + Search for up-to-date n8n documentation based on user requirements - - Store true in {{context7_available}} - Proceed to Step 3 - + Inform user: "Researching n8n documentation for your workflow requirements..." - - Store false in {{context7_available}} - Inform user: "Context7 MCP server is not configured. This provides up-to-date n8n documentation." - Recommend: "For best results, install Context7 MCP server in your IDE. See: https://github.com/context7/context7" - Inform: "Proceeding with built-in n8n knowledge." - Proceed to Step 4 - + Perform web search for n8n documentation on: + 1. Trigger type: {{trigger_type}} + 2. Integrations: {{integrations}} + 3. Conditional logic: {{conditional_logic}} + 4. Error handling: {{criticality}} + + Search queries to use: + - "n8n [trigger_type] node documentation" + - "n8n [integration] node setup" + - "n8n workflow best practices" + - "n8n error handling retry logic" + + Focus on official n8n documentation at docs.n8n.io + Store relevant documentation snippets for reference + Note any specific node configurations or parameters needed - - - Resolve n8n library ID using Context7 - Query Context7 for relevant n8n documentation based on: - - Workflow type: {{workflow_type}} - - Integrations: {{integrations}} - - Complexity: {{complexity}} - Store relevant documentation snippets for reference - + + Summarize key findings from documentation: + - Available node types for requirements + - Required parameters and configurations + - Best practices for this use case + - Any limitations or considerations - - Skip Context7 query - Use built-in knowledge and templates - + Inform user: "Based on n8n documentation, I found the necessary nodes and configurations for your workflow." diff --git a/src/modules/autominator/workflows/create-workflow/workflow.yaml b/src/modules/autominator/workflows/create-workflow/workflow.yaml index 6f91fb8f..4bc06600 100644 --- a/src/modules/autominator/workflows/create-workflow/workflow.yaml +++ b/src/modules/autominator/workflows/create-workflow/workflow.yaml @@ -23,7 +23,6 @@ variables: save_location: "" # Will be elicited workflow_name: "" # Will be elicited additional_requirements: "" # Will be elicited - context7_available: false # Will be checked default_output_file: "{project-root}/workflows/workflow-{timestamp}.json" diff --git a/src/modules/autominator/workflows/migrate-workflow/instructions.md b/src/modules/autominator/workflows/migrate-workflow/instructions.md index b427c510..be2f9486 100644 --- a/src/modules/autominator/workflows/migrate-workflow/instructions.md +++ b/src/modules/autominator/workflows/migrate-workflow/instructions.md @@ -15,7 +15,7 @@ Summarize your understanding - Skip directly to Step 2 (Check Context7 MCP) + Skip directly to Step 2 (Research n8n Documentation for Migration) @@ -126,31 +126,35 @@ Store final path in {{save_location}} - - Check if Context7 MCP server is configured - Try to list available MCP tools + + Search for n8n documentation relevant to migration requirements - - Store true in {{context7_available}} - Proceed to Step 3 - + Inform user: "Researching n8n documentation for migration from {{source_platform}}..." - - Store false in {{context7_available}} - Inform user: "Context7 MCP not configured. Proceeding with built-in n8n knowledge." - Proceed to Step 4 - + Perform web search for: + 1. n8n equivalents for {{source_platform}} features + 2. Integration nodes: {{integrations_used}} + 3. Migration best practices + 4. Platform-specific considerations + + Search queries to use: + - "n8n migrate from [source_platform]" + - "n8n [integration] node documentation" + - "n8n vs [source_platform] comparison" + - "n8n workflow migration guide" + + Focus on official n8n documentation at docs.n8n.io + Store relevant migration patterns and node configurations - - - Resolve n8n library ID using Context7 - Query Context7 for relevant n8n documentation based on: - - Integrations used: {{integrations_used}} - - Trigger type: {{trigger_type}} - - Source platform: {{source_platform}} - Store relevant documentation snippets for reference - + + Summarize migration strategy based on documentation: + - n8n equivalents for {{source_platform}} features + - Required node types and configurations + - Data transformation needs + - Any migration challenges or limitations + + Inform user: "Based on n8n documentation, I've identified the migration path from {{source_platform}}." diff --git a/src/modules/autominator/workflows/migrate-workflow/workflow.yaml b/src/modules/autominator/workflows/migrate-workflow/workflow.yaml index d0fa5839..5b7f8731 100644 --- a/src/modules/autominator/workflows/migrate-workflow/workflow.yaml +++ b/src/modules/autominator/workflows/migrate-workflow/workflow.yaml @@ -24,7 +24,6 @@ variables: complexity: "" # Will be elicited save_location: "" # Will be elicited workflow_name: "" # Will be elicited - context7_available: false # Will be checked default_output_file: "{project-root}/workflows/migrated-workflow-{timestamp}.json" diff --git a/src/modules/autominator/workflows/modify-workflow/instructions.md b/src/modules/autominator/workflows/modify-workflow/instructions.md index 9fcc2e8a..2dd85a8c 100644 --- a/src/modules/autominator/workflows/modify-workflow/instructions.md +++ b/src/modules/autominator/workflows/modify-workflow/instructions.md @@ -143,31 +143,34 @@ Inform user: "Backup created at {{workflow_file}}.backup-{timestamp}" - - Check if Context7 MCP server is configured - Try to list available MCP tools + + Search for n8n documentation relevant to the modifications needed - - Store true in {{context7_available}} - Proceed to Step 5 - + Inform user: "Researching n8n documentation for your modifications..." - - Store false in {{context7_available}} - Inform user: "Context7 MCP not configured. Proceeding with built-in knowledge." - Proceed to Step 6 - + Perform web search based on modification needs: + - Problem to solve: {{problem_to_solve}} + - Specific changes: {{specific_changes}} + - Desired behavior: {{desired_behavior}} + + Search queries to use: + - "n8n [specific feature] documentation" + - "n8n [node type] configuration" + - "n8n workflow modification best practices" + - "n8n [integration] setup" + + Focus on official n8n documentation at docs.n8n.io + Store relevant node configurations and modification patterns - - - Resolve n8n library ID using Context7 - Query Context7 for relevant n8n documentation based on: - - Modification type: {{modification_type}} - - Nodes to add: {{nodes_to_add}} - - Changes description: {{changes_description}} - Store relevant documentation snippets for reference - + + Summarize modification strategy based on documentation: + - How to implement {{desired_behavior}} + - Required node changes or additions + - Configuration updates needed + - Best practices for these modifications + + Inform user: "Based on n8n documentation, I've identified how to implement your changes." diff --git a/src/modules/autominator/workflows/modify-workflow/workflow.yaml b/src/modules/autominator/workflows/modify-workflow/workflow.yaml index 1822a0bf..5f6ed1a6 100644 --- a/src/modules/autominator/workflows/modify-workflow/workflow.yaml +++ b/src/modules/autominator/workflows/modify-workflow/workflow.yaml @@ -22,7 +22,6 @@ variables: nodes_to_modify: [] # Will be elicited nodes_to_remove: [] # Will be elicited backup_created: false # Will be set - context7_available: false # Will be checked default_output_file: "" # Will use existing file location diff --git a/src/modules/autominator/workflows/optimize-workflow/instructions.md b/src/modules/autominator/workflows/optimize-workflow/instructions.md index caadb25a..13546e35 100644 --- a/src/modules/autominator/workflows/optimize-workflow/instructions.md +++ b/src/modules/autominator/workflows/optimize-workflow/instructions.md @@ -144,30 +144,37 @@ - Integrations: [list of services] - - Check if Context7 MCP server is configured - Try to list available MCP tools + + Search for n8n documentation on optimization and best practices - - Store true in {{context7_available}} - Proceed to Step 4 - + Inform user: "Researching n8n best practices and optimization techniques..." - - Store false in {{context7_available}} - Inform user: "Context7 MCP not configured. Using built-in n8n best practices." - Proceed to Step 5 - + Perform web search for: + 1. n8n performance optimization + 2. n8n error handling best practices + 3. n8n workflow structure patterns + 4. n8n security best practices + 5. Solutions for: {{problems_experienced}} + + Search queries to use: + - "n8n workflow optimization best practices" + - "n8n performance tuning" + - "n8n error handling patterns" + - "n8n workflow security" + - "n8n [specific problem] solution" + + Focus on official n8n documentation at docs.n8n.io + Store relevant optimization techniques and best practices - - - Resolve n8n library ID using Context7 - Query Context7 for n8n best practices documentation - Query for optimization techniques - Query for performance tips - Store relevant documentation for reference - + + Summarize optimization approach based on documentation: + - Solutions for {{problems_experienced}} + - Best practices to apply + - Performance improvements available + - Expected impact on {{business_impact}} + + Inform user: "Based on n8n best practices, I've identified optimization opportunities." diff --git a/src/modules/autominator/workflows/optimize-workflow/workflow.yaml b/src/modules/autominator/workflows/optimize-workflow/workflow.yaml index 2e013480..c0d7dfe1 100644 --- a/src/modules/autominator/workflows/optimize-workflow/workflow.yaml +++ b/src/modules/autominator/workflows/optimize-workflow/workflow.yaml @@ -21,7 +21,6 @@ variables: recommendations: [] # Will be generated apply_changes: false # Will be elicited backup_created: false # Will be set - context7_available: false # Will be checked default_output_file: "" # Will use existing file location