Notebook.ipynb


πŸ“§ How to Use the Lead Enrichment Script

This Python script automates the process of enriching lead data by using external APIs (Hunter.io and DropContact). It starts by enriching leads data, first with Hunter.io and then with DropContact if necessary. This helps you find email addresses for your leads and ensures they are correctly enriched.

Key Features:

How It Works:

  1. CSV Input πŸ“: The script loads a CSV file (leads.csv) containing the lead information (name, company, etc.).
  2. Enrichment Process πŸ”: For each lead, the script first tries to find the email using Hunter.io's API. If no email is found, it moves on to DropContact to find it.
  3. Logging and Monitoring 🧾: All enrichment actions, including successful enrichments and any errors, are logged into the enrichment_log.txt file. This helps you keep track of which leads were successfully enriched and which failed.

This script is perfect for enriching leads' data without manually looking for email addresses. You can scale your lead enrichment process efficiently by relying on the cascade method with two powerful APIs: Hunter.io and DropContact.