Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Chatbots & Messaging-Bots

Chatbots & Messaging-Bots

Sprachchat über Webhook mit Gemini, OpenAI und ElevenLabs erstellen

Empfängt Chatnachrichten über einen Webhook, speichert den Gesprächsverlauf, erzeugt Antworten mit Gemini oder OpenAI und wandelt sie mit ElevenLabs in gesprochene Audiodaten um.

Was sie bewirkt

* ### For the Text-to-Speech part, we'll use ElevenLabs.io, which is free and offers a variety of voices to choose from. However, you can also use the OpenAI "Generate audio" node instead. * ### Since there is no pre-built node for "ElevenLabs" in n8n, we'll connect to it through its API using the "HTTP Request" node. ## Prerequisites: * ### "ElevenLabs API Key" (you can obtain it from their website). * ### "Voice ID" (you can also get it from ElevenLabs' "Voice Library"). ## Setup * ### In the URL parameter, replace "{{voice id}}" at the end of the URL with the Voice ID you obtained from ElevenLabs.io. * ### To set up your API Key, add custom authentication and include the following JSON with your acual ElevenLabs API Key: json { "headers": { "xi-api-key": "put-your-API-Key-here" } }

Die Schritte

  1. Get Chat
  2. Insert Chat
  3. Aggregate
  4. Window Buffer Memory
  5. Google Gemini Chat Model
  6. Respond to Webhook
  7. ElevenLabs - Generate Audio
  8. Limit
  9. Basic LLM Chain
  10. Webhook
  11. OpenAI - Speech to Text

Ähnliche Automatisierungen