Skip to content

Generate images from your Telegram messages

Turns a message to your Telegram bot into a generated image, sends it back as a photo and logs each request in a sheet.

No credit card needed.

Proposed workflow

A starting brief, not a finished workflow. Review the steps and test with your accounts.

When

A message sent to your Telegram bot.

Then

  1. Act only on a text message not from a bot whose chat id is one of the Telegram chat ids you choose in setup; stop if its Chat Id and Message Id are already a row on the first tab (Chat Id, Message Id, Text, Image) of the Google Sheets spreadsheet id you choose in setup.
  2. Turn the text into a detailed image prompt.
  3. Generate the image with AI.
  4. Send it to that chat in Telegram as a photo with the prompt.
  5. Then append all four to that tab.

Before you publish

After publishing, pick a secret token in Whenever and pass it with the webhook address to Telegram's setWebhook; one bot serves one workflow. Supply the chat ids allowed to ask, so a stranger who finds the bot cannot run up image generation, and a sheet for the log.

Connect the accounts it needs. AI steps can vary, so test before publishing.

Apps it connects

Related templates

Run a coaching chat that remembers sessions

Replies to coaching messages on Telegram using each person's profile and history from a sheet, and emails everyone a check-in every Monday. After publishing, you pick a secret token in Whenever and pass it with the webhook address to Telegram's setWebhook; one bot serves one workflow.

All templates

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.