Back to Templates

Turn podcast and video URLs into blogs and social content using WayinVideo and OpenAI

Created by

Created by: Incrementors || incrementors
Incrementors

Last update

Last update 8 hours ago

Share


Paste any podcast or YouTube video URL into a simple form and the workflow handles everything else. WayinVideo extracts summary and key highlights from the video, then OpenAI reads those highlights and writes a structured 550–700 word blog post with a title and subheadings. The finished blog post, along with the summary, highlights, and tags, is saved automatically as a new row in your Google Sheet. Built for content marketers, podcast teams, and agencies who want to turn video content into written blog posts without spending hours writing manually.


What This Workflow Does

  • Extracts video summary and highlights automatically — Sends the video URL to WayinVideo, which returns a written summary, timestamped key highlights, and content tags — no manual watching needed
  • Writes a full blog post using AI — Passes the summary and highlights to OpenAI GPT, which writes a 550–700 word human-sounding blog post with a title, hook, subheadings, and a closing insight
  • Structured blog output every time — The output parser ensures the blog always arrives as a clean JSON object with a blog_title and blog_content field — no formatting errors
  • Saves everything to Google Sheets — Appends the video URL, blog title, full blog post, key summary, highlights, and tags as a new row in your sheet — your content library grows automatically
  • Auto-retry if summary is not ready — If WayinVideo has not finished processing when first checked, the workflow waits another 40 seconds and retries automatically until highlights are available
  • Form-based submission — Anyone on your team can paste a video URL and submit via the web form — no access to n8n required
  • Brand-aware output — The form collects your brand or show name alongside the URL — useful for tracking which content belongs to which show or client

Setup Requirements

Tools you'll need:

  • Active n8n instance (self-hosted or n8n Cloud)
  • WayinVideo account + API key
  • OpenAI account + API key
  • Google account connected to n8n via Google Sheets OAuth2
  • A Google Sheet with columns: Video URL, Blog Title, Blog, Key Summary, Highlights, Tags

Estimated Setup Time: 15–20 minutes


Step-by-Step Setup

  1. Get your WayinVideo API key
    Log in at WayinVideo, go to your account settings or developer section, and copy your API key.

  2. Paste the API key into node "2. WayinVideo — Submit Summary Request"
    Open this node, find the Authorization header, and replace YOUR_WAYINVIDEO_API_KEY with your actual key.

  3. Paste the API key into node "4. WayinVideo — Get Summary Result"
    Open this node, find the same Authorization header, and replace YOUR_WAYINVIDEO_API_KEY again.

    ⚠️ This key appears in 2 nodes — you must replace it in both "2. WayinVideo — Submit Summary Request" and "4. WayinVideo — Get Summary Result". Missing either one will cause the workflow to fail.

  4. Connect your OpenAI account in node "7. OpenAI — GPT Chat Model"
    Open this node, click the credential field, and connect your OpenAI account. You will need a valid OpenAI API key from platform.openai.com.

  5. Set your Google Sheet URL in node "8. Google Sheets — Save Blog Content"
    Open this node and replace YOUR_GOOGLE_SHEET_URL with the full URL of your Google Sheet. To find it: open your Google Sheet in a browser and copy the entire URL from the address bar.

  6. Set your sheet tab in node "8. Google Sheets — Save Blog Content"
    In the same node, replace YOUR_SHEET_GID with the name of your sheet tab (e.g. Sheet1 or Sheet2). Then connect your Google Sheets credential via OAuth2.

  7. Prepare your Google Sheet columns
    Make sure your Google Sheet has these exact column headers in row 1: Video URL, Blog Title, Blog, Key Summary, Highlights, Tags — the workflow maps to these names exactly.

  8. Activate the workflow
    Toggle the workflow to Active. Open the form URL generated by node "1. Form — Podcast URL + Brand Name" and submit a test video URL to confirm the full workflow runs and a new row appears in your sheet.


How It Works (Step by Step)

Step 1 — Form Trigger (Web Form)
The workflow starts when someone fills in the form. You enter two things: the podcast or YouTube video URL and your brand or show name. The form is hosted by n8n and can be shared with anyone on your team — no login required.

Step 2 — Submit to WayinVideo Summaries API
The video URL is sent to WayinVideo's Summaries endpoint. WayinVideo begins analysing the video and returns a task ID the workflow uses to check for results. The request asks for the output in English.

Step 3 — Wait 40 Seconds
The workflow pauses for 40 seconds to give WayinVideo time to process the video before checking for results. This prevents the workflow from requesting data before it is ready.

Step 4 — Fetch Summary Results from WayinVideo
The workflow calls WayinVideo's results endpoint using the task ID from Step 2. It receives the video title, written summary, timestamped highlights, and content tags — or an empty result if processing is not yet complete.

Step 5 — Check: Highlights Ready? (YES / NO branch)

  • YES — If the highlights array is non-empty, the workflow moves forward and passes the data to the AI blog writer.
  • NO — If highlights are not available yet, the workflow loops back to Step 3, waits another 40 seconds, and checks again. This repeats until highlights are returned.

⚠️ Infinite Loop Risk: If WayinVideo never returns highlights — because the video URL is invalid, private, or unsupported — this loop runs forever. Add a retry counter to stop after 8–10 attempts and send an error notification instead.

