AI Voice Chat: Webhook, Memory Manager, OpenAI, Google Gemini & ElevenLabs

n8n AI Product Customer Support

Contributed by Sabrina Ramonov 🍄. From the community directory at agents.sabrina.dev, republished with permission and full credit.

Who is this for?

This workflow is designed for businesses or developers looking to integrate voice-based chat applications with dynamic responses and conversational memory.

What problem does this solve?

It automates AI-powered voice conversations, maintaining context between sessions and converting speech-to-text and text-to-speech.

What this workflow does:

The workflow receives audio input, transcribes it using OpenAI, and processes the conversation using Google Gemini Chat Model (you can use OpenAI Chat Model). Responses are converted back to speech using ElevenLabs.

Prerequisites:

You'll need API keys for:

- OpenAI (you can obtain it from the OpenAI website)

- ElevenLabs (you can obtain it from their website)

- Google Gemini (you can obtain it from Google AI Studio)

Setup:

Configure your API keys.

Ensure that the value (voice_message) in the "Path" parameter in the Webhook node is used as the name of the parameter that will contain the voice message you are sending via the HTTP Post request.

Tools used: OpenAI, Google Gemini, ElevenLabs

Download the workflow template (JSON)

Original tutorial

Want this running in your business? KOBA42 builds and operates automations like this one.