AutomationFlowsAI & RAG › GitHub Issues to Discord AI Agent

GitHub Issues to Discord AI Agent

Original n8n title: Github to Discord Agent

Github_To_Discord_Agent. Uses github, chainLlm, lmChatOllama, discord. Event-driven trigger; 15 nodes.

Event trigger★★★★☆ complexityAI-powered15 nodesGitHubChain LlmOllama ChatDiscord
AI & RAG Trigger: Event Nodes: 15 Complexity: ★★★★☆ AI nodes: yes Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Github_To_Discord_Agent",
  "nodes": [
    {
      "parameters": {},
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        704,
        1648
      ],
      "id": "ff339949-2cab-4f37-ac09-d974ab75059c"
    },
    {
      "parameters": {
        "resource": "repository",
        "owner": {
          "__rl": true,
          "value": "YOUR_GITHUB_USERNAME",
          "mode": "name"
        },
        "repository": {
          "__rl": true,
          "value": "YOUR_REPO_NAME",
          "mode": "name"
        },
        "getRepositoryIssuesFilters": {}
      },
      "name": "GitHub Get Issues (Custom)",
      "type": "n8n-nodes-base.github",
      "typeVersion": 1,
      "position": [
        928,
        1648
      ],
      "id": "395b762e-4b20-4f2f-8363-fd6acac34af4"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "={{ $json.title }}{{ $json.body }} Summerize the github issue into three senteces. No more than three sentances.",
        "batching": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.7,
      "position": [
        1152,
        1648
      ],
      "id": "cba7562e-0713-46dc-9965-f0e5e0b02e58",
      "name": "Basic LLM Chain"
    },
    {
      "parameters": {
        "model": "llama3.1:8b",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "typeVersion": 1,
      "position": [
        1248,
        1872
      ],
      "id": "51d1cc6b-a527-4309-8e08-5955b62f9acf",
      "name": "Ollama Chat Model",
      "credentials": {
        "ollamaApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "fieldToAggregate": "text"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.aggregate",
      "typeVersion": 1,
      "position": [
        1552,
        1648
      ],
      "id": "e264b053-0817-4779-8fd8-2274dbdaab69",
      "name": "Aggregate"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[1] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        976
      ],
      "id": "abda5c34-4294-411f-9b87-87eae4143dfb",
      "name": "Discord1"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[2] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        1168
      ],
      "id": "f2c75fa4-abf2-4efd-b47f-913cec6bd655",
      "name": "Discord2"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[3] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        1360
      ],
      "id": "6355cfc8-5b43-49ea-a7a3-e3bbca250917",
      "name": "Discord3"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[4] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        1552
      ],
      "id": "06590c1d-65a0-45cf-9b36-2a20e3e74034",
      "name": "Discord4"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[5] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        1744
      ],
      "id": "a7ccdcd5-4e05-478c-961a-2f1c91de8d8a",
      "name": "Discord5"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[6] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        1936
      ],
      "id": "6c5f3b43-082d-4a13-b0a3-bda971f97b6e",
      "name": "Discord6"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[7] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        2128
      ],
      "id": "1e36cabd-a15c-4d05-9ee7-355e731047a0",
      "name": "Discord7"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[8] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        2320
      ],
      "id": "5a7bda8a-8f7a-44aa-b3a7-7ef53d1419d4",
      "name": "Discord8"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        784
      ],
      "id": "8bd74926-b2a8-47d4-96ae-39fb3b5db0af",
      "name": "Discord",
      "credentials": {
        "discordWebhookApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text[9] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        1776,
        2512
      ],
      "id": "a08def3b-ea88-4ccc-9a00-ec1a83268f43",
      "name": "Discord10"
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "GitHub Get Issues (Custom)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GitHub Get Issues (Custom)": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ollama Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Discord",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord3",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord4",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord5",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord6",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord7",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord8",
            "type": "main",
            "index": 0
          },
          {
            "node": "Discord10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "7acfdb75-52cb-4b8b-bd8f-904a781266a9",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "FiEfDBShYKcp8NtF",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Github_To_Discord_Agent. Uses github, chainLlm, lmChatOllama, discord. Event-driven trigger; 15 nodes.

Source: https://github.com/wyattx05/n8n-workflows/blob/95549b568affbdebe8921c66c72adb226cc96fea/Automations/Github_To_Discord_Agent.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

My workflow 53. Uses formTrigger, httpRequest, lmChatOpenAi, form. Event-driven trigger; 74 nodes.

Form Trigger, HTTP Request, OpenAI Chat +15
AI & RAG

Episode 23: UGC with nanobanana. Uses lmChatOpenAi, lmChatOllama, lmChatDeepSeek, lmChatOpenRouter. Event-driven trigger; 74 nodes.

OpenAI Chat, Ollama Chat, Lm Chat Deep Seek +12
AI & RAG

This workflow is perfect for creators, solopreneurs, and personal brands who want to consistently publish bold, high-performing content on X (Twitter) — without writing a single line themselves. After

OpenAI Chat, Memory Buffer Window, Tool Workflow +10
AI & RAG

Ultimate Blogblizt is a powerhouse workflow that solves the tedious task of crafting and publishing SEO-optimized tech blog posts. It integrates AI models (OpenAI, Google Gemini), WordPress, and multi

Chain Llm, Telegram Trigger, OpenAI Chat +10
AI & RAG

🚀 Create professional motivational videos automatically with zero API costs!

HTTP Request, Chain Llm, Output Parser Structured +2