Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. When clicking ‘Test workflow’
  2. GitHub
  3. Extract from File
  4. setVars
  5. replace variables
  6. If Node
  7. Check All Prompt Vars Present
  8. SetPrompt
  9. Stop and Error
  10. Set Completed Prompt
  11. AI Agent
  12. Prompt Output
  13. Ollama Chat Model
  14. Error Handler for 9976b199

15 steps in total.

Similar automations