Create step-by-step Markdown guides from YouTube with Apify and OpenAI

Go to Workflow
0 views
Built by Frameskim Frameskim
Created on October 13, 2026

Description

Quick overview
This workflow collects a public YouTube tutorial link via an n8n form, uses Apify Frameskim to extract timestamped screenshots and transcript segments, then uses OpenAI to turn each segment into a concise step and returns a downloadable Markdown guide.

How it works
Receives a YouTube URL (plus optional start time, end time, and step interval) from an n8n form submission.
Calls the Apify Frameskim actor to generate frames at the chosen interval, returning a screenshot, timestamp, and transcript excerpt for each segment.
Cleans and numbers the returned frames, keeping only items with an image and transcript text.
Uses OpenAI to write a short step title and a single-sentence instruction for each frame based only on that transcript excerpt.
Assembles a Markdown document that includes each step’s instruction, screenshot, and a timestamped YouTube link.
Converts the Markdown to a guide.md file and returns it to the form completion page as a download.

Setup
Create an Apify API token and add an HTTP Header Auth credential with Authorization: Bearer for the Apify request.
Add your OpenAI API credentials and ensure the selected model ID (default: gpt-4o-mini) is available to your account.
Review and adjust the defaults in the guide settings (step interval, max frames, caption language, and Apify cost cap) to fit your use case.
Open the n8n form and use its hosted URL to submit a public YouTube video (with captions) to generate the guide.

This workflow was created by Frameskim and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (4)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi