Skip to content
FlowHubFluxonLab
B
AI Automationfree

Schedule YouTube Shorts to Pinterest with Apify, Gemini, and an OpenAI model

by Ghufran Barchaadapted from n8n official workflow galleryUpdated Aug 2026
RequiresBBasic LLM ChainGoogle Gemini Chat ModelHTTP RequestHTTP RequestOpenAI Chat ModelOpenAI Chat ModelStructured Output ParserStructured Output Parser
Share Post Share
WeWebhookRTRespond to WebhookRespond to Webh…WeWebhook (Listen for Videos)Webhook (Listen…SerenameApRun an Actor and get dataset1Run an Actor an…HRHTTP RequestCLBasic LLM ChainOpenAI Chat ModelOpenAI Chat Mod…OPStructured Output ParserStructured Outp…SeEdit FieldsHRHTTP Request1Google Gemini Chat ModelGoogle Gemini C…1
1/5
FLOWS
STEPS · 1
Starts on an incoming request

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 Zernio (Late) for publishing. How it works Receives a webhook request for YouTube PubSubHubBub verification and responds with the provided hub challenge. Receives a POST webhook event for a new YouTube video and extracts the title, video ID, channel ID, and video URL from the feed payload. Uses Apify to fetch and process the YouTube Short and returns a downloadable MP4 URL. Sends the video to the Google Generative Language (Gemini) API to generate an analysis used for Pinterest-focused metadata. Uses a LangChain LLM chain (with structured output validation) to produce a Pinterest-ready title, description, hashtags, and a board selection from a fixed list. Maps the selected board name to a Pinterest board ID and schedules the video post to Pinterest via the Zernio (Late) API.

Tags

n8nreference-onlychain-llmlm-chat-google-geminilm-chat-open-aioutput-parser-structured
Connects
BBasic LLM ChainGoogle Gemini Chat ModelWHTTP RequestopenaichatmodelOpenAI Chat ModelstructuredoutputparserStructured Output Parser
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes12
AddedJul 8, 2026

Related workflows

See all AI Automation
autofixingoutputparserBopenaichatmodelstructuredoutputparser
free

Force AI to use a specific output format

This workflow is for anyone looking to automatically fetch, validate, and parse complex language-based queries into a structured format. Its unique capability lies in not only processing language but also fixing invalid outputs before structuring them. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
ACWopenaichatmodel
free

Manage Google and Trustpilot reviews with OpenAI and Slack

Quick overview This workflow runs hourly to fetch new Google Business Profile and Trustpilot reviews, deduplicates them, uses OpenAI via a LangChain agent to draft sentiment-aware replies, escalates negative reviews in Slack, and routes positive replies to Slack for approval before posting the reply back to Trustpilot. How it works Runs every hour on a schedule. Fetches the latest reviews from the Google Business Profile API and the Trustpilot API and combines the results. Deduplicates reviews by tracking previously seen review IDs in workflow static data and stops if there are no new reviews. Processes each new review and uses OpenAI (via a LangChain agent) to generate structured JSON containing sentiment, a draft reply, and an optional suggested resolution. Sends negative reviews to a Slack channel for the owner along with the suggested resolution. Sends positive draft replies to Slack for one-tap approval (with a 24-hour timeout) and, if approved, publishes the reply to the Trustpilot API. Sends a Slack alert to the ops channel if the workflow errors. Setup Configure authentication and replace placeholders for the Google Business Profile reviews endpoint (account and location) i

by Redowan Ahmed Farhan
AWopenaichatmodelstructuredoutputparser
free

Generate daily auto-service AI videos and post them with OpenAI, Perplexity, AtlasCloud, and Blotato

Quick overview This workflow runs daily (or manually) to research an auto-service topic with Perplexity, generate a caption and text-to-video prompt with OpenAI, render an AI video via AtlasCloud, then publish it to TikTok, YouTube, Instagram, and Facebook through Blotato while sending a Telegram preview. How it works Runs every morning on a schedule (or starts via a manual trigger). Loads your business settings (name, topic, language, video format, and CTA) from a central configuration. Uses Perplexity web research plus an OpenAI chat model to produce a structured caption, hashtags, and a cinematic text-to-video prompt. Sends the prompt to AtlasCloud to generate a short vertical video and waits before polling AtlasCloud for the render status. Repeats the wait-and-check loop until AtlasCloud reports the video render as completed. Prepares the final caption and video URL, then publishes the video to TikTok, YouTube, Instagram Reels, and Facebook Reels via Blotato and sends a Telegram message with the post preview and video link. Setup Add credentials for OpenAI, Perplexity, AtlasCloud (HTTP Header Auth), Blotato, and Telegram. Update the Configuration values (business name, topic, C

by Dr. Firas