Developer & DevOps

Extract GitHub Claims and Auto-Fill n8n Expressions

17 nodes 307 161 Automatic trigger
Download

Workflow Description

This automation workflow retrieves claim files from GitHub repositories, analyzes them using an intelligent agent, and automatically populates n8n expressions. It reduces manual work, ensures consistency, and minimizes errors in technical data processing.

How it works

  1. 1.Trigger the extraction manually or via GitHub webhook
  2. 2.Extract and parse claim file contents from the repository
  3. 3.Process and format data using custom code logic
  4. 4.Send claims to an AI agent for expression extraction
  5. 5.Call a local language model (Ollama) to generate valid n8n expressions
  6. 6.Validate and save the populated expressions

Use cases

  • Automate processing of GitHub issues, feature requests, and bug reports
  • Generate dynamic n8n field mappings based on repository criteria
  • Streamline developer workflows when handling repetitive project updates

Requirements

  • GitHub repository with properly formatted claim files (JSON or Markdown)
  • Installed Ollama or API access to a language model
  • GitHub API credentials with read access to repository files

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 307
Downloads 161

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