Automations in @DoublegramAIBot run a saved prompt automatically on a timer in Telegram. You choose the AI model, where results go, and how often it runs — the Telegram bot handles execution and sends output to your private chat, Telegram groups or channels, or Discord webhooks.
This guide walks through setup from scratch in @DoublegramAIBot.
Before you start
You need a saved prompt — a fixed instruction the automation will run each time. Create one with:
/prompt add briefing Summarize the top 5 tech news stories from today in bullet points.
Prompts with placeholders cannot be automated. If your prompt contains variables like [topic], [content], or [subject], the bot blocks automation because each run would need manual input. Write a complete, ready-to-run prompt instead, or use /p manually for templated prompts.
For groups and channels, link your Doublegram account so the bot can list destinations tied to your profile. Private chat and Discord webhooks are also available in the destination step.
Limit: You can have up to 50 active automations per user. Disable an old one before creating a new one if you hit the limit.
Open the Automations menu
Two ways to start:
/start→ tap Automations- Or:
/prompt list→ pick a prompt → New automation
The menu lists your saved prompts. Tap one to create or manage its automation. Tap How automations work for a short in-bot summary.
Step-by-step setup
When you create a new automation, the bot guides you through these steps:
1. Optional features
Toggle extras before choosing the model:
- Web Search — fetches updated information before generating the post (extra credits per run).
- Image Generation — creates an image for each run (extra credits; you will also pick an image model).
- Duplicate Rejection — skips publishing if the new content is too similar to a previous post (extra credits).
Tap each button to enable or disable, then Confirm and Continue.
2. AI model
Pick a text model provider and model. Each button shows credits per execution — faster, cheaper models work well for frequent runs; stronger models give better quality.
If you enabled Image Generation, you will also choose an image model (GPT Image or Imagen 3).
3. Destination
Select where each run is sent. You can choose one or more:
- Private chat — results come directly to you.
- Your groups — post into Telegram groups linked to your Doublegram account.
- Your channels — publish to Telegram channels you manage.
- Discord webhooks — send to Discord servers you configured.
Select at least one destination, then confirm.
4. Frequency
How often the automation runs — presets from every few hours to every 30 days, or a custom interval (minimum about 5 minutes, maximum 168 hours). Examples:
- Every 6 hours for active feeds
- Every 24 hours for a daily briefing
- Every 7 days for a weekly roundup
5. Repetitions
How many times the automation runs in total:
- Limited — a specific number of executions
- Infinite — runs until you disable it manually
- Custom — set your own count
6. Output type
- Final publication — clean AI text only, ideal for public channels and groups.
- Manageable draft — includes share and retry buttons, better for private review.
7. First run timing
- Run immediately — first execution starts right after activation.
- Run from next scheduled — waits until the next interval based on your frequency.
8. Confirm
Review the summary — prompt, model, destination, frequency, repetitions, features, and estimated credits per run. Tap Activate Automation to start.
Example: Prompt daily-quote → Gemini Flash → private chat → every 24h → infinite → no extras → activate. You get a new motivational quote every morning automatically.
Credits
Each automation run costs credits like a normal AI request — model price plus any enabled extras (web search, images, duplicate check). The confirmation screen shows estimated cost per execution and total for limited runs.
Automations consume credits automatically on schedule. Check your balance with /credits and set a spending cap with /budget if needed.
Manage existing automations
From Automations or a prompt's detail screen:
- Disable — pause without deleting
- Edit automation — change settings (model, destination, frequency, etc.)
- Delete — remove completely
If duplicate rejection is enabled and content is too similar to a previous post, the bot skips that run and notifies you — the automation continues on the next schedule.
Quick reference
- Create prompt:
/prompt add name full instruction text - Open menu:
/start→ Automations - No placeholders (
[topic], etc.) in automated prompts - Destinations: private, groups, channels, Discord
- Max 50 active automations
- Credits charged per successful run
Related: Save Custom Prompts in the Telegram AI Bot (/prompt and /p) to build the templates your automations rely on.