Step 6 — AI Agent Writes the Blog Post (OpenAI)
The video summary, highlights, and tags are passed to an OpenAI GPT agent with a detailed writing prompt. The prompt instructs GPT to write a 550–700 word blog post in a warm, human tone — with a hook, two to three subheaded sections, and a closing insight. It uses specific facts and names from the highlights wherever available.

Step 7 — OpenAI GPT Chat Model
This is the GPT model that powers the AI agent in Step 6. It processes the prompt and generates the blog content.

Step 8 — Output Parser (Structured Blog)
This step ensures the AI response is returned as a clean JSON object with exactly two fields: blog_title and blog_content. This prevents formatting errors before the data is written to Google Sheets.

Step 9 — Google Sheets Saves the Blog
The finished blog title, blog content, key summary, highlights, tags, and original video URL are appended as a new row in your Google Sheet. Your content library grows automatically with every form submission.

The final result is a new row in your sheet containing a complete, ready-to-publish blog post — written from the video content, saved and organised automatically.


Key Features

Video to blog post in one form submission — Paste a URL, get a 550–700 word structured blog post saved to your sheet — no writing, no editing, no watching the video
Human-style writing prompt — The AI agent is instructed to write like a thoughtful journalist — warm, story-driven, with real facts and no filler — not robotic AI text
Highlights-driven content — The blog is written from WayinVideo's timestamped key highlights, not a generic summary — the most important moments from the video become the blog's core content
Structured output every time — The output parser guarantees the blog always arrives as a clean blog_title + blog_content object — no broken formatting in your sheet
Auto-retry on slow processing — If WayinVideo takes longer than 40 seconds, the workflow waits and retries automatically — no manual re-runs needed
Full content archive in Google Sheets — Every blog post is saved with its video URL, summary, highlights, and tags — your whole team can search, review, and reuse past content
Works with any video platform — Accepts YouTube, podcast recording URLs, Zoom recordings, or any video URL that WayinVideo supports


Customisation Options

Upgrade to GPT-4o for better writing quality
In node "7. OpenAI — GPT Chat Model", change the model value from gpt-5-mini to gpt-4o for richer, more nuanced blog copy — especially useful for long-form or client-facing content.

Add LinkedIn and Twitter captions after the blog
After "6. AI Agent — Generate Blog Post", add a second AI Agent with a prompt asking it to write a LinkedIn post and two Twitter/X threads based on the same highlights — all from the same video data.

Send a Slack or email notification when a new post is saved
After "8. Google Sheets — Save Blog Content", add a Slack or Gmail node to notify your content team that a new blog post is ready — include the blog title and video URL in the message.

Change the blog language
In node "2. WayinVideo — Submit Summary Request", change "target_lang": "en" to another language code (e.g. "es" for Spanish, "hi" for Hindi) — the summary and highlights will come back in that language and the AI agent will write the blog in the same language.

Add a publish step to WordPress or Webflow
After "8. Google Sheets — Save Blog Content", add an HTTP Request step to send the blog_title and blog_content to your CMS via its API — so the blog post is drafted directly in your publishing platform without copy-pasting.

Add a retry limit to prevent infinite loops
Add a Set step before the retry path in "5. IF — Highlights Ready?" to track a counter, and a second IF check to stop after 10 attempts — route to a Gmail or Slack error notification instead of looping forever.


Troubleshooting

WayinVideo API key not working:

  • Check that you replaced YOUR_WAYINVIDEO_API_KEY in both "2. WayinVideo — Submit Summary Request" and "4. WayinVideo — Get Summary Result" — missing either one causes the workflow to fail
  • Confirm your WayinVideo account is active and the key has not expired
  • Make sure there are no extra spaces before or after the key when pasting

Workflow stuck in the retry loop:

  • Check that the video URL is publicly accessible — private, age-restricted, or unsupported videos will not be processed by WayinVideo
  • Open the output of "4. WayinVideo — Get Summary Result" and inspect the raw response — WayinVideo may have returned an error or an empty highlights array
  • If the loop never exits, deactivate and reactivate the workflow, fix the video URL, and resubmit the form

OpenAI step failing or returning an error:

  • Check that the OpenAI credential in "7. OpenAI — GPT Chat Model" is connected and your API key is valid at platform.openai.com
  • Make sure your OpenAI account has available credits — a depleted account causes the AI step to fail silently
  • If the structured output parser fails, check the raw output of "6. AI Agent — Generate Blog Post" — the blog_title or blog_content key may be missing from the response

Google Sheets not saving rows:

  • Confirm that YOUR_GOOGLE_SHEET_URL in "8. Google Sheets — Save Blog Content" was replaced with the full URL of your actual Google Sheet
  • Check that your sheet has the exact column headers: Video URL, Blog Title, Blog, Key Summary, Highlights, Tags — a typo in any header will cause that column to be skipped
  • Make sure the Google Sheets OAuth2 credential is connected and not expired — reconnect it in n8n credentials if needed

Form not triggering the workflow:

  • Make sure the workflow is set to Active — it will not accept form submissions while inactive
  • Copy the production form URL directly from "1. Form — Podcast URL + Brand Name" by clicking the node — do not use the test URL

Support

Need help setting this up or want a custom version built for your team or agency?

📧 Email: [email protected]
🌐 Website: https://incrementors.com/