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:
- Manual Trigger: The workflow is initiated by manually clicking the 'execute' button on the
On clicking 'execute'node. - Fetch Repository Profile: The
Githubnode connects to the GitHub API and performs thegetProfileoperation for the specified repository, which isn8n-io/n8nin 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
- Download workflow JSON
- Import into n8n
- Configure node parameters as needed
- Test and enable the workflow
💡 Tips
After importing, verify all connectors and credentials match your environment.
Preview
Workflow Visualization
Nodes
On clicking 'execute'
manualTrigger
Github
github
Statistics
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
Technical Specs
Compatibility
License
This workflow template follows MIT license, you can freely use, modify and distribute.
Please comply with relevant third-party service terms when using.