n8n Workflow
Beginner

Fetch GitHub Repository Profile

Automate fetching GitHub repository profile information with a simple n8n workflow. Trigger manually to instantly get details for any public repository.

Overview

A simple workflow to manually retrieve the profile details of a specific GitHub repository, such as n8n-io/n8n.

🧠 Description & Use Case

This workflow provides a straightforward way to fetch the profile information of a specific GitHub repository. It's a fundamental building block for any automation involving GitHub data and serves as an excellent starting point for more complex integrations.

🔄 How It Works:

  1. Manual Trigger: The workflow is initiated by manually clicking the 'execute' button on the On clicking 'execute' node.
  2. Fetch Repository Profile: The Github node connects to the GitHub API and performs the getProfile operation for the specified repository, which is n8n-io/n8n in this example. The output will contain key details like the repository's description, star count, fork count, programming language, and owner information.

✅ Real-World Use Cases:

  • Quick Stats Check: Instantly retrieve the latest statistics for a repository without leaving your n8n canvas.
  • Data Integration: Use this as a starting point to feed repository information into a custom dashboard, a Google Sheet, or a notification service like Slack.
  • Learning Template: Acts as a simple, effective example for beginners to understand how to connect n8n to the GitHub API.
  • Automated Reporting: When combined with a schedule trigger and other nodes (e.g., Email, Discord), you can create automated daily or weekly reports on repository metrics.

Instructions

Basic steps

  1. Download workflow JSON
  2. Import into n8n
  3. Configure node parameters as needed
  4. Test and enable the workflow

💡 Tips

After importing, verify all connectors and credentials match your environment.

Preview

Workflow Visualization

2 nodes
100%
On clicking 'execute'manualTriggerGithubgithub

Nodes

1

On clicking 'execute'

manualTrigger

v1
2

Github

github

v1

Statistics

Total nodes:2
Disabled nodes:0
Node types:2
Connections:1
View full JSON structure
{
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        540,
        350
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Github",
      "type": "n8n-nodes-base.github",
      "position": [
        790,
        350
      ],
      "parameters": {
        "owner": "n8n-io",
        "resource": "repository",
        "operation": "getProfile",
        "repository": "n8n"
      },
      "credentials": {
        "githubApi": "shraddha"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Github",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Actions

Share
Categories:
Tags:
manualtriggergithub

Technical Specs

Complexity:
Beginner
Node Count:
2 nodes
Published:11 months ago
Updated:7 days ago

Compatibility

Platform:
N8N Cloud & Self-hosted
Min Version:
N8N v1.0.0+
Supports cloud and self-hosted deployment

License

This workflow template follows MIT license, you can freely use, modify and distribute.

Please comply with relevant third-party service terms when using.

Related Workflows