linkedin-connection-agent
Installation
SKILL.md
LinkedIn Connection Agent
Fetches LinkedIn connection request results from a PhantomBuster agent, calculates acceptance metrics, and stores analytics in the database. Runs as a daily cron job via Modal.
What It Does
- Calls PhantomBuster API to get latest LinkedIn connection results
- Downloads structured JSON profile data from S3
- Calculates metrics: total sent, accepted, pending, acceptance rate
- Stores aggregate stats and individual profiles in
linkedin_agent_datatable - Tracks status changes (e.g., "Invitation sent" → "Request accepted")
How to Run
Local
# View analytics only
python3 skills/linkedin-connection-agent/scripts/linkedin_connection_agent.py --analytics