{"product_id":"telegram-hotel-search-bot-openai-winwin-mcp-n8n-workflow","title":"Telegram Hotel Search Bot (OpenAI + WinWin MCP) | n8n Workflow","description":"\u003ch3\u003eFind real hotel offers in Telegram—powered by OpenAI + WinWin MCP (n8n Workflow)\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eTelegram Hotel Search Bot\u003c\/strong\u003e workflow lets you search and display live hotel deals inside Telegram. It uses an \u003cstrong\u003eOpenAI-powered agent\u003c\/strong\u003e with \u003cstrong\u003eWinWin MCP\u003c\/strong\u003e to find offers, then sends \u003cstrong\u003erich offer cards\u003c\/strong\u003e with photos, pricing, dates, a Google Maps link, and booking buttons—plus a built-in photo gallery powered by an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on Telegram\u003c\/strong\u003e messages and button taps (callback queries), routing requests by type (start, free-text search, gallery request, or other actions).\u003c\/li\u003e\n  \u003cli\u003eOn \u003cstrong\u003e\/start\u003c\/strong\u003e, sends a welcome message; on searches, shows a “searching” acknowledgement.\u003c\/li\u003e\n  \u003cli\u003eUses an \u003cstrong\u003eOpenAI agent with Postgres chat memory\u003c\/strong\u003e to interpret the user’s request and call the \u003cstrong\u003eWinWin MCP\u003c\/strong\u003e search (with filters when needed).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates photo URLs\u003c\/strong\u003e via the \u003cstrong\u003ePhoto Validation\u003c\/strong\u003e tool before sending.\u003c\/li\u003e\n  \u003cli\u003eParses the agent’s structured output into up to \u003cstrong\u003ethree offers\u003c\/strong\u003e. If no results are returned, sends a “no results” Telegram message with the search summary.\u003c\/li\u003e\n  \u003cli\u003eFormats each offer into a \u003cstrong\u003eTelegram card\u003c\/strong\u003e including photos, pricing, dates, highlights, Google Maps link, a \u003cstrong\u003eView Gallery\u003c\/strong\u003e button, and the \u003cstrong\u003ebooking URL\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eSaves all hotel- and room-level photo URLs for displayed offers into an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e so galleries can be shown later without re-running the WinWin search.\u003c\/li\u003e\n  \u003cli\u003eWhen users tap \u003cstrong\u003eView Gallery\u003c\/strong\u003e, they can choose hotel or room photos; the workflow loads matching rows from the Data Table, validates reachable URLs, and sends photos back in \u003cstrong\u003emedia groups\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eBuild a Telegram-based \u003cstrong\u003ehotel deals assistant\u003c\/strong\u003e for SaaS demos or customer support.\u003c\/li\u003e\n  \u003cli\u003eDemo “live search → rich results cards” using \u003cstrong\u003en8n\u003c\/strong\u003e, \u003cstrong\u003eOpenAI\u003c\/strong\u003e, and \u003cstrong\u003eWinWin MCP\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eCreate an interactive experience where users browse \u003cstrong\u003ephoto galleries\u003c\/strong\u003e and book directly via inline buttons.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCore nodes\/logic: \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eswitch\u003c\/strong\u003e, \u003cstrong\u003esplit out\u003c\/strong\u003e, and \u003cstrong\u003eTelegram\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003eSearch: \u003cstrong\u003eOpenAI agent\u003c\/strong\u003e + \u003cstrong\u003eWinWin MCP\u003c\/strong\u003e (with Postgres chat memory)\u003c\/li\u003e\n  \u003cli\u003ePhoto handling: \u003cstrong\u003ePhoto Validation\u003c\/strong\u003e + \u003cstrong\u003en8n Data Table\u003c\/strong\u003e storage\/retrieval\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45938275057843,"sku":"N8N-19000","price":18.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/FlZXZ3mAD-n0lJq7mLNqY_SimGB437.png?v=1788341102","url":"https:\/\/buyflowscripts.com\/products\/telegram-hotel-search-bot-openai-winwin-mcp-n8n-workflow","provider":"N8N Commerce","version":"1.0","type":"link"}