WorkflowGitHubOpen

Load Prompts from Github Repo and auto populate n8n expressions

Triggered manually or by an app event. Connects Code, Condition, Extract From File, GitHub, Stop And Error. Set The variables in your prompt here The repo is currently public for you to test with Replaces the values in the prompt with the variables in the 'setVars' Node If you're missing variables they will be listed here

Front matter
name: Load Prompts from Github Repo and auto populate n8n expressions
description: Triggered manually or by an app event. Connects Code, Condition, Extract From File, GitHub, Stop And Error. # Set The variables in your prompt here ## The repo is currently public for you to test with ## Replaces the values in the prompt with the variables in the # 'setVars' Node ## If you're missing variables they will be listed here
category: Automation
kind: Workflow
software: Code|Condition|Extract From File|GitHub|Stop And Error

Load Prompts from Github Repo and auto populate n8n expressions

Triggered manually or by an app event. Connects Code, Condition, Extract From File, GitHub, Stop And Error. # Set The variables in your prompt here ## The repo is currently public for you to test with ## Replaces the values in the prompt with the variables in the

'setVars' Node ## If you're missing variables they will be listed here

Steps

  • 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)
  • AI Agent (noOp)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Sticky Note3 (stickyNote)
  • Prompt Output (set)
  • Ollama Chat Model (noOp)
  • Error Handler (stopAndError)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Stopanderror/1453_Stopanderror_Code_Import_Triggered.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.