← All N8N workflows
AI & researchFilterGmailGoogle SheetsGoogle Sheets TriggerHTTP Request

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

Configured with Filter, Gmail, Google Sheets, Google Sheets Trigger, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerDetect new lead inGoogle SheetsGoogle Sheets TriggerMessagingSend SMS reminder tocall lead in 5 minutesTwilioWaitWait 5 minutes beforemaking callWaitWeb / APICall new lead usingRetellAIHTTP RequestTriggerReceive inbound callfrom RetellAI (webhook)WebhookData storeCheck if phone numberexists in Google SheetsGoogle SheetsWeb / APISend response toinbound webhook callRespond To WebhookTriggerReceive post-call datafrom RetellAI (webhook)WebhookRoutingFilter for analyzedcalls onlyFilterRoutingCheck if call wasoutboundIfData storeUpdate lead record inGoogle SheetsGoogle SheetsMessagingSend call summary emailGmailAI & modelsGenerate call summarywith OpenAIOpen AiMessagingSend confirmation emailto leadGmail

Node categories in this workflow

  • Trigger
  • Messaging
  • Wait
  • Web / API
  • Data store
  • Routing
  • AI & models

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Detect new lead in Google SheetsTriggerGoogle Sheets TriggerSee node parameters
Send SMS reminder to call lead in 5 minutesMessagingTwiliocall
Wait 5 minutes before making callWaitWaitSee node parameters
Call new lead using RetellAIWeb / APIHTTP RequestPOST
Receive inbound call from RetellAI (webhook)TriggerWebhookSee node parameters
Check if phone number exists in Google SheetsData storeGoogle SheetsSee node parameters
Send response to inbound webhook callWeb / APIRespond To WebhookSee node parameters
Receive post-call data from RetellAI (webhook)TriggerWebhookSee node parameters
Filter for analyzed calls onlyRoutingFilterSee node parameters
Check if call was outboundRoutingIfSee node parameters
Update lead record in Google SheetsData storeGoogle Sheetsupdate
Send call summary emailMessagingGmailSee node parameters
Generate call summary with OpenAIAI & modelsOpen AiSee node parameters
Send confirmation email to leadMessagingGmailSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • gmailOAuth2
  • googleSheetsOAuth2Api
  • googleSheetsTriggerOAuth2Api
  • openAiApi
  • twilioApi

Workflow notes

✅ General Workflow Explanation

✅ General Workflow Explanation

This workflow automates outbound and inbound lead calls with RetellAI, Google Sheets, OpenAI, and Gmail. It handles:

Scheduling and reminding outbound qualification calls Handling inbound appointment calls Automatically updating records and sending summaries post-call

👉 Dependencies:

Active RetellAI API key Google Sheet set up with lead data Gmail API credentials configured

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

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

Purpose and structure

This folder contains the Build a Phone Agent to qualify outbound leads and inbound calls with RetellAI -vide workflow. Its executable nodes use filter, gmail, googleSheets, googleSheetsTrigger, httpRequest, if, openAi, respondToWebhook, twilio, wait, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Detect new lead in Google Sheets, Receive inbound call from RetellAI (webhook), Receive post-call data from RetellAI (webhook)

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Wait/1362_Wait_Webhook_Create_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Outbound lead qualification call workflow
  • Inbound call appointment scheduler workflow
  • Post-call workflow

More in AI & research