Duck
Tutorials7 min read

Learn Agentic AI: Build Your Own Automation Engine

Samet Turan— Editor··7 min read

Step-by-step guide to building agentic AI workflows for solopreneurs, with real prompts, tool picks, and a free blueprint to skip the build for under $30/mo.

Learn Agentic AI: Build Your Own Automation Engine

If you want to learn agentic ai, you’ve probably seen tutorials that leave you staring at a blank prompt and wondering how to turn it into real work. After reading this, you’ll know how to string together LLMs, tools, and simple logic to create a working agent that can fetch leads, draft emails, and update a spreadsheet—all without writing code. I’ll show you the exact pieces I use in my own solo operation.

What most guides get wrong about agentic AI

Most guides treat agentic AI like a magic button. They tell you to plug a prompt into a platform and watch the money roll in. In reality, an agent is just a loop of observation, decision, and action that needs clear boundaries. If you skip defining those boundaries, the agent will either do nothing or run wild, burning API credits on useless loops.

Another common mistake is focusing on the model alone. The model is only the brain; you still need hands and eyes. Those hands are the tools you connect—email senders, scrapers, spreadsheets. Without them, the agent can think but cannot act.

Finally, many guides ignore cost. They assume unlimited free runs. In practice, each LLM call, each API hit, each tool operation adds up. If you don’t monitor usage, a seemingly cheap workflow can spike your bill fast.

How to pick the right tools for a no‑code agent stack

You need three layers: a trigger, a reasoning engine, and an action hub. For the trigger, I use Make (formerly Integromat) because it can watch a webhook, a schedule, or a Google Sheet change without writing code. For the reasoning engine, I rely on Claude 3 via its API—its long context helps keep the agent on track. For the action hub, I combine Airtable for data storage and Gmail for outreach.

Make’s free tier gives you 1,000 operations a month, which is enough for a light test but runs out fast once you start scraping leads. The paid Core plan at $29/mo provides 10,000 operations, and I find that fair for a solo operator handling a few dozen leads per day. (Yes, the jump from free to paid feels steep, but the extra headroom prevents mid‑month throttling.)

Airtable’s free plan lets you store up to 1,200 records, which suits a small lead list. I love its built‑in webhook trigger—when a record changes, it can ping Make instantly, eliminating the need for constant polling. That tiny feature saves me roughly fifteen minutes a day.

Gmail’s API is generous; you can send 500 emails a day on a free Google Workspace trial, which is plenty for early outreach. If you outgrow that, switching to SendGrid adds cost but keeps deliverability high.

Reader‑question: How do you handle errors when your agent fails mid‑flow?

Errors are inevitable. The worst scenario is a silent failure where the agent thinks it succeeded but nothing happened. In Make, each module has a log that shows success or error status, but you have to open each module individually to see it—a gripe I have with the platform: the error overview is buried.

My fix is simple: add a “Set variable” module after every critical step that writes a status flag to an Airtable table. Then I create a separate scenario that watches that table for any flag marked “error” and sends me a Slack alert. This way, I catch problems without digging through logs every time.

If the LLM returns a malformed JSON, I wrap the call in a try‑catch block using Make’s “Router” module. On failure, I route to a fallback that asks the model to re‑format the prompt. This pattern has cut my retry loops from five attempts to usually one or two.

Building the agent step by step

  1. Create a new scenario in Make and set the trigger to “Webhook”. Copy the generated URL.
  2. In Airtable, make a table called Leads with fields: Name, Email, Company, Status, and Last Contact. Enable the “Webhook” trigger on this table and point it to the Make webhook URL.
  3. Add an HTTP module to call Apollo.io’s API (you’ll need an API key) to enrich a new lead with company size and tech stack. Map the response to the appropriate Airtable fields.
  4. Insert a Claude 3 API module. Prompt it: “You are a sales copywriter. Write a cold email that is under 150 words, friendly, and includes a clear call to action to book a 15‑minute chat. Use the lead’s name and company.” Pass the enriched lead data as variables.
  5. Take the output from Claude and feed it into a Gmail “Send Email” module. Set the recipient to the lead’s email, the subject to “Quick question about {{Company}}”, and the body to the generated copy.
  6. After the email sends, update the Airtable record: set Status to “Emailed” and Last Contact to today’s date.
  7. Finally, add a Slack module that posts a message to #sales‑ops with the lead’s name and a link to the Airtable record, so you have a quick audit trail.
  8. Save the scenario, turn it on, and test by manually creating a record in Airtable. Watch the flow run end‑to‑end.

Real‑world example: lead‑to‑email pipeline with actual prompts and costs

Let’s walk through a concrete run I did last week. I added a lead for “Acme Corp” via a Zapier automations‑free form that pushes into Airtable. The webhook fired Make, which called Apollo.io. The enrichment returned: 150 employees, uses Salesforce and HubSpot’s CRM.

The Claude prompt I used was exactly as written in step four above. The model returned:

Hi Alex,

I noticed Acme Corp is scaling its sales stack and thought you might find value in a tool that automates follow‑ups without adding manual work. I’ve helped teams like yours cut response time by 40% while keeping the personal touch. Would you be open to a 15‑minute chat next week to see if it fits?

Best,
Jordan

I sent that via Gmail. The email landed in the primary tab, not promotions, and got a reply within two hours.

Cost breakdown for this single lead:

  • Apollo.io enrichment: $0.001 (included in their free tier up to 100 credits)
  • Claude 3 API call: ~$0.0008 for 150 tokens
  • Make operation count: 4 modules triggered (webhook, HTTP, Claude, Gmail, Airtable update, Slack) = 6 operations
  • Make Core plan: $29/mo ÷ 10,000 ops = $0.0029 per op → 6 ops ≈ $0.017
  • Airtable and Gmail: free within limits
  • Slack: free

Total: under $0.02 per lead. At that rate, I can process 1,500 leads for the same $29 monthly fee, which feels like a solid ROI.

How to debug when this breaks

First, check the Make scenario history. Click the most recent run and look for any red modules. If you see a red HTTP module, the error is likely in the Apollo.io call—verify your API key and rate limits.

If the Claude module shows a red flag, inspect the input and output tabs. A common issue is the model returning plain text instead of JSON when you asked for structured data. Fix by tightening the prompt: add “Return only JSON with fields subject and body.”

If the Airtable update fails, make sure the record ID you’re passing actually exists. A missing ID usually means the webhook didn’t fire correctly—double‑check the trigger settings in Airtable.

Finally, if you’re not getting Slack alerts, verify that the Slack module’s connection token hasn’t expired. Make will show a connection error in the module config.

When in doubt, enable Make’s “Debug mode” for the scenario. It logs each step’s input and output in real time, letting you see exactly where the data diverges from expectation.

One tip I’ve learned the hard way: always keep a backup scenario that simply logs the raw webhook payload to a Google Sheet. That sheet becomes your source of truth when you need to reconstruct what the agent received.

If you want the deep cut on this, deeper coverage of AI agent platforms.

Now you have a working agent, a clear cost picture, and a debugging playbook. If you’d rather skip the build and deploy a working version in an afternoon, we’ve packaged this workflow as a blueprint at deepusecase.com/vault.

— The Colophon

One AI tool. Tested. Reviewed.
In your inbox every Sunday.

~3 minute read. Real outcomes from operators, not marketers.

Free. One email per Sunday. Unsubscribe in one click.