Unveil the Stars with the Telegram Astrology Bot: Supabase & Astrology API Workflow Unlock the celestial powers and dive into the mystical world of astrology effortlessly with our Telegram Astrology Bot: Supabase & Astrology API Workflow. 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! What this workflow does: Manage Conversations: It starts with receiving incoming messages and callback queries from Telegram users. State-of-the-art Session Management: 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. Data Handling: Updates session state and records inputs in Supabase, ensuring seamless communication by sending necessary prompts or status messages back to users on Telegram. Geocoding and Timezone Calculation: Parses birth data using OpenStreetMap Nominatim for geocoding and obtains timezone offsets from the GeoNames Timezone API. Astrological Calculations: Calls AstrologyAPI to generate comprehensive natal or synastry charts using the acquired data. Contextual Response Building: Merges JSON reference files from Google Drive with live chart data to draft an insightful analysis context. AI-Powered Engagement: 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. Use Cases: Astrology Enthusiasts: Offer personalized astrology readings to Telegram users who desire detailed chart analyses. Astrology Services: Streamline client consultations by replacing manual chart computations with automated workflows. Developer Tools: SaaS operators and automation engineers can enhance product offerings by integrating astrology features. Technical Details: Nodes Utilized: if, code, supabase, telegram, sticky note, google drive Technologies: Supabase for session management, OpenStreetMap for geocoding, GeoNames API for timezone data, AstrologyAPI for chart calculations, Google Gemini for AI-driven responses.