n8nflow.net logo

Transform YouTube Videos to Social Media Content with Vizard AI and GPT-4.1

by Basil IrfanUpdated: Last update 2 months agoSource: n8n.io
Loading workflow viewer...

Getting Started

Transform YouTube Videos to Social Media Content with Vizard AI and GPT‑4.1

Overview

This n8n template fetches new YouTube videos, enriches them with Vizard AI metadata, generates social‑media captions using GPT‑4.1, logs everything to Google Sheets, and notifies you by email. It’s a turnkey solution for content creators and marketers who need an end‑to‑end automated pipeline from video publishing to post scheduling.

Setup Instructions

  1. Import the Template

    • In n8n, click Import from JSON , paste this workflow, and save.
  2. Configure Credentials

    • Vizard AI : Create an HTTP Request credential named Vizard API and set your VIZARDAI_API_KEY.
    • OpenAI : Add a new OpenAI credential for GPT‑4.1.
    • Google Sheets : Create a Google Sheets OAuth2 credential with read/write access or just sign in if your on cloud hosting
    • Gmail : Add a Gmail OAuth2 credential for email notifications or just sign in if you are on cloud hosting
  3. Adjust Limits

    • In the Limit Videos node, set maxItems to control batch size.

Google Sheets Column Structure

ColumnDescription
videoIdUnique YouTube video identifier
projectIdVizard AI project ID returned
videoUrlOriginal YouTube video URL
titleVideo title
transcriptTranscribed text from Vizard AI
viralScoreVizard AI’s viral‑score metric
viralReasonExplanation for viral score
generatedCaptionGPT‑4.1–generated caption in JSON { "caption": ""}
clipEditorUrlURL to Vizard’s clip editor

Workflow Steps

  1. Read YouTube RSS Feed (Read YouTube RSS Feed)
  2. Limit Videos (Limit Videos to N)
  3. Send to Vizard (Create Vizard Project & Retrieve Vizard Metadata)
  4. Split Items for Processing (Iterate Each Video)
  5. Generate Captions (Generate Social Media Captions)
  6. Append Row in Sheet (Log to Google Sheets)
  7. Send Notification (Email Summary)

Customization Tips

  • Alternate Caption Styles : Modify the AI prompt for tone, length, or brand voice.
  • Localization : Extend prompts for other languages.
  • Notification Channels : Swap Gmail for Slack, Teams, or SMS via webhook nodes.