See llms.txt for all machine-readable content.

Perplexity and YouTube integration

Save yourself the work of writing custom integrations for Perplexity and YouTube and use n8n instead. Build adaptable and scalable Utility, AI, workflows that work with your technology stack. All within a building experience you will love.

How to connect Perplexity and YouTube

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Perplexity and YouTube integration: Create a new workflow and add the first step

Create a daily AI & automation content digest from YouTube, Reddit, X and Perplexity with OpenAI and Airtable

What It Does This workflow automates the creation of a daily AI and automation content digest by aggregating trending content from four sources: YouTube (n8n-related videos with AI-generated transcript summaries), Reddit (rising posts from r/n8n), X/Twitter (tweets about n8n, AI automation, AI agents, and Claude via Apify scraping), and Perplexity AI (top 3 trending AI news stories). The collected data is analyzed using OpenAI models to extract key insights, stored in Airtable for archival, and then compiled into a beautifully formatted HTML email report that includes TL;DR highlights, content summaries, trending topics, and AI-generated content ideas—delivered straight to your inbox via Gmail. Setup Guide Prerequisites You will need accounts and API credentials for the following services: ┌──────────────────┬───────────────────────────────────────────────┐ │ Service │ Purpose │ ├──────────────────┼───────────────────────────────────────────────┤ │ YouTube Data API │ Fetch video metadata and search results │ ├──────────────────┼───────────────────────────────────────────────┤ │ Apify │ Scrape YouTube transcripts and X/Twitter data │ ├──────────────────┼───────────────────────────────────────────────┤ │ Reddit API │ Pull trending posts from subreddits │ ├──────────────────┼───────────────────────────────────────────────┤ │ Perplexity AI │ Get real-time AI news summaries │ ├──────────────────┼───────────────────────────────────────────────┤ │ OpenAI │ Content analysis and summarization │ ├──────────────────┼───────────────────────────────────────────────┤ │ OpenRouter │ Report generation (GPT-4.1) │ ├──────────────────┼───────────────────────────────────────────────┤ │ Airtable │ Store collected content │ ├──────────────────┼───────────────────────────────────────────────┤ │ Gmail │ Send the daily report │ └──────────────────┴───────────────────────────────────────────────┘ Step-by-Step Setup Import the workflow into your n8n instance Configure YouTube credentials: Set up YouTube OAuth2 credentials Replace YOURAPIKEY in the "Get Video Data" HTTP Request node with your YouTube Data API key Configure Apify credentials: In the "Get Transcripts" and "Scrape X" HTTP Request nodes, replace YOURAPIKEY in the Authorization header with your Apify API token Configure Reddit credentials: Set up Reddit OAuth2 credentials (see note below) Configure AI service credentials: Add your Perplexity API credentials Add your OpenAI API credentials Add your OpenRouter API credentials Configure Airtable: Create a base called "AI Content Hub" with three tables: YouTube Videos, Reddit Posts, and Tweets Update the Airtable nodes with your base and table IDs Configure Gmail: Set up Gmail OAuth2 credentials Replace YOUREMAIL in the Gmail node with your recipient email address Customize search terms (optional): Modify the YouTube search query in "Get Videos" node Adjust the subreddit in "n8n Trending" node Update Twitter search terms in "Scrape X" node Important Note: Reddit API Access The Reddit node requires OAuth2 authentication. If you do not already have a Reddit developer account, you will need to submit a request for API access: Go to https://www.reddit.com/prefs/apps Click "create another app..." at the bottom Select "script" as the application type Fill in the required fields (name, redirect URI as http://localhost) Important: Reddit now requires additional approval for API access. Visit https://www.reddit.com/wiki/api to review their API terms and submit an access request if prompted Once approved, use your client ID and client secret to configure the Reddit OAuth2 credentials in n8n API approval can take 1-3 business days depending on your use case. Recommended Schedule Set up a Schedule Trigger to run this workflow daily (e.g., 7:00 AM) for a fresh content digest each morning.

Build your own Perplexity and YouTube integration

Create custom Perplexity and YouTube workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Perplexity supported actions

YouTube supported actions

Perplexity and YouTube integration details

Perplexity

Perplexity

Perplexity is an AI‑powered answer engine that combines real‑time web search with natural‑language responses and inline citations. Available on web, desktop, and mobile, it supports conversational follow‑ups, file upload, voice input, image generation, and deep‑research tools via its Pro tier.

YouTube

YouTube

YouTube is the best video hosting and social media website where users can upload, watch, comment, rate and share streaming videos. It is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.

Other integrations with Perplexity and YouTube

Automate lead management

Using too many marketing tools? n8n lets you orchestrate all your apps into one cohesive, automated workflow.

Learn more

FAQ about Perplexity integrations

Need help setting up your Perplexity and YouTube integration?

Discover our latest community's recommendations and join the discussions about Perplexity and YouTube integration.

  • Tarek Moubarek

    YouTube Upload Node Fails with "Media type 'application/mp4' is not supported" Error

    Tarek Moubarek

    Bug Report: YouTube Upload Node Fails with “Media type ‘application/mp4’ is not supported” Error Summary The n8n YouTube node consistently fails when uploading standard .mp4 video files. It returns a HTTP 400 Bad Reque…

    Open topic
  • Jan Koch

    YouTube upload is failing

    Jan Koch

    Describe the problem/error/question I want to upload a Video from Google Drive to YouTube. I get the file downloaded and into a binary field but the upload in the YouTube node is failing with an “internal error” message.…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Perplexity with YouTube

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window