DEV Community

Cover image for #AllThingsAgenticHackathon Building Annya Leads: From Hackathon Idea to Agentic Lead Generation System
Evans Ansong
Evans Ansong

Posted on

#AllThingsAgenticHackathon Building Annya Leads: From Hackathon Idea to Agentic Lead Generation System

This blog post was created for the purpose of entering the #AllThingsAgenticHackathon. The goal was to showcase how an agentic workflow can solve a real business challenge: turning raw inbound leads into qualified opportunities with speed, accuracy, and intelligent routing.

Why this project exists

Modern sales teams are flooded with leads from many sources: web forms, outbound campaigns, partner referrals, and marketing automation. The real challenge is not only collecting leads, but also deciding which ones deserve attention, how quickly they should be followed up, and which team or workflow should handle them.

In many organizations, this process is fragmented, manual, and inconsistent. Leads often arrive with incomplete data, unclear intent, and no clear path to conversion. That is the problem Annya Leads set out to solve.

Our project combines lead enrichment, lead scoring, and agentic orchestration into a single, practical system. The result is a workflow that can intake new leads, enrich them with missing context, assess their likelihood of conversion, and route them to the right next step automatically.

The design approach

At the core of this project is a simple idea: let intelligent agents handle the work that requires judgment, while keeping the system structured, traceable, and operationally reliable.

We built a workflow in which a lead is received, enriched with relevant business and contact context, validated, scored, and routed according to business logic and AI-assisted evaluation. The system is designed not just to generate insights, but to support action.

The architecture is organized around several key components:

  • A lead enrichment and scoring service that improves data quality and prioritizes opportunities
  • A routing and orchestration layer that selects the correct workflow or agent for each lead
  • A registry of agents and policies that defines how work is assigned across the system
  • Security and identity controls that help protect lead data and system trust
  • API routes and schemas that make the platform easy to integrate with broader sales and marketing tools

This modular structure allowed us to move quickly during the hackathon while still producing a solution that is understandable, scalable, and practical.

Building the system

1. Defining the business problem

We began by identifying the core bottleneck: the gap between lead capture and effective sales action. Too often, teams receive leads but do not have a consistent way to prioritize them, enrich them, or determine the right follow-up path.

We wanted to build a system that could do more than score a lead. We wanted a system that could understand context, act on quality signals, and decide where the lead should go next.

2. Creating the lead enrichment and scoring layer

The heart of the project is the enrichment and scoring pipeline. We built a worker that evaluates incoming leads using a combination of domain rules, external enrichment signals, and AI-assisted assessment.

This matters because raw lead data is often incomplete. A lead may have a name, email address, or form submission, but still be missing the information needed to assess buying intent, company fit, or urgency. By enriching the record with firmographic details, company signals, and behavioral context, the system can make sharper decisions.

Enrichment is therefore not an optional add-on; it is a critical part of the system's value proposition. The more complete and contextual the lead information is, the better the scoring and routing logic becomes. In practice, this improves lead prioritization and helps sales teams focus on the right opportunities faster.

3. Agent orchestration and routing

Once a lead is enriched and scored, the next challenge is deciding what to do with it. We implemented an orchestration model in which agents are registered and selected based on capabilities, policy, and business context.

This creates a flexible framework where the system can route leads to different workflows depending on quality, urgency, geography, or buyer intent. Rather than relying on rigid, hard-coded logic, the platform can reason over lead context and direct work to the best appropriate action.

That is where the power of an agentic architecture becomes clear. Instead of a simple workflow, the system behaves more like an operational coordination layer: understanding the lead, evaluating its potential, and deciding the best next move.

4. Security and trust

Because the system works with lead data and decision-making logic, security was built in from the beginning. We included identity validation, rate limiting, secure request handling, and structured error management to ensure that the system remains dependable and safe to operate.

These safeguards matter because the goal is not only to show that AI can act intelligently, but also to demonstrate that it can do so in a way that is responsible and production-minded.

5. API and integration layer

To make the system useful beyond a prototype, we exposed it through APIs and typed schemas. This allowed the project to accept incoming lead data, process it through the enrichment and scoring pipeline, and return actionable outputs to downstream systems.

The result is a platform that can integrate with tools such as n8n, CRMs, and marketing automation platforms. That matters because the real value of a lead system is not simply in the model; it is in how smoothly it fits into existing business workflows.

Why this project matters

Annya Leads is compelling because it translates an AI concept into a practical operational workflow. It is not just a chatbot or an isolated demo. It is a working lead pipeline designed to improve sales execution through enrichment, scoring, and intelligent dispatch.

The project demonstrates several core strengths:

  • It reduces lead handling friction across the pipeline
  • It enriches incomplete records before decisions are made
  • It prioritizes leads based on intelligence and policy
  • It automates routing decisions with clearer logic and accountability
  • It creates a foundation for more advanced sales automation
  • It shows how AI agents can operate inside a secure, business-friendly architecture

Lessons from the build

Building this project under hackathon conditions taught us a lot about balancing speed and structure. The strongest solutions are not always the most complex; they are often the ones with a clear purpose, modular design, and enough flexibility to evolve.

A few lessons stood out throughout the process:

  • Start with the business problem, not just the AI feature set
  • Keep the architecture modular so teams can iterate quickly
  • Use policy and routing to make AI decisions more accountable
  • Build security and observability in from the start
  • Design for integration so the system fits into existing workflows

Final reflection

Annya Leads was created as a practical experiment in agentic operations for sales growth. It combines lead enrichment, lead scoring, intelligent routing, and orchestration into a single concept that aligns with the spirit of the #AllThingsAgenticHackathon: showing how AI agents can transform business workflows in a meaningful, scalable, and measurable way.

This project is a strong example of how emerging AI patterns can move beyond experimentation and become operational value. With the right architecture, even a hackathon project can illustrate a real-world framework for automation, decision support, and smarter business execution.


This content was created for the purpose of entering the #AllThingsAgenticHackathon.

For a complete project architecture, visit the project repository
Github access request: Gray@instantroam.com
Live Demo Video

Top comments (0)