Overview
An n8n workflow automating business travel planning via Telegram. Uses AI and APIs to find and book flights/hotels efficiently.
Prerequisites
- Telegram Bot (BotFather)
- API Keys: OpenAI (transcription), SerpAPI (flights/hotels), DeepSeek (AI processing)
- n8n Instance with API access
Setup Instructions
- Import Workflow: Upload JSON to n8n.
- Configure API Credentials: Set up Telegram, OpenAI, SerpAPI, and DeepSeek keys.
- Webhook Activation: Ensure Telegram webhook is active with HTTPS.
- Test: Send a Telegram message and verify execution.
Workflow Operation
1. User Input Processing
- Telegram bot triggers workflow, extracts text/audio.
- OpenAI transcribes voice messages.
- AI (DeepSeek) extracts key travel details (locations, dates, accommodation needs).
2. Travel Search
- Flights: Uses SerpAPI for flight options (airlines, times, prices).
- Hotels: Fetches accommodations with dynamic check-out date.
3. AI Recommendations & Customization
- DeepSeek generates structured travel plans.
- Users can modify prompts to adjust AI responses for personalized results.
- Professional, well-structured responses with links.
4. Response Delivery
- Sends travel recommendations via Telegram with clear details.
Use Cases
Ideal for business professionals, executive assistants, frequent travelers, and small businesses.
Customization & Troubleshooting
- Adjust memory handling and API calls.
- Modify prompts to refine AI output.
- Ensure API keys are active and network is accessible.