← All agents

AI & research · One purpose, multiple implementations

Build a Phone Agent to qualify outbound leads and inbound calls with RetellAI -vide

Adapt the published “Build a Phone Agent to qualify outbound leads and inbound calls with RetellAI -vide” workflow to other implementations while preserving its documented behavior.

The source contains 14 executable nodes and 11 connections. This draft is derived from the n8n export; it needs a human-reviewed purpose, input/output contract, and behavioral tests before a port can claim equivalence.

Open agent files on GitHub ↗

Shared workflow

This initial Mermaid diagram shows observed connections from the n8n source, including model and tool dependencies. Unresolved connections are listed under Evidence. It is a starting point for the shared design; it does not execute the agent or establish correctness.

Rendering the workflow diagram…

Read the Mermaid source
flowchart LR
  n0["Detect new lead in Google Sheets"]
  n1["Send SMS reminder to call lead in 5 minutes"]
  n2["Wait 5 minutes before making call"]
  n3["Call new lead using RetellAI"]
  n4["Receive inbound call from RetellAI #40;webhook#41;"]
  n5["Check if phone number exists in Google Sheets"]
  n6["Send response to inbound webhook call"]
  n7["Receive post-call data from RetellAI #40;webhook#41;"]
  n8["Filter for analyzed calls only"]
  n9["Check if call was outbound"]
  n10["Update lead record in Google Sheets"]
  n11["Send call summary email"]
  n12["Generate call summary with OpenAI"]
  n13["Send confirmation email to lead"]
  n9 -->|"main out 0 to in 0"| n10
  n9 -->|"main out 1 to in 0"| n12
  n8 -->|"main out 0 to in 0"| n9
  n0 -->|"main out 0 to in 0"| n1
  n12 -->|"main out 0 to in 0"| n13
  n2 -->|"main out 0 to in 0"| n3
  n10 -->|"main out 0 to in 0"| n11
  n1 -->|"main out 0 to in 0"| n2
  n4 -->|"main out 0 to in 0"| n5
  n5 -->|"main out 0 to in 0"| n6
  n7 -->|"main out 0 to in 0"| n8
Read the specification and unresolved requirements ↗

Implementations

Each implementation shares the agent’s purpose. Available source, planned ports, and verified results are labeled separately.

Plain Python

Planned · no code yet

Read the implementation plan ↗

Pydantic AI

Planned · no code yet

Read the implementation plan ↗

CrewAI Flow

Planned · no code yet

Read the implementation plan ↗

CrewAI Crew

Planned · no code yet

Read the implementation plan ↗

LangGraph

Planned · no code yet

Read the implementation plan ↗

Build or operate with an assistant

Each prompt includes separate build and operating instructions tailored to this agent. They are untested instructions, not working implementations. Check the chosen product’s actual capabilities before using it.

Evidence and remaining work

The bulk collection has publication checks, not live-service testing. Diagrams and prompts are documentation. A port needs reviewed schemas, fixtures, actual execution results, and explicit limits before claiming equivalent behavior.

  • Define input/output schemas and expected outputs.
  • Review source expressions, external actions, and failure behavior.
  • Determine whether model judgment is required or deterministic rules suffice.

Curated by Nik Bear Brown. Preserve each implementation’s original attribution and license. These source templates are separate from the audited Claude directory.