Skip to main content

Auto-generate SEO content from trends with GPT-4o, FAL AI & multi-storage

Workflow preview

Workflow preview
100%
Auto-generate SEO content from trends with GPT-4o, FAL AI & multi-storage preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who's it for Content creators, SEO specialists, and marketing teams who want to automatically generate SEO optimized content based on trending topics—complete with AI generated images, optional vid...

Best for

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

Tools used

n8n-nodes-base.spreadsheetfile, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.microsoftsharepoint, n8n-nodes-base.switch, n8n-nodes-base.httprequest, n8n-nodes-base.wait

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Auto-generate SEO content from trends with GPT-4o, FAL AI & multi-storage
Workflow name
Auto-generate SEO content from trends with GPT-4o, FAL AI & multi-storage

Who's it for

Content creators, SEO specialists, and marketing teams who want to automatically generate SEO-optimized content based on trending topics—complete with AI-generated images, optional videos, and ready-to-publish HTML.

How it works / What it does

  1. Webhook receives a request with use case and video preferences.
  2. Get Trends XLSX downloads a spreadsheet (created by the Social Media Trends workflow) from SharePoint.
  3. Select Topic from Trends randomly picks one trending topic from the spreadsheet.
  4. AI Agent (GPT-4o) generates bilingual newsletter content about the selected trend.
  5. Get Newsletter Template fetches your HTML template; Build Newsletter injects the AI content.
  6. Optional creative assets:
    Pollinations AI → generates a 1080 × 1350 image.
    FAL AI → creates video from the image + Lyria2 audio → merged via FFmpeg.
  7. Gmail Approval sends the draft for review; continues only on approval.
  8. Upload all files (HTML + JPG + video URL) to your chosen storage provider.

How to set up

  1. Import the template into n8n (cloud or self-hosted).
  2. Create credentials: OpenAI, Microsoft 365 (SharePoint), Gmail, and FAL AI.
  3. Upload your HTML newsletter template to SharePoint (see yellow sticky note for required placeholders).
  4. Ensure you have a trends spreadsheet (from the Social Media Trends workflow) in your SharePoint folder.
  5. Update Configuration Settings with your ENV_* variables.
  6. Activate the workflow and POST to the webhook: { "text": "usecase: blog post, include_video: true" }.

Requirements

  • n8n 1.33 +
  • OpenAI account
  • Microsoft 365 tenant (SharePoint)
  • Gmail account
  • FAL AI API Key (for video generation)
  • A trends spreadsheet (from the Social Media Trends workflow)

How to customize

  • Change storage provider: replace SharePoint upload nodes with Google Drive, Dropbox, or S3.
  • Modify topic selection: edit Select Topic from Trends for different selection logic.
  • Adjust content tone: tweak the prompt in Prepare Newsletter Data.
  • Skip video generation: set include_video: false in the webhook request.

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 - Read Trends Data

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

Block 2 - Select Topic from Trends

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

Block 3 - Build Newsletter

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

Block 4 - Check Approval Status

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

Block 5 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 6 - Get Trends XLSX

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

Block 7 - Get Newsletter Template

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

Block 8 - Switch

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

Block 9 - Get Video

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

Block 10 - Create FAL Video

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

Block 11 - Create Audio

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

Block 12 - Wait for Audio

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 13 - Get Audio

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

Block 14 - Create Merge Request

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

Block 15 - Wait for Merge

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 16 - Get Merged Video

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

Block 17 - Merge1

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

Block 18 - Configuration Settings

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

Block 19 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 20 - Generate Video and Audio Prompt

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 21 - Determine Intent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 22 - OpenAI Chat Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 23 - Parse Fields

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 24 - Parse Intent Fields

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Showing the first 24 of 47 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Auto-generate SEO content from trends with GPT-4o, FAL AI & multi-storage
Complexity advanced
Nodes 47
Categories Content Creation, Multimodal AI
Author plemeo
Published 22 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6278/6278.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 Auto-generate SEO content from trends with GPT-4o, FAL AI & multi-storage do?

Who's it for Content creators, SEO specialists, and marketing teams who want to automatically generate SEO optimized content based on trending topics—complete with AI generated images, optional vid...

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.