Inspiration

It's hard to track who signs up and spot potential enterprise leads manually. Most signups go unnoticed, especially if it's someone from a high-value company.

What it does

LeadAgent runs in the background during user signup. When someone authenticates, it extracts company information from their email domain. If the company meets your target criteria (like specific industries), it stores the lead in DynamoDB and instantly alerts you using Amazon SNS.

How we built it

  1. User signs up using AWS Cognito
  2. That triggers a Lambda function
  3. It extracts the email, filters out personal domains like Gmail
  4. Then it hits the Apollo API to get company data like industry, size, and location If the company matches your target keywords like "sports ", finance". LeadAgent saves the lead to DynamoDB and sends you an email alert via SNS

It’s built entirely on AWS: Cognito, Lambda, DynamoDB, and SNS - serverless, low-cost, and reliable :)

Challenges we ran into

  • Figuring out how to read data correctly from Cognito events

Accomplishments that we're proud of

  1. Fully serverless and real-time lead detection

  2. Fast to set up and lightweight

  3. Built by me as a solo developer from scratch in a short time

What we learned

How to use AWS Lambda triggers with Cognito, and how simple it is to automate complex workflows with serverless architecture

What's next for LeadAgent

  • Slack alerts with lead gen information
  • Auto-email leads with intro messages
  • Build a dashboard to view all leads in one place
  • Add more filters like company size or location
  • Turn this into a plug-and-play tool for any SaaS product

Built With

Share this project:

Updates