Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / ИИ-агенты и ассистенты

ИИ-агенты и ассистенты

Handle WhatsApp HVAC reception with Gemini, Claude, and Meta WhatsApp API

When something happens in a connected app, it runs an AI agent with Claude and OpenRouter using Postgres, SerpAPI, Data Table, WhatsApp.

Что делает

## Answer WhatsApp texts, voice notes and photos with a Claude AI receptionist Replies to WhatsApp text, voice notes and photos once the customer stops typing. The prompt uses a demo HVAC company. ### How it works 1. Voice notes are transcribed by Gemini and photos described by Claude via OpenRouter. Text passes through. 2. Each message is saved to a data table and the run waits 10 seconds. 3. Only the run with the customer's newest message continues and merges every saved line into one. 4. The Receptionist Agent shows typing, then answers with Claude, Postgres memory, web search and a calculator. 5. The reply goes out as up to 3 short WhatsApp bubbles. ### Setup steps - [ ] WhatsApp OAuth in the trigger, WhatsApp API in Get Voice Note URL and Get Photo URL. - [ ] Header Auth (Bearer WhatsApp token) in both Download nodes, Mark Read and Show Typing, Send WhatsApp Reply. - [ ] Header Auth (Bearer OpenRouter key) in Transcribe Voice with Gemini and Describe Photo with Claude. - [ ] Create a data table with text columns phone and text. Select it in the three inbox nodes. - [ ] Anthropic, Postgres and SerpAPI credentials on the agent's sub-nodes. - [ ] Put your business details in the Receptionist Agent prompt, then activate and test from a real phone.

Шаги

  1. When WhatsApp Message Received
  2. Route by Type
  3. Get Voice Note URL
  4. Download Voice Note
  5. Convert Voice to Base64
  6. Transcribe Voice with Gemini
  7. Set Voice Transcript
  8. Get Photo URL
  9. Download Photo
  10. Convert Photo to Base64
  11. Describe Photo with Claude
  12. Set Photo Description
  13. Prepare Text Message
  14. Save to Inbox

Всего шагов: 27.

Похожие автоматизации