Files & Documents

Extract image data with Gemini AI and post to X automatically

9 nodes 138 67 Webhook
Download

Workflow Description

An automation workflow that receives images through a webhook, analyzes them using Gemini AI to extract key data and insights, then automatically publishes the results to your X account in real-time without manual intervention.

How it works

  1. 1.Receive incoming images via a dedicated webhook endpoint
  2. 2.Send images to Gemini API for intelligent content analysis
  3. 3.Extract structured data and key information from analysis results
  4. 4.Format extracted data for social media publication
  5. 5.Automatically post results to your X account feed

Use cases

  • Monitor and analyze images in real-time as they arrive
  • Extract text and data from scanned documents automatically
  • Share image insights on X to engage your audience instantly

Requirements

  • Active X account with API credentials configured
  • Gemini API key from your Google Cloud project
  • Images in common formats: PNG, JPG, or WebP

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Webhook HTTP Request Set Note Twitter/X

Details

Trigger Webhook
Nodes 9
Apps 5
Views 138
Downloads 67

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (9)

Webhook

Webhook

#1

Respond to Webhook

Webhook

#2

Get image from URL

HTTP Request

#3

Call Gemini API (Flash Lite) with Image

HTTP Request

#4

Edit fields to output required data alone

Set

#5

Sticky Note

Sticky Note

#6

Sticky Note1

Sticky Note

#7

Sticky Note2

Sticky Note

#8

Transform image to base64

Extract From File

#9