Fetches AI prompts from GitHub, scans for n8n expressions, validates required variables from setVars, auto-populates them, and processes via AI agent for scalable automation.
This n8n workflow enables AI engineers and automation specialists to dynamically manage prompts stored in GitHub repositories. It eliminates manual updates by fetching text-based prompts containing n8n expression placeholders (e.g., {{ $json.company }}), validating all required variables against a setVars node, and automatically replacing them before passing the fully processed prompt to an AI agent.
The workflow features three key branches for robust operation: (1) Retrieve the prompt via HTTP