New to Kestra?
Use blueprints to kickstart your first workflows.
Automate daily AI intelligence: pull trending Hugging Face models, summarize with Google Gemini structured outputs, and deliver to Telegram with Kestra.
New foundation models, fine-tunes, and multimodal architectures land on Hugging Face every day. Manually checking the trending page is easy to forget and hard to share with a team. This blueprint turns that browse-and-forward routine into a zero-touch pipeline: discover, summarize, deliver.
fetch_trending_models (io.kestra.plugin.core.http.Request) queries the public Hugging Face API for the five models with the most likes over the past seven days.analyze_models_with_gemini (io.kestra.plugin.gemini.StructuredOutputCompletion) feeds the raw metadata into gemini-3.5-flash-lite with a jsonResponseSchema that enforces a typed response: an executive highlight paragraph plus a per-model Telegram-ready Markdown message.verify_and_notify (io.kestra.plugin.core.flow.If) gates the notification, Telegram is only called when Gemini actually produced a digest.send_telegram_digest (io.kestra.plugin.telegram.TelegramSend) posts the formatted digest to your channel or group chat.daily_digest_schedule (io.kestra.plugin.core.trigger.Schedule) provides the 0 8 * * * cron so you can enable it for fully unattended morning delivery.GEMINI_API_KEY, TELEGRAM_BOT_TOKEN, TELEGRAM_CHANNEL_ID.daily_digest_schedule by setting disabled: false and adjust the cron to your timezone.io.kestra.plugin.slack) or Discord (io.kestra.plugin.discord) by replacing the notification task.limit query parameter to cover more models, or change sort to downloads for a different ranking.Loop over multiple Hugging Face tags (e.g. text-generation, image-classification) and fan out one digest per domain.@my_channel) or numeric chat ID.| Secret | Description |
|---|---|
GEMINI_API_KEY |
API key for Google AI Studio |
TELEGRAM_BOT_TOKEN |
Bot token from BotFather |
TELEGRAM_CHANNEL_ID |
Channel username or chat ID |
