Developer & DevOps

Recover your credentials from GitHub

11 nodes 199 113 Automatic trigger
Download

Workflow Description

Automation that recovers forgotten or lost GitHub credentials through secure API queries and file analysis, providing developers with a rapid and reliable method to retrieve stored access keys, tokens, and authentication details from repositories.

How it works

  1. 1.Trigger the process manually when credential recovery is needed
  2. 2.Send HTTP request to GitHub API endpoint with proper authentication headers
  3. 3.Extract credentials from configuration files and stored notes in repositories
  4. 4.Split results by credential type for organized processing and validation
  5. 5.Validate recovered data through conditional logic to ensure accuracy and security
  6. 6.Log successful recoveries and send notifications with securely masked sensitive information

Use cases

  • Recover deleted personal access tokens or API keys from GitHub repositories
  • Search encrypted credentials stored in legacy project configuration files
  • Audit and update expired authentication tokens across multiple repositories

Requirements

  • Active GitHub account with sufficient permissions to access private repositories
  • Valid GitHub personal access token or API credentials for connection
  • N8N environment with internet connectivity to communicate with GitHub servers

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

GitHub N8N

Details

Trigger Automatic trigger
Nodes 11
Apps 2
Views 199
Downloads 113

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 (11)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Sticky Note1

Sticky Note

#2

Globals

Set

#3

Sticky Note4

Sticky Note

#4

Sticky Note

Sticky Note

#5

Get all files in given path

HTTP Request

#6

Split the result

Split Out

#7

Get file content from GitHub

Github

#8

Convert files to JSON

Extract From File

#9

Restore n8n Credentials

N8N

#10

Check for skipped Credentials

If

#11