Schedule YouTube Shorts to Pinterest with Apify, Gemini, and an OpenAI model
UnknownWhat this workflow does
This AI workflow has 12 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Google Gemini Chat Model and Apify (community). It also calls generativelanguage.googleapis.com and zernio.com over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).
- Respond to Webhook: sends the response back to the webhook caller
- rename (Edit Fields (Set)): sets 4 fields: title, id, channel_id…
- Run an Actor and get dataset (Apify): run actor and get dataset
- HTTP Request: calls generativelanguage.googleapis.com (POST)
- Basic LLM Chain: sends a prompt to an LLM, with model: OpenAI Chat Model, Google Gemini Chat Model; output parser: Structured Output Parser
- Edit Fields (Edit Fields (Set)): sets 7 fields: media_type, output.genre, title…
- HTTP Request: calls zernio.com (POST)
Services it uses
HTTP calls to: generativelanguage.googleapis.com, zernio.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Run an Actor and get dataset1).
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - Apify
@apify/n8n-nodes-apify.apify - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
Quick overview This workflow receives YouTube Shorts webhook events, downloads the video via Apify, uses Google Gemini and an OpenAI-compatible chat model to generate Pinterest SEO metadata and choose a board, then schedules a Pinterest video pin through…