clay.30apps.dev

Shipped private

A suite of five PHP REST APIs that wrap OpenAI and Google Maps services to provide business intelligence for sales prospecting.

Repository

7 commits over 1 day

What it is

This project is a collection of PHP REST endpoints designed for B2B sales workflows, particularly targeting privacy/compliance outreach at financial services firms. The five APIs provide: domain name generation, revenue estimation, LinkedIn profile scoring against buyer personas, restaurant location counting via Google Maps, and AI-based chain location estimation. Each endpoint takes structured company or contact data and returns JSON with an AI-generated answer plus confidence score and reasoning.

Why I built it

Built to support sales automation and prospect enrichment, likely for use with Clay or similar data-enrichment platforms. The context docs (clayprompt.md, contact.md) and CSV files suggest this is a working tool for qualifying leads in the privacy/compliance software space, automating tasks like estimating company size or matching LinkedIn profiles to ideal customer personas.

Tech stack

PHP 7.4+ with cURL and JSON extensions, OpenAI GPT-4o/GPT-5 for AI analysis, Google Maps Places API for geolocation, Composer for dependency management, and GitHub Actions for CI/CD deployment to an unspecified host (Procfile suggests Heroku-compatible runtime).

Timeline & effort

Last active Oct 3, 2025 — 7 commits across 1 active day (spanning 0 days).

Implemented in a single evening (7 commits across 23 minutes on Oct 3, 2025), indicating rapid, focused development. This was likely built by stitching together existing patterns or boilerplate and configuring multiple API integrations in one session.

Did it turn out useful?

The repo has a production-ready structure with CI/CD, test HTML interfaces for all five endpoints, detailed README with usage examples, and references to a live base URL (clay.30apps.dev). Context docs and CSV files show active use for real prospecting workflows. Despite minimal commit history, the comprehensive documentation and deployment config signal this is a live, working tool suite.

#sales-automation #business-intelligence #openai-api #php-rest-api #lead-enrichment #privacy-compliance