Skip to content

Automate lead analysis and outreach with AI-driven research, scoring, and personalized emails, videos, and call scripts, seamlessly integrated with HubSpot CRM for maximum impact.

Notifications You must be signed in to change notification settings

kaymen99/sales-outreach-automation-langgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Sales-Outreach-Langgraph

I developed an AI-powered lead outreach automation system using Langgraph that integrates with HubSpot and LinkedIn to streamline lead research and outreach. This project includes monitoring Hubspot contacts list, automated lead research, lead scoring, identification of company pain points, and personalized communication via email, video, and call scripts.

  • Integrate with HubSpot CRM to fetch new leads and record contacts updates.
  • Research leads on LinkedIn and score them based on specified business rules.
  • Identify key pain points and generate personalized outreach materials.
  • Create customized emails, videos, and call scripts to engage leads effectively.

Key Features

AI-Powered Lead Analysis

  • Monitor HubSpot CRM: Continuously fetch new leads added into your contacts list.
  • Lead and Company Research: Scrape LinkedIn for lead and company information, and gather current open positions by scraping the company's website for deeper insights into their needs.
  • Pain Point Identification: Detect company challenges that align with provided services for more impactful communication.
  • Automated Lead Scoring: Assess and rank leads based on predefined criteria to prioritize high-value prospects.
  • Categorize Leads: Categorize leads into qualified or not qualified based on the lead score, and update HubSpot CRM accordingly.
  • Personalized Outreach: Generate tailored emails, videos, and call scripts to engage qualified leads with relevant solutions and content.

System Flowchart

This is the detailed flow of the system:

Integration with APIs

Future Development

  • Enhanced Personalization: Improve the system by expanding the dataset of personalized outreach materials and implementing a continuous feedback loop to refine content generation.

Tech Stack

  • Langgraph: Utilized for building the AI automation workflow.
  • Litellm: Used for connecting and leveraging multiple large language models (LLMs) such as GPT-4, LLAMA3, LLAMA3.1,...
  • HubSpot Python API: Implemented for interacting with the HubSpot private app.

How to Run

Prerequisites

  • Python 3.9+
  • API keys for RapidAPI (LinkedIn see), Serper, HubSpot (private app), and Groq
  • Necessary Python libraries (listed in requirements.txt)

Setup

  1. Clone the repository:

    git clone https://github.com/kaymen99/sales-outreach-automation-langgraph.git
    cd sales-outreach-automation-langgraph
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Set up environment variables:

    Create a .env file in the root directory and add your API keys:

    RAPIDAPI_KEY=your_rapidapi_key
    SERPER_API_KEY=your_serper_api_key
    GROQ_API_KEY=your_groq_api_key
    HUBSPOT_API_KEY=your_hubspot_api_key

Running the Application

  1. Start the automation:

    python main.py

    The application will connect with your HubSpot CRM to fetch all the new leads, analyze, research, and score them, and generate personalized outreach materials for the qualified leads.

Customization

To customize the scoring rules or outreach templates, edit the relevant configuration file in src/prompts.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

Contact

For questions or suggestions, contact me at [email protected].

About

Automate lead analysis and outreach with AI-driven research, scoring, and personalized emails, videos, and call scripts, seamlessly integrated with HubSpot CRM for maximum impact.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages