{"product_id":"telegram-astrology-bot-supabase-astrology-api-workflow","title":"Telegram Astrology Bot: Supabase \u0026 Astrology API Workflow","description":"\u003ch3\u003eUnveil the Stars with the Telegram Astrology Bot: Supabase \u0026amp; Astrology API Workflow\u003c\/h3\u003e\n\n\u003cp\u003eUnlock the celestial powers and dive into the mystical world of astrology effortlessly with our \u003cstrong\u003eTelegram Astrology Bot: Supabase \u0026amp; Astrology API Workflow\u003c\/strong\u003e. Harnessing cutting-edge technology, this workflow seamlessly integrates with Telegram, Supabase, and AstrologyAPI to generate accurate natal or synastry charts. Providing engaging astrological insights has never been easier!\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does:\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eManage Conversations:\u003c\/strong\u003e It starts with receiving incoming messages and callback queries from Telegram users.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eState-of-the-art Session Management:\u003c\/strong\u003e Utilizes Supabase to look up user session details by chat ID, effectively managing the chat state to prompt users for their natal or synastry birth details.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData Handling:\u003c\/strong\u003e Updates session state and records inputs in Supabase, ensuring seamless communication by sending necessary prompts or status messages back to users on Telegram.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGeocoding and Timezone Calculation:\u003c\/strong\u003e Parses birth data using OpenStreetMap Nominatim for geocoding and obtains timezone offsets from the GeoNames Timezone API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAstrological Calculations:\u003c\/strong\u003e Calls AstrologyAPI to generate comprehensive natal or synastry charts using the acquired data.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eContextual Response Building:\u003c\/strong\u003e Merges JSON reference files from Google Drive with live chart data to draft an insightful analysis context.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI-Powered Engagement:\u003c\/strong\u003e Sends context and user prompts to a Google Gemini AI model via an n8n AI Agent, recording interactions in Supabase before delivering astoundingly formatted responses back on Telegram.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse Cases:\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAstrology Enthusiasts:\u003c\/strong\u003e Offer personalized astrology readings to Telegram users who desire detailed chart analyses.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAstrology Services:\u003c\/strong\u003e Streamline client consultations by replacing manual chart computations with automated workflows.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDeveloper Tools:\u003c\/strong\u003e SaaS operators and automation engineers can enhance product offerings by integrating astrology features.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical Details:\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes Utilized:\u003c\/strong\u003e if, code, supabase, telegram, sticky note, google drive\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTechnologies:\u003c\/strong\u003e Supabase for session management, OpenStreetMap for geocoding, GeoNames API for timezone data, AstrologyAPI for chart calculations, Google Gemini for AI-driven responses.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45549479919795,"sku":"N8N-15944","price":35.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/ORUNW4JQ5BELzF0_DApTr_21e2d5e5773b4c87af2fe67473d6d242.jpg?v=1780304914","url":"https:\/\/buyflowscripts.com\/products\/telegram-astrology-bot-supabase-astrology-api-workflow","provider":"N8N Commerce","version":"1.0","type":"link"}