Two automations that run my own business: hot leads into a sheet every hour, and tasks given by voice that an AI agent carries out.
- Client
- Kuraib Ali (in-house build)
- Sector
- Own business · workflow automation
- Timeframe
- October 2026 onward
- Engagement
- In-house: built and run for my own business, not a client project
The hourly hot-leads sync
An hourly job that moves new hot leads into a Google Sheet, each stored once.
- Every hourThe scheduler calls the jobThen: Asks
- Outreach platformLeads that turned hot since the last runThen: New leads
- StoreEach lead stored once, oldest firstThen: Stored
- Google SheetOne formula imports them; new rows land at the bottomThen: Read
- MeI follow up from the sheet
The voice desk: a spoken task, a PIN check, then an AI agent routine that emails me a report.
In my own business, a scheduled job pulls new hot leads from my outreach platform every hour and stores each once, and a Google Sheet imports them with one formula. A voice desk lets me give a task by speaking: after a PIN check it goes to an AI agent, which does the work and emails a report. Both are in-house builds.
The situation
Two jobs in my own business kept needing my hands.
Leads that replied warmly to my outreach would sit in one platform, and I did not want to copy them into a sheet by hand to follow them up. And ideas for work on my site came to me away from the desk, where I could not start them. I built one automation for each, with the checks a client system would need: secrets kept on the server, a lock on wrong attempts, and a record of what ran. This is in-house work for my own business, not a client project.
The move
- 01
Hot leads into a sheet, every hour. A scheduled job on Vercel asks my outreach platform for leads that turned hot since its last run, keeps those from this site’s project, and stores each one once in Redis, oldest first. The Google Sheet holds a single IMPORTDATA formula that returns every stored lead as a table, so new rows only ever land at the bottom and my own notes in the columns beside them stay in line. The job answers only to the scheduler’s secret or the sheet’s key.
- 02
Tasks by voice. I talk to an ElevenLabs voice agent from my phone. It reads the task back and asks for a PIN, then calls a small bridge on my site. The bridge checks a shared secret, the PIN and, when set, the caller’s number, and hands the task to a Claude Code routine, which does the work and emails me a report. The routine is told whether I confirmed risky steps, such as publishing or sending to new people, with a clear yes on the call; without that yes it prepares the work and does not publish.
- 03
Guard the doors. Five wrong PINs in 15 minutes lock both voice endpoints, and every attempt is counted before it is checked, so a burst of parallel calls cannot slip past the limit. Secrets live only in the hosting environment, never in the code. The voice desk’s two check scripts run with every test run.
What changed
States of the system, not metrics. These are things that either were or were not true, so they can be stated without claiming a result.
| After | ||
|---|---|---|
| A lead that replies warmly to outreach | Would have meant copying into a sheet by hand | Stored within the hour, shown at the sheet’s next refresh |
| My notes beside each lead | Would shift if rows were pasted in | Stay in line: new rows land at the bottom |
| A task idea away from the desk | Waited until I was back at the laptop | Spoken to the voice desk and started |
| A wrong PIN | Not applicable | Counted; five in 15 minutes lock the desk |
| Publishing or sending from a voice task | Not applicable | Only after a clear yes on the call |
What shipped
- Hourly hot-leads sync from my outreach platform into Redis, each lead stored once
- Google Sheet fed by one IMPORTDATA formula, new rows only at the bottom
- Voice desk bridge: shared secret, spoken PIN and optional caller check
- Hand-off of spoken tasks to an AI agent routine that emails a report
- Risky steps held unless confirmed on the call
- Wrong-PIN lock: five tries, then 15 minutes
- Notes-only voice endpoint that emails a task list without running anything
What this build was held to, and how each item was checked.
- Hot-leads sync schedule
- Hourly
- Cron in vercel.json, every hour on the hour; every 10 minutes until 22 Oct 2026
- Copies of one lead in the sheet
- One
- A Redis set check runs before a row is added (api/hot-leads-sync.js)
- Wrong-PIN lock
- 5 tries, 15 min
- Server-side rule in api/voice.js and api/voice-notes.js
- Voice desk checks
- All passing
- scripts/voice-api-test.mjs and scripts/voice-notes-test.mjs, part of npm test, run 29 Nov 2026
- First voice task
- Ran end to end
- Work log, 12 Oct 2026: a homepage audit task given by voice ran end to end, and two of its fixes went live
- Automated tests for the sheet sync
- None yet
- No test file covers api/hot-leads-sync.js yet
Each row is a property of the system, read from the code, its config, its tests or a dated work-log entry. These are in-house builds for my own business, not client projects: no time-saved figure is published.
Questions about the workflow automation
Is this a client project?
How does the hot-leads sync work?
What is the voice desk?
What stops someone else from using it?
Is it tested?
Related services and reading
Next project
Relegance Properties (in-house)
One Dubai project, two audiences in Saudi Arabia: investors came in cheaper than family buyers.
Copying the same data between tools every day? Tell me which tools and what moves between them.
hello@kuraib.site