See llms.txt for all machine-readable content.

Discord and GitHub integration

Save yourself the work of writing custom integrations for Discord and GitHub and use n8n instead. Build adaptable and scalable Communication, HITL, workflows that work with your technology stack. All within a building experience you will love.

How to connect Discord and GitHub

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Discord and GitHub integration: Create a new workflow and add the first step

Backup n8n workflows to Github

Introduction This workflow will backup all of your existed workflows to a single Github repository. The Backup folders' name are based on the current backup date and have default format: "yyyy/MM/dd" (setup at "Create sub path" node). Throughout the backup process, the N8N will inform user via discord with clear message about Start, Success and Failure backups. The workflow will be Tech Stack The following nodes / services / libraries are used in this workflow: Nodes: Discord: To send message to configured setup channel. N8N: To get all workflows' information. Github: To store backup data. Code: To run data comparison (Existed vs Latest workflow data). Wait: To avoid discord message rate limit. External libraries: Underscore.js: JavaScript library that provides lots of common Javascript functions, to help user save time when using code node. Guideline Open "Config" node and setup the following information: repo_owner: Your Github username. repo_name: The repository that you want to store workflows backup data. Open "Create sub path" node and change the naming and path format of backup folder(s). Setup custom messages in 3 discord nodes: Starting Message: N8N inform user at the time workflow start. Inform Success Flows: After each success backup, N8N will notify user. Inform Failed Flows: After each failure backup, N8N will notify user to have appropriate action. Completed Notifications: Then at the final, the workflow will give user a summary. Setup "Schedule Trigger" node to change default automated backup time. Screenshots Discord output image.png

Build your own Discord and GitHub integration

Create custom Discord and GitHub workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Discord supported actions

GitHub supported actions

Discord and GitHub integration details

Discord

Discord

Discord helps a group of people communicate online and share activities together. It is used by study groups, gamers, and even professional teams. It allows you to organize calls, have conversations, stream live events, spark fresh ideas, and advertise your projects.

GitHub

GitHub

GitHub is the number one platform for developers. It boosts their software development and enhances their collaboration options. The tools offered by Github help you automate your tasks and facilitate your work, that is why it is preferred by millions of developers around the world.

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about Discord integrations

Need help setting up your Discord and GitHub integration?

Discover our latest community's recommendations and join the discussions about Discord and GitHub integration.

  • Muhammad Qasim

    How to get Discord messages in n8n

    Muhammad Qasim

    Hey Everyone! I have a problem, which is I want to listen to the Discord messages but in n8n i sreach a lot, but i won’t find something that I want. I have used the Discord trigger but it came with a webhook, which …

    Open topic
  • Mauricio Bachega

    Need help with Raw JSON in discord embeds

    Mauricio Bachega

    I’m trying to do product monitoring, where it may return 1 or more products, and for that I need to return the list in the embed, but I’ve tried every way and I can’t configure the Raw JSON of the embeds. Error: Cannot…

    Open topic
  • Rajat Jaiswal

    Course level 2 discord error || can not read properties of undefined (reading 'error')

    Rajat Jaiswal

    Hello Everyone, I was trying the Course level 2 work flow exercise. I did setup correctly the discord parameter and give correct message format. but unfortunately, I am getting following error “ Cannot read properties …

    Open topic
  • Nika

    Course 2 Workflow 2 Discord Error - Cannot read properties of undefined (reading 'error')

    Nika

    Please, help :folded_hands: Following instructions in the Course 2 Workflow 2: Use the Discord node to send a message in the n8n Discord channel #course-level-two. In the node, configure the following parameters: …

    Open topic
  • cease70

    Unable to Send to #course-level-1 on Discord & Can't Pass Quiz

    cease70

    Describe the problem/error/question I am taking the level 1 course and joined the Discord server as directed and started going through the steps on the server checklist to be able to send to the #course-level-1 section, …

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Discord with GitHub

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship