A personal job-search productivity tool that aggregates your networking activity into a daily digest email. It reads a Google Sheets company tracker, scrapes your own LinkedIn message threads, and surfaces who to follow up with — so you never let a warm lead go cold.
Each day at 8 AM, the bot runs locally via Windows Task Scheduler and:
- Reads your Company Tracker spreadsheet.
- Identifies companies with no referral contact, companies ready for outreach, and conversations that need a follow-up.
- Scrapes your own LinkedIn message threads for tracked contacts.
- Sends a digest email with a prioritized to-do list.
- Python 3.11+
- A Google Cloud service account with Sheets API access
- A Gmail account with an App Password enabled
- A LinkedIn account
- Windows Task Scheduler (for automated daily runs)
NetworkingBot/
├── scripts/
│ └── fetch_linkedin.py # Scrapes your LinkedIn messages and updates the sheet
├── src/
│ ├── main.py # Entry point — reads sheet, parses messages, sends email
│ ├── sheets_reader.py # Reads and categorizes companies from Google Sheets
│ ├── linkedin_parser.py # Parses the LinkedIn messages CSV
│ └── email_sender.py # Builds and sends the HTML digest email
├── data/ # Local data files (excluded from git)
├── .github/workflows/
│ └── daily_digest.yml # GitHub Actions workflow (email digest only)
├── run_daily.vbs # Silently launches the daily run via Task Scheduler
├── run_daily.bat # Wrapper script called by the VBScript
├── .env.example # Template for local environment variables
└── requirements.txt
git clone https://github.com/AblazedTC/NetworkingBot.git
cd NetworkingBotpython -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # macOS / Linux
pip install -r requirements.txt
playwright install chromium- Go to Google Cloud Console.
- Create a project and enable the Google Sheets API.
- Create a service account and download the JSON key file.
- Share your Company Tracker spreadsheet with the service account email (Editor access).
- Go to your Google Account → Security → 2-Step Verification (must be enabled).
- Go to App Passwords and create one for "Mail".
- Save the 16-character password.
Copy .env.example to .env and fill in each value:
GOOGLE_SERVICE_ACCOUNT_JSON={"type":"service_account",...}
SPREADSHEET_ID=your_spreadsheet_id
GMAIL_USER=[email protected]
GMAIL_APP_PASSWORD=xxxx-xxxx-xxxx-xxxx
RECIPIENT_EMAIL=[email protected]
LINKEDIN_USER_NAME=Your Full Name
FOLLOW_UP_DAYS=14
LINKEDIN_FOLLOW_UP_DAYS=7
DRY_RUN=false| Variable | Description |
|---|---|
GOOGLE_SERVICE_ACCOUNT_JSON |
Full JSON content of your service account key |
SPREADSHEET_ID |
The ID from your Google Sheets URL |
GMAIL_USER |
Gmail address used to send the digest |
GMAIL_APP_PASSWORD |
Gmail App Password (not your account password) |
RECIPIENT_EMAIL |
Email address that receives the digest |
LINKEDIN_USER_NAME |
Your full name as it appears on LinkedIn |
FOLLOW_UP_DAYS |
Days before a cold outreach needs a follow-up (default: 14) |
LINKEDIN_FOLLOW_UP_DAYS |
Days before a LinkedIn message needs a follow-up (default: 7) |
DRY_RUN |
Set to true to print the email to stdout instead of sending it |
Run this once to capture your LinkedIn session:
python scripts/fetch_linkedin.py --capture-cookiesLog in to LinkedIn in the browser window that opens. The cookies are saved to data/.linkedin_session.json. This file is excluded from git.
# Scrape your LinkedIn messages and update the sheet
python scripts/fetch_linkedin.py
# Build and send the digest email
cd src
python main.py
# Test without sending email
DRY_RUN=true python main.pyThe bot runs silently in the background via a Task Scheduler task that calls run_daily.vbs, which launches run_daily.bat with no console window.
To set it up:
- Open Task Scheduler → Create Task.
- Set the trigger to Daily at your preferred time.
- Set the action to run
run_daily.vbs. - Enable "Run task as soon as possible after a scheduled start is missed" so it catches up if your PC was off.
The included daily_digest.yml workflow can run the email digest portion via GitHub Actions if you prefer cloud scheduling. Add the same environment variables as GitHub Actions secrets to use it.
The spreadsheet must have these column headers (exact spelling):
| Column | Description |
|---|---|
Company |
Company name |
Tier |
Priority tier (1 = highest) |
Priority |
Numeric score within the tier |
Referral Contact |
LinkedIn profile URL of your contact |
Cold Messaged? |
Yes once you have sent a message |
Last Outreach Date |
Date of the most recent message (YYYY-MM-DD) |
fetch_linkedin.py uses Playwright (headless Chromium) and your saved session cookies to:
- Load each contact's LinkedIn conversation thread.
- Extract message content and timestamps.
- Write results to
data/linkedin_messages.csv. - Update
Last Outreach DateandCold Messaged?in the sheet.
- Never commit
.env,data/.linkedin_session.json, ordata/action_log.json. These are excluded by.gitignore. - The
LINKEDIN_COOKIESsecret gives full access to your LinkedIn account. Keep it private. - GitHub Actions secrets are masked in all logs.