Send daily Bible devotional images to Telegram with Gemini and Fal.ai
Quick overview This workflow runs daily at 7am, fetches a KJV Bible verse from bible-api.com, generates a devotional and an AI image prompt using Google Gemini and OpenRouter, renders a vertical image via Fal.ai, and sends the image plus devotional text to a Telegram chat.
How it works Runs every day at 7am on a schedule. Formats the current date and looks up the matching row in a Google Sheets “bible plan” spreadsheet. Requests a KJV verse from bible-api.com and sends the verse to Google Gemini, which can also use Tavily and an HTTP request tool to gather context and retrieve full verse text. Sends Gemini’s draft to Anthropic Claude (via OpenRouter) to polish the devotional into Telegram-ready text. Sends the verse and devotional theology to DeepSeek (via OpenRouter) to produce a single, publication-ready image prompt with an on-image KJV text overlay. Submits the prompt to Fal.ai (ByteDance Seedream) to generate a 1080×1920 image, waits briefly, and downloads the resulting image. Sends the generated image to Telegram as a photo with the devotional text as the caption.
Setup Add credentials for Google Sheets OAuth2, Telegram (bot token/chat), OpenRouter, Google Gemini (PaLM), Tavily, and Fal.ai (HTTP Header auth). Update the Google Sheets document URL/sheet tab and ensure the sheet has a "date" column that matches the formatted date used for filtering. Confirm the schedule time in the schedule trigger and adjust the date source/formatting logic in the JavaScript step if your sheet uses a different date format. Verify the Fal.ai endpoint and image settings (1080×1920) and ensure the Fal.ai queue wait time is long enough for your account and model latency. Set the target Telegram chat/channel and review the caption length so the devotional fits Telegram’s message limits.
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments