Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Chatbots & Messaging-Bots

Chatbots & Messaging-Bots

Reisepläne aus Telegram-Nachrichten mit Gemini und SerpAPI planen

Fragt alle eine Minute einen Telegram-Bot ab, nutzt Gemini-Agenten mit SerpAPI-Ortssuche, um Reisepläne zu erstellen, und stellt Rückfragen, wenn Reisedetails fehlen.

Was sie bewirkt

## Telegram AI Trip Planner ### How it works This workflow polls Telegram every minute for new bot messages, extracts the latest travel request, and acknowledges the Telegram update so it is not processed again. It uses Gemini-powered AI agents to parse the request and, when enough details are present, generate a researched travel itinerary with place search support. If key information is missing it asks the user for clarification; otherwise it formats and sends the completed itinerary back through Telegram. ### Setup steps - Create a Telegram bot with BotFather and configure the Telegram bot token in the HTTP Request URLs and Telegram nodes. - Configure Google Gemini credentials for both Gemini chat model nodes. - Configure SerpAPI credentials for the Search Places tool used by the trip-planning agent. - Review the polling and Telegram update-offset logic in the Fetch Telegram Updates, Extract New Message, and Acknowledge Updates nodes before running on localhost. ### Customization Adjust the AI prompts, structured parsers, budget calculation code, and the Enough Info? conditions to change what details are required and how the itinerary is planned. @youtube

Die Schritte

  1. Telegram Trigger
  2. Extract Message Details
  3. Trip Request AI Agent
  4. Initial Gemini Chat Model
  5. Parse User Request
  6. Calculate Budget Details
  7. Check Trip Info Completeness
  8. Request Additional Info
  9. Trip Planning Agent
  10. Discover Destinations
  11. Parse Trip Details
  12. Create Itinerary Format
  13. Send Itinerary via Telegram
  14. Secondary Gemini Model

Ähnliche Automatisierungen