💼 Build an AI agent in a morning that finds key contacts for your integrations
I built an AI agent that finds LinkedIn contacts for B2B projects and saves them in Notion. Here’s how it works so you can do it too.
Hey friends 🌟,
If you’re building integrations, the right relationships matter—whether it’s with ecosystem partners, influencers, or partnership leaders. Finding those people can take time, but it doesn’t have to.
Earlier this week, I built an AI agent to help with this in one morning. It finds LinkedIn contacts for B2B projects and saves the results in Notion.
Here’s how it works. I used Python, Agency Swarm, Selenium (and Cursor for AI-powered coding). Swipe the format to build something similar.
1. Log into LinkedIn
The tool uses Selenium to log into LinkedIn. It pulls credentials from environment variables and navigates the login process programmatically.
2. Search for Contacts
Generates a search URL based on the keywords and filters I provide, such as job titles or industries. It visits the LinkedIn search page and parses the results to extract:
Name
Title
Company
Mutual connections
Profile URL
3: Extract Key Information
Limits the results to a small, relevant set (e.g., the top five profiles) to keep the output manageable and actionable.
4: Store Results
Saves extracted information into a Notion table,for follow-ups. Each entry includes:
Contact name
Job title
Company
Mutual connections
Profile link
Keywords used in the search
The result is a targeted contact list that is ready in minutes.
And that’s it! What are your favorite AI-powered workflows? For the full guide, check it out here.
Cheers,
Lola

