Automate Pipedrive Leads from GitHub Forks with n8n

Discover how this unique n8n workflow automates lead creation in Pipedrive whenever a GitHub repository is forked. It fetches user details and ensures your CRM stays up-to-date, saving valuable time and avoiding manual entry errors.
githubTrigger
httpRequest
pipedrive
+2
Workflow Identifier: 2415
NODES in Use: githubTrigger, httpRequest, pipedrive, if, set

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow watches for when someone forks a GitHub repository.

It gets the forker’s info using GitHub API and checks Pipedrive CRM to see if they are already a contact.

If the person exists, it uses their ID; if not, it creates a new contact with name and email.

Then it makes a new lead in Pipedrive linked to that person.

It also adds a note with the GitHub user profile link on the new lead.

This saves time by stopping manual copying and keeps data accurate.


Who Should Use This Workflow

This is useful for anyone managing sales or leads from GitHub activity, like team managers or sales reps.

If your team wants to capture fork events as leads automatically, this workflow helps.


Tools and Services Used

  • n8n Automation Platform: Runs and connects all nodes.
  • GitHub API and Webhook: Sends fork event data, fetches user info.
  • Pipedrive CRM API: Searches, creates persons and leads, adds notes.
  • HTTP Request Node in n8n: Calls GitHub API for detailed user info.

Inputs → Processing Steps → Output

Inputs

  • GitHub repository fork webhook event data.
  • GitHub API access for user details.
  • Pipedrive API access for CRM actions.

Processing Steps

  • Trigger on GitHub fork event via webhook.
  • Request detailed user info from GitHub API.
  • Search Pipedrive for existing person with matching email.
  • Use IF node to check if person exists.
  • If exists, store Pipedrive person ID.
  • If not, create new person with GitHub name and email.
  • Store new person ID.
  • Create a lead linked to this person, with repo and user info in title.
  • Add a note on the lead with GitHub user profile URL.

Output

  • A new or existing Pipedrive person record.
  • A new lead associated to that person in Pipedrive.
  • A note on the lead with GitHub profile link for easy reference.

Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Download and Import Workflow

  1. Find the Download button on this page and save the workflow JSON file.
  2. Open your n8n editor where you want to use the workflow.
  3. Click on Import from File and select the downloaded JSON.

Step 2: Configure Credentials

  1. Add your GitHub API credentials in n8n Credential Manager.
  2. Add your Pipedrive API credentials similarly.
  3. Make sure the GitHub Trigger node uses the correct repository owner and name.

Step 3: Adjust IDs and Fields if Needed

  1. Check the Pipedrive nodes’ settings. If you use custom pipelines or fields, update them.
  2. Update email mappings if GitHub user data format changes.

Step 4: Test the Workflow

  1. Fork the GitHub repository to trigger the webhook.
  2. Watch execution logs in n8n for errors and data flow.
  3. Confirm new leads and persons appear correctly in your Pipedrive account.

Step 5: Activate the Workflow

  1. After testing, enable the workflow by clicking Activate in n8n.
  2. Monitor runs regularly to catch any failures.

Consider using self-host n8n if hosting the automation on your own server.


Customizations Ideas

  • Add more GitHub profile info like bio or location when creating the person in Pipedrive.
  • Filter fork events for certain repositories only with extra IF nodes.
  • Customize the lead title to include fork date or description for better tracking.
  • Send notifications with Slack or email when a new lead is created.
  • Log all fork events to Google Sheets for auditing or reports.

Common Problems and Fixes

  • Webhook not triggering: Check GitHub webhook URL, selected repository and fork event correctness.
  • 401 Unauthorized on HTTP Request: Verify GitHub API credentials and token permissions.
  • No person found in search: Confirm email field mapping matches GitHub user email exactly.
  • Person creation errors: Ensure all required fields like name and email are not empty.

Pre-Production Checklist

  • Confirm GitHub webhook is active and set for fork events.
  • Test API credentials for GitHub and Pipedrive nodes.
  • Run a manual fork to watch workflow execution in n8n logs.
  • Check Pipedrive for correct person and lead creation and linkage.
  • Backup current Pipedrive data before activating automation.

Deployment Guide

After setup and testing, activate the workflow in n8n.

Keep monitoring executions through the n8n dashboard.

Set up alerts in n8n or use external tools to catch failed runs quickly.

You may export the workflow JSON anytime for backup or sharing.


Summary of Workflow Benefits

✓ Saves hours weekly by automating lead capture from GitHub forks.

✓ Reduces manual data entry errors in CRM contacts and leads.

✓ Keeps leads fresh and correctly linked to persons in Pipedrive.

→ Provides clear sales opportunities based on GitHub activity.

→ Gives sales teams better focus by handling routine tasks automatically.


Frequently Asked Questions

The workflow uses an HTTP Request node to call the GitHub API with the user URL from the fork webhook payload to get detailed profile info.
The workflow creates a new person record in Pipedrive using the GitHub user’s name and email if no existing person is found.
Fork the configured GitHub repository to trigger the webhook and then observe the execution logs in n8n for incoming data.
Yes, the workflow works on any n8n instance, including self-host n8n setups.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free