This workflow automates the creation of custom n8n workflows via API requests, using AI to match or build workflows based on user specifications. Key nodes include Webhook, Condition (API key validation), HTTP Request (n8n docs/community search), Google Sheets (template library), Agent (template matching/custom build), Code (workflow validation), and n8n (workflow deployment). It logs results to Google Sheets and sends Slack notifications. Install n8n from n8n.io for self-hosting or sign up at cloud.n8n.io. Create a Google Cloud account at console.cloud.google.com for OAuth2 credentials for Google Sheets ('Template Library', 'Workflow Registry'). Obtain an OpenAI API key from openai.com for Agent nodes ('Template Matching Agent', 'Template Customizer', 'Custom Workflow Builder'). Get an n8n API key from your n8n instance settings for the n8n node ('Workflow Deployer'). Create a Slack webhook at slack.com for the HTTP Request node ('Success Notification'). Configure the Webhook node path to 'workflow-generator' and set the Google Sheets spreadsheet ID (e.g., 1RW6sUbA8M2mkhrEgK4AfR_PZJajkXFT5FcTcrQ8C0JE). Ensure sheet permissions allow data access. Test by sending a POST request to the Webhook URL (e.g., curl -X POST http://<n8n-host>/webhook/workflow-generator -H "x-api-key: devhubconnect-automation-api-key" -d '{"workflow_request":"create a data processing workflow"}'). Verify workflow generation in the Agent nodes and deployment in the n8n node. Check Google Sheets for deployment logs (e.g., Workflow_ID, Quality_Score) and Slack for success notifications. Invalid API keys trigger a 401 error in the Condition node ('API Authentication'), halting processing. Missing workflow_request parameters cause a 400 error in the Condition node ('Request Validator'). Deploy by activating the workflow and setting credentials. Monitor Google Sheets for registry updates and Slack for deployment alerts. If validation fails, the Code node ('Workflow Validator') logs errors, requiring request resubmission with corrected parameters.
$6.99
Workflow steps: 22
Integrated apps: webhook, if, set