This project automates the process of identifying relevant trade shows, extracting company data, enriching it with key stakeholder information, and generating personalized outreach emails. By integrating multiple APIs (SERP API, OpenAI API, and Apollo AI API), the pipeline produces a series of JSON outputs at various stages, with a final enriched leads file that contains all relevant data, culminating in a personalized email for each lead. The results are displayed in a minimal HTML frontend for the MVP.
- Trade Show Identification: Automatically identifies relevant trade shows and expos to target using the SERP API.
- Company Identification: Uses OpenAI API to parse trade show websites and extract companies attending these events.
- Lead Enrichment: Utilizes Apollo AI API to retrieve relevant stakeholder information for the identified companies (in the code, we run it as an alternative scenario, our priority remains OpenAI for the MVP).
- Personalized Outreach: Generates tailored emails to qualified leads, incorporating details from the enriched data.
- Interactive Dashboard: Displays the results in a local HTML dashboard with a minimal frontend.
- Scalable Design: Future-proof for improvements and further API integrations, such as LinkedIn Sales Navigator.
-
Discover Trade Shows (
discover_tradeshows.py)- The first step in the pipeline is to identify trade shows, expos, and conferences relevant to your product using the SERP API.
- This generates
trade_shows.json, a list of the identified trade shows you should target.
-
Extract Company Data (
data_extractor.py)- After identifying the trade shows, this step crawls through the websites of each show and extracts relevant company data.
- This process generates JSON files like
exhibitors_signexpo_org.json,exhibitors_sac_ace_ca.json, and others, each containing the companies attending specific trade shows.
-
Combine Extracted Data (
combine_json.py)- Once the company data has been extracted from all trade show websites, this script combines the data into one unified JSON file,
combined_exhibitors.json, which contains the full list of exhibitors.
- Once the company data has been extracted from all trade show websites, this script combines the data into one unified JSON file,
-
Retrieve Company Websites (
json_website.py)- This script takes the company names from the combined data and attempts to find their official websites, saving them in
websites.json.
- This script takes the company names from the combined data and attempts to find their official websites, saving them in
-
Extract Qualified Leads (
lead_extractor.py)- This step identifies the qualified leads for outreach by analyzing the company data and their corresponding websites.
- It creates the
websites_with_leads.json, which contains the leads and their designations within the company.
-
Apollo Lead Fetch (
apollo_email_fetch.py) (Optional)- This script suggests an alternative route for finding more leads using Apollo AI API by retrieving additional information about decision-makers.
-
Final Aggregation (
final_step.py)- The final step consolidates all the data, including leads, their designations, and their personalized emails, into
enriched_leads.json.
- The final step consolidates all the data, including leads, their designations, and their personalized emails, into
The results are visualized through a minimal HTML dashboard. The dashboard displays:
- Trade Show Information: Details of the trade shows targeted.
- Company Data: Information about companies attending the trade shows.
- Qualified Leads: The final list of qualified leads, their roles, and the generated outreach emails.
- The dashboard is launched by opening the
index.htmlfile located in theoutputfolder.
trade_shows.json: Contains the list of relevant trade shows.combined_exhibitors.json: Combines all extracted data from the trade show websites.websites.json: Contains the websites of the extracted companies.websites_with_leads.json: Contains qualified leads and their designations.enriched_leads.json: The final output that includes all data, including the personalized outreach emails for each lead.
git clone https://github.com/your-repo/Instalily_Project_Vedant.git
cd Instalily_Project_Vedantpip install -r requirements.txtEnsure you have your Apollo AI API and OpenAI API keys and add them to a .env file in the project root or directly in the script.
python src/discover_tradeshows.pypython src/data_extractor.pypython src/combine_json.pypython src/json_website.pypython src/lead_extractor.pypython src/apollo_email_fetch.pypython src/final_step.pyGo to the output folder and click on the index.html file to view the results dashboard in your browser.
- Data Pipeline: The project utilizes an efficient API-driven pipeline to automatically extract, enrich, and prioritize leads, saving valuable time and reducing manual errors.
- Cost Efficiency: By leveraging the power of the Apollo and OpenAI APIs, the pipeline delivers qualified leads at a cost-efficient rate, which is currently under 50 cents per lead.
- Scalability: The solution is designed to scale, allowing future integrations with additional APIs and incorporating real-time web scraping for continuous updates on trade shows and leads.
- User-Friendly Interface: The minimal HTML dashboard provides an intuitive way to visualize the entire lead generation process, from trade show identification to email generation, helping sales teams make informed decisions.
This project is private and contains my paid APIs and private tokens.
For any questions or further support, feel free to reach out:
Email: vma2130@columbia.edu
If you have any questions or need further clarification on any part of the project, feel free to ask. More than happy to help!