Automate GitHub PR Notifications to Pipedrive
detail.loadingPreview
Seamlessly connect your GitHub pull requests to your Pipedrive CRM. This workflow automatically searches for the PR author in Pipedrive and adds a note if they exist, keeping your sales and customer success teams informed about developer activity.
About This Workflow
This n8n workflow bridges the gap between your development activity on GitHub and your customer relationship management in Pipedrive. When a pull request is opened in a specified GitHub repository, the workflow retrieves information about the PR author. It then checks your Pipedrive account to see if this person already exists. If they do, a note is automatically created on their Pipedrive contact record, linking back to the GitHub pull request. This ensures your sales and customer success teams are always aware of potential leads or existing customers actively contributing to your projects, enabling timely follow-ups and better customer engagement.
Key Features
- Real-time GitHub Event Triggering: Automatically initiates upon new pull requests in your configured GitHub repository.
- Pipedrive Contact Synchronization: Searches for existing contacts in Pipedrive based on the PR author's email.
- Automated CRM Notes: Creates a Pipedrive note with a direct link to the pull request if the contact is found.
- Conditional Logic: Ensures notes are only added to existing Pipedrive contacts, preventing duplicate or irrelevant entries.
- Secure Credential Management: Utilizes n8n's secure credential management for seamless integration with GitHub and Pipedrive APIs.
How To Use
- Configure GitHub Trigger: Set up the
ON Pull Requestnode by specifying your GitHubowner,repository, and selecting thepull_requestevent. - GitHub Authentication: Authenticate with your GitHub account using the
nodeCredentialType: githubApi. - HTTP Request for Email: The
HTTP Requestnode is pre-configured to use thesender.urlfrom the GitHub webhook payload and authenticates with your GitHub credentials. - Search Pipedrive Contact: In the
Search PR user in Pipedrive by emailnode, ensure thetermis set to={{ $json["email"]}}to search for the PR author's email. Authenticate with your Pipedrive account. - Conditional Logic: The
person existsnode uses{{$json["name"]}}and theisNotEmptyoperation to determine if a Pipedrive contact was found. - Create Pipedrive Note: If a contact exists (the 'true' branch of the 'person exists' node), the
Pipedrivenode creates a note. Configure thecontentto include the pull request URL using{{$node["ON Pull Request"].json["body"]["pull_request"]["html_url"]}}and set theperson_idto={{ $json["id"] }}from the search results. - Handle No Contact: The 'false' branch of the 'person exists' node leads to a
NoOpnode, meaning no action is taken if the contact is not found in Pipedrive.
Apps Used
Workflow JSON
{
"id": "8a59c090-b00d-4a94-8e34-1756000159fe",
"name": "Automate GitHub PR Notifications to Pipedrive",
"nodes": 29,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 8a59c090-b00d...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.