Developer & DevOps

Extract GitHub claims and auto-generate n8n expressions

17 nodes 298 160 Automatic trigger
Download

Workflow Description

This workflow retrieves claim files from GitHub repositories and processes them through an intelligent agent for data validation. It then generates accurate n8n expressions automatically using a local language model, streamlining workflow setup and reducing manual configuration errors.

How it works

  1. 1.Trigger workflow and provide the GitHub repository URL
  2. 2.Extract claim files from the specified branch and parse their content
  3. 3.Validate data structure and process claims using an intelligent agent
  4. 4.Generate corresponding n8n expressions via Ollama language model
  5. 5.Return ready-to-use expressions or stop with error notification if validation fails

Use cases

  • Accelerate n8n workflow development for development teams
  • Automate filling complex expressions from claim files
  • Reduce human errors in manual expression rewriting

Requirements

  • Active GitHub account with repository access permissions
  • Ollama language model installed and running locally
  • Understanding of claim file format specifications

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

GitHub AI Agent Lm Chat Ollama

Details

Trigger Automatic trigger
Nodes 17
Apps 3
Views 298
Downloads 160

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (17)

/

When clicking ‘Test workflow’

Manual Trigger

#1

GitHub

Github

#2

Extract from File

Extract From File

#3

setVars

Set

#4

replace variables

Code

#5

If

If

#6

Check All Prompt Vars Present

Code

#7

SetPrompt

Set

#8

Stop and Error

Stop And Error

#9

Set Completed Prompt

Set

#10

AI Agent

Agent

#11

Sticky Note

Sticky Note

#12

Sticky Note1

Sticky Note

#13

Sticky Note2

Sticky Note

#14

Sticky Note3

Sticky Note

#15

Prompt Output

Set

#16

Ollama Chat Model

Lm Chat Ollama

#17