Templates / Generate UGC images from form submissions with Google Gemini and Telegram

Generate UGC images from form submissions with Google Gemini and Telegram

Ready for 3.0

by Jaures NYA ✓ · 414 views · created 2025-10-20 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs when someone submits an n8n form (“Advertising image generator”). Along the way it connects Telegram. It also calls openrouter.ai over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Advertising image generator”).

  1. Merge: merges the data from its input branches
  2. Extract the form file (Extract from File): extracts data from a file (binary to propery)
  3. Creating a data URL (Code): runs custom JavaScript code
  4. Mapping (Edit Fields (Set)): sets 2 fields: image, personnage
  5. Google gemini (HTTP Request): calls openrouter.ai (POST)
  6. Transform URL data (Code): runs custom JavaScript code
  7. Download the file (Convert to File): converts data to a file (to binary)
  8. Send a photo message (Telegram): send photo

Services it uses

Telegram

HTTP calls to: openrouter.ai

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

This workflow automates the process of generating personalized UGC (User-Generated Content) images based on form submissions. It accepts a form with a character type (e.g., male/female) and an uploaded image, merges them, sends them to an AI model (Google…

Excerpt from Jaures NYA's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.