Create step-by-step Markdown guides from YouTube with Apify and OpenAI
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Convert to File
n8n-nodes-base.convertToFile - n8n Form
n8n-nodes-base.form
What it does
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 1. Receives a YouTube URL (plus optional start time, end time, and step interval) from an n8n form submission. 2. Calls the Apify Frameskim actor to generate frames at the chosen interval, returning a screenshot, timestamp, and transcript excerpt for each segment. 3. Cleans and numbers the returned frames, keeping only items with an image and transcript text. 4. Uses OpenAI to write a short step title and a single-sentence instruction for each frame based only on that transcript excerpt. 5. Assembles a Markdown document that includes each step’s instruction, screenshot, and a timestamped YouTube link. 6. Converts the Markdown to a guide.md file and returns it to the form completion page as a download. Setup 1. Create an Apify API token and add an HTTP Header Auth credential with Authorization: Bearer <YOURAPIFYTOKEN for the Apify request. 2. Add your OpenAI API credentials and ensure the selected model ID (default: gpt-4o-mini) is available to your account. 3. Review and adjust the defaults in the guide settings (step interval, max frames, caption language, and Apify cost cap) to fit your use case. 4. Open the n8n form and use its hosted URL to submit a public YouTube video (with captions) to generate the guide.