Event finder for lead generation
An agent that searches for business events where target clients will be, scores each one against what we sell, and puts the good ones on the calendar.
- Role
- Sole developer
- When
- Mar 2026
The problem
Conferences and industry meetups are one of the best places to meet IT decision makers, but finding the right ones means searching by hand, city by city and industry by industry, then judging whether each event is worth a day out of the office.
What I built
An agent that does the search and the first pass of judgment. For each target market, such as healthcare in Dallas, it writes search queries, finds upcoming events, has Gemini score each one from 1 to 10 against the services we sell, and posts the events scoring 7 or higher to Discord and Google Calendar.
How it works
- Markets and services are plain config. Gemini turns each market into search queries aimed at event listings.
- Tavily returns current results. Gemini scores them in one batch per market, with a written reason for each score, and is told today's date so it favors the next three months.
- Events at 7 or above go to a Discord channel and become Google Calendar entries with the reason and link attached.
- A history file records every event already sent, so a recurring run never alerts on the same event twice.
What broke and how I caught it
The first version put every event on the calendar on the same day. Gemini returns dates in whatever form the web page used, like "Spring 2026" or "TBD", and the calendar API needs an exact date. My first pass used a placeholder date when it couldn't parse one, and the calendar showed every event stacked on March 20.
Now the prompt asks for YYYY-MM-DD, and only a date in that exact form is used. Anything else goes on today's date with "DATE TBD - PLEASE VERIFY" in the title, so a guessed date is never presented as a real one. I also changed duplicate detection to match mainly on the event's URL, since the same event's name and date came back worded differently between runs.
Result
- 29 events scoring 7 or higher found and sent so far.
- One of them turned into a sales lead.
Built with
Built with Python, Gemini, Tavily, Google Calendar API, Discord webhooks