AI Agents

AI voice chat using Webhook, OpenAI, and Google Gemini

15 nodes 217 157 Webhook
Download

Workflow Description

An automation workflow that receives voice chat requests via Webhook and processes them using multiple AI models (OpenAI and Google Gemini), maintaining conversation context and memory for advanced, persistent dialogues.

How it works

  1. 1.Receive voice request through Webhook and identify the target AI model
  2. 2.Store conversation context and previous messages in dialog memory
  3. 3.Process the request through LLM chain with the selected model
  4. 4.Return the generated response via Webhook
  5. 5.Enforce rate limits to protect server from excessive requests
  6. 6.Update conversation memory with the new interaction

Use cases

  • Build an intelligent multilingual voice assistant leveraging different models flexibly
  • Integrate advanced conversations in customer applications while preserving interaction history
  • Create a customer support chatbot that remembers previous user interactions

Requirements

  • Valid API keys for both OpenAI and Google Gemini
  • Available server capable of receiving and responding to Webhook calls
  • Sufficient memory configuration for storing multiple conversation contexts

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Memory Gemini LLM Chain OpenAI

Details

Trigger Webhook
Nodes 15
Apps 4
Views 217
Downloads 157

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (15)

/

Get Chat

Memory Manager

#1

Insert Chat

Memory Manager

#2

Sticky Note5

Sticky Note

#3

Sticky Note

Sticky Note

#4

Aggregate

Aggregate

#5

Window Buffer Memory

Memory Buffer Window

#6

Google Gemini Chat Model

Gemini Model

#7

Respond to Webhook

Webhook

#8

ElevenLabs - Generate Audio

HTTP Request

#9

Sticky Note2

Sticky Note

#10

Sticky Note1

Sticky Note

#11

Limit

Limit

#12

Basic LLM Chain

LLM Chain

#13

Webhook

Webhook

#14

OpenAI - Speech to Text

OpenAI

#15