Case study · Lead generation & CRM

advert.cafe: Find Leads, Reach Out, Track What Works

advert.cafe finds businesses on the web, collects their contact details and screenshots of their sites, and tracks the outreach to them: calls, emails, page visits and ad conversions, per client.

Code areas
24 domains
Backend tests
About 2,100
Services in production
About 38
Leads found
10,000+
01 · The challenge

Selling to businesses means a lot of manual digging

Finding new business customers is slow work. You search for companies in an area, open their websites one by one, copy phone numbers and emails into a spreadsheet, make the calls, and then have no idea whether anyone looked at what you sent. Do that for several clients at once and the spreadsheets multiply.

advert.cafe was built for exactly that job: find the leads, see their websites, keep the calls and recordings in one place to improve the pitch, and know who actually opened a link.

02 · What we built

One tool from first search to closed deal

Everything is organised per client, so one person can run outreach for several businesses without mixing them up.

  • Lead discovery from Google Places, by search term and location.
  • Website crawling with our own crawler, CrawlFast: it visits each lead's site, follows the sitemap, pulls contact details and takes screenshots, which also make quick demos for a pitch.
  • Leads, calls and recordings in one place, with outreach campaigns and email sent through SMTP2GO.
  • advert.cafe.js, a tracking script: device and location, engagement, first-touch to last-touch attribution, funnels, consent mode, and an analytics dashboard. Every lead gets its own tracking link, so you see who visited.
  • Google Ads: connect an account, push campaigns and upload offline conversions back to Google.
  • Cost billing per client across AI, search and data providers, plus browser extensions for Chrome and Firefox.
03 · How

How it is built and run

Architecture

A Flask and FastAPI backend on PostgreSQL, split into 24 domains (leads, outreach, crawling, SEO, competitors, ads, analytics, billing and more), and a Next.js frontend. Crawling runs on Playwright in separate workers, and a vision model reads screenshots. Work moves between services over Redis publish/subscribe. The crawler can also run on extra machines, from laptops to a Raspberry Pi, managed by a small command-line tool.

AI features use OpenAI and Anthropic models; search and SEO data come from Serper and DataForSEO.

The Google Ads link closes a loop that most small businesses never close. When a lead becomes a customer offline, on a call or in a meeting, advert.cafe sends that conversion back to Google Ads, so the ads learn which clicks brought paying customers and not just visits.

How it grew

advert.cafe was several projects before it was one product. CrawlFast, the crawler, started in November 2025 as a project of its own. In June 2026 the crawler, the backend, the frontend and the workers were merged into one monorepo, and it has had almost 1,200 commits since. The tracking script was built in six tiers, from basic visits up to ad conversions, and all six were finished and tested against simulated traffic in July 2026.

Testing and hosting

About 2,100 backend tests in 280 files. On top of them, 22 architecture tests act as ratchets: a locked list of every route and rules about how domains depend on each other, so the codebase cannot quietly get worse. GitLab CI runs architecture, test, build, deploy and security stages.

Production is one hardened DigitalOcean server behind Caddy that serves eight hostnames and about 38 services, most of them workers and scheduled jobs, deployed with operations.do.

FlaskFastAPIPostgreSQLNext.jsPlaywrightRedisGoogle Ads APIGitLab CI
04 · The result

A sales tool we use ourselves

advert.cafe is live, and we use it on our own business: the contact form on this website is advert.cafe's contact widget. Its scheduled work now runs on jobs, our shared job platform.

It has found 10,000+ leads for 3 clients.

If you sell to businesses and your leads live in spreadsheets, this is the kind of tool we build.