This script automates the process of enriching email profiles by fetching additional information from the Snov.io API and saving the results to an Excel file.
The script performs the following steps:
- Read Excel File: Reads an input Excel file containing email addresses and other related data.
- Authentication: Authenticates with the Snov.io API using provided client ID and client secret to obtain an access token.
- Fetch Profile Information: For each email address in the Excel file, the script queries the Snov.io API to retrieve detailed profile information.
- Extract Relevant Data: Extracts specific details such as LinkedIn profile links, first names, last names, and current job positions from the fetched profile data.
- Enrich Data: Enriches the original data with the additional profile information.
- Save to Excel: Saves the enriched data to a new Excel file.
- Python 3.x
- pandas
- requests
- Update the script with your Snov.io
client_id
,client_secret
, and the path to your input Excel file. - Run the script.
- The enriched data will be saved to a specified output Excel file.