Skip to main content

Automate UGC video creation with Gemini and Google Veo 3 & upload to Instagram via Postiz

Workflow preview

Workflow preview
100%
Automate UGC video creation with Gemini and Google Veo 3 & upload to Instagram via Postiz preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow automates the creation and publishing of UGC (User Generated Content) videos using Google Gemini and Google Veo 3 , then uploads them directly to Instagram with [Postiz](https://...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.merge, n8n-nodes-base.httprequest, n8n-nodes-postiz.postiz, n8n-nodes-base.set, n8n-nodes-base.googledrive, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Automate UGC video creation with Gemini and Google Veo 3 & upload to Instagram via Postiz
Workflow name
Automate UGC video creation with Gemini and Google Veo 3 & upload to Instagram via Postiz

πŸŽ₯πŸ€– This workflow automates the creation and publishing of UGC (User-Generated Content) videos using Google Gemini and Google Veo 3, then uploads them directly to Instagram with Postiz.


Advantages

  • βœ… Full Automation – Eliminates manual video editing, caption writing, and uploading.
  • βœ… High-Quality UGC Videos – Leverages Google Veo 3 for professional ad-like video generation.
  • βœ… AI-Powered Creativity – Uses Google Gemini for both creative direction and social media copywriting.
  • βœ… Time-Saving – From image to published Instagram post in a single automated flow.
  • βœ… Consistency – Ensures branding and messaging remain aligned across campaigns.
  • βœ… Scalability – Can easily generate multiple UGC ads for different products.
  • βœ… Centralized Management – Stores videos in Google Drive and distributes them via Postiz.

How It Works

  1. Image Analysis & Creative Briefing: The workflow starts with a predefined product image. This image is analyzed by Google Gemini, which acts as a "Creative Director" to generate a detailed, cinematic prompt describing an 8-second commercial scene based on the image's content.

  2. Parallel AI Task Execution: The creative director's prompt is then sent to two different AI agents simultaneously:

    • Video Generation: One agent uses the prompt with Google Veo 3 to generate the actual video file, visualizing the described scene.
    • Copywriting: The other agent, acting as a "Social Media Manager," uses the same prompt to generate compelling caption copy tailored for an Instagram audience.
  3. Asset Distribution & Publishing: The generated video is uploaded to two destinations: Google Drive for storage and the Postiz API for social media management. The AI-generated caption is prepared. Finally, all data (video information from Postiz and the caption) is merged and sent to the Postiz node, which schedules and publishes the video as a post to the connected Instagram account.


Set Up Steps

To use this workflow, you need to configure the following credentials and node settings in n8n:

  1. Image Source: In the "Set image" node, replace the default image_url value with the URL of your own product image.

  2. Google Gemini Credentials: The workflow uses three Gemini nodes. Ensure your Google Gemini API credentials (named "Google Gemini(PaLM) (Eure)" in this example) are correctly set up and have access to the specified models (gemini-2.5-pro and veo-3.0-generate-preview).

  3. Google Drive Credentials: Configure the "Upload video" node with valid Google Drive OAuth credentials. Update the folderId parameter if you wish to save the generated videos to a different folder in your Drive.

  4. Postiz Credentials: The "Upload Video to Postiz" and "Instagram" nodes require valid credentials for the Postiz API. You must have an active Postiz account and have connected your Instagram business account to it within the Postiz platform.

  5. Postiz Integration ID: In the "Instagram" node, the integrationId field is specific to a connected social account within a Postiz account. You must replace this value with your own Instagram integration ID from Postiz.

  6. (Optional) Video Parameters: You can adjust the video generation aspect ratio (e.g., 9:16 for Stories/Reels) in the options of the "Generate UGC Video" node.


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking β€˜Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Analyze image

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 3 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 4 - Upload Video to Postiz

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Instagram

Type / Role
n8n-nodes-postiz.postiz - postiz
Config choices
Version 1

Block 6 - Set image

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Generate UGC Video

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 8 - Social Media Manager

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 9 - Creative director

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 10 - Set caption

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Upload video

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 12 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate UGC video creation with Gemini and Google Veo 3 & upload to Instagram via Postiz
Complexity intermediate
Nodes 13
Categories Content Creation, Multimodal AI
Author Davide
Published 01 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8115/8115.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate UGC video creation with Gemini and Google Veo 3 & upload to Instagram via Postiz do?

This workflow automates the creation and publishing of UGC (User Generated Content) videos using Google Gemini and Google Veo 3 , then uploads them directly to Instagram with [Postiz](https://...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.