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

⚑ 411 views · 🎬 Content Creation & Video

Description

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

How to customize

πŸ”— Nodes Used

HTTP Request, Spreadsheet File, Webhook, Gmail, AI Agent, OpenAI Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup