Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Load Prompts from GitHub and Fill n8n Variables
When you run it, it reads a prompt file from a GitHub repository, replaces variables and checks that all prompt variables are present.
What it does
# Load Prompts from Github Repo and auto populate n8n expressions ## Overview Automated workflow: Load Prompts from Github Repo and auto populate n8n expressions. This workflow integrates 10 different services: stickyNote, code, agent, lmChatOllama, set. It contains 18 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 18 - Node Types: 10 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - When clicking ‘Test workflow’: manualTrigger - GitHub: github - Extract from File: extractFromFile - setVars: set - replace variables: code - If Node: if - Check All Prompt Vars Present: code - SetPrompt: set - Stop and Error: stopAndError - Set Completed Prompt: set - ... and 8 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible
The steps
- When clicking ‘Test workflow’
- GitHub
- Extract from File
- setVars
- replace variables
- If Node
- Check All Prompt Vars Present
- SetPrompt
- Stop and Error
- Set Completed Prompt
- AI Agent
- Prompt Output
- Ollama Chat Model
- Error Handler for 9976b199
15 steps in total.
Similar automations
Code, Git & Developer ToolsLoad Prompts from GitHub and Fill n8n Variables15 stepsCode, Git & Developer ToolsLoad Prompts from GitHub and Fill Variables with Ollama13 stepsCode, Git & Developer ToolsLoad Prompts from GitHub into n8n with Ollama13 stepsImage, Video & AudioFill Image Areas with FLUX Fill Editor12 steps