Convert YouTube transcripts in Google Sheets to X (Twitter) threads with Apify, OpenAI and RapidAPI
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs on a schedule (every day at 09:00). Along the way it connects Google Sheets and OpenAI Chat Model. It also calls x-twitter-api2.p.rapidapi.com over HTTP.
How it runs
Trigger: On a schedule (every day at 09:00).
- Workflow Configuration (Edit Fields (Set)): sets 3 fields: apifyApiToken, rapidApiKey, twitterCookie
- Get YouTube Links from Sheet (Google Sheets): uses Google Sheets
- Filter: keeps only the items that match a condition
- Get One Link Only (Limit): keeps the first few items
- Apify YouTube Transcript Scraper (HTTP Request): calls an HTTP API (POST)
- Convert to Twitter Thread (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Publish Thread with RapidAPI/X API (HTTP Request): calls x-twitter-api2.p.rapidapi.com (POST)
- Mark Link as Processed (Google Sheets): update
Services it uses
Other OpenAI + Google Sheets templates (2,011)
HTTP calls to: x-twitter-api2.p.rapidapi.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Filter
n8n-nodes-base.filter - Limit
n8n-nodes-base.limit
From the author
This workflow lets you scrape and convert youtube video transcript to twitter thread using Google sheets, Apify and RapidAPI Workflow summary 1. Get unprocessed youtube video link from google sheet 2. Use youtube trascript scraper to extract transcript from…