Load Prompts from Github Repo and auto populate n8n expressions

Load Prompts from Github Repo and auto populate n8n expressions

Manual
High
17
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
17
Node Types
10

Node Types

manual Trigger
When clicking ‘Test workflow’
1 node
github
GitHub
1 node
extract From File
Extract from File
1 node
set
setVars, SetPrompt, Set Completed Prompt, Prompt Output
4 nodes
code
replace variables, Check All Prompt Vars Present
2 nodes
if
If
1 node
stop And Error
Stop and Error
1 node
agent
AI Agent
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3
4 nodes
lm Chat Ollama
Ollama Chat Model
1 node

Workflow JSON

12.88 KB
{
  "id": "QyMyf3zraY0wxXDf",
  "meta": {
    "instanceId": "ba3fa76a571c35110ef5f67e5099c9a5c1768ef125c2f3b804ba20de75248c0b",
    "templateCredsSetupCompleted": true
  },
  "name": "Load Prompts from Github Repo and auto populate n8n expressions",
  "tags": [],
  "nodes": [
    {
      "id": "34781446-b06e-41eb-83b8-b96bda1a5595",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -80,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c53b7243-7c82-47e0-a5ee-bd82bc51c386",
      "name": "GitHub",
      "type": "n8n-nodes-base.github",
      "position": [
        600,
        0
      ],
      "parameters": {
        "owner": {
          "__rl": true,
          "mode": "name",
          "value": "={{ $json.Account }}"
        },
        "filePath": "={{ $json.path }}{{ $json.prompt }}",
        "resource": "file",
        "operation": "get",
        "repository": {
          ...

Showing first 1000 characters. Click "Expand" to view the full JSON.