... or watch set up video [13 min]
Configured with Agent, Chat Trigger, Execute Workflow Trigger, HTTP Request, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- AI & models
- Subworkflow
- Data store
- Trigger
- Web / API
- Transform
- Routing
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| get_channel_details | Subworkflow | Tool Workflow | See node parameters |
| get_video_description | Subworkflow | Tool Workflow | See node parameters |
| get_list_of_videos | Subworkflow | Tool Workflow | See node parameters |
| get_list_of_comments | Subworkflow | Tool Workflow | See node parameters |
| search | Subworkflow | Tool Workflow | See node parameters |
| analyze_thumbnail | Subworkflow | Tool Workflow | See node parameters |
| video_transcription | Subworkflow | Tool Workflow | See node parameters |
| Postgres Chat Memory | Data store | Memory Postgres Chat | See node parameters |
| AI Agent | AI & models | Agent | See node parameters |
| When chat message received | Trigger | Chat Trigger | See node parameters |
| Get Comments | Web / API | HTTP Request | See node parameters |
| Execute Workflow Trigger | Trigger | Execute Workflow Trigger | See node parameters |
| Get Channel Details | Web / API | HTTP Request | See node parameters |
| Get Video Description | Web / API | HTTP Request | See node parameters |
| Edit Fields | Transform | Edit Fields | See node parameters |
| Run Query | Web / API | HTTP Request | See node parameters |
| Get Videos by Channel | Web / API | HTTP Request | See node parameters |
| Response | Transform | Edit Fields | See node parameters |
| Switch | Routing | Switch | See node parameters |
| Get Video Transcription | Web / API | HTTP Request | POST |
| OpenAI | AI & models | Open Ai | image / analyze |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
httpQueryAuthopenAiApipostgres
Workflow notes
AI Agent To Chat With Youtube
AI Agent To Chat With Youtube
Made by Mark Shcherbakov from community 5minAI
Navigating the content generation and optimization process can be complex, especially without significant audience insight. This workflow automates insights extraction from YouTube videos and comments, empowering users to create more engaging and relevant content effectively.
The workflow integrates various APIs to gather insights from YouTube videos, enabling automated commentary analysis, video transcription, and thumbnail evaluation. The main functionalities include:
- Extracting user preferences from comments.
- Transcribing video content for enhanced understanding.
- Analyzing thumbnails via AI for maximum viewer engagement insights.
Set up steps
Set up steps
- API Setup:
- Create a Google Cloud project and enable the YouTube Data API.
- Generate an API key for Apify.
- Generate API key for OpenAI
- Create all credentials in N8N - OpenAI, Apify, Google Cloud.
- YouTube Creator and Video Selection:
- Start by defining a request to identify top creators based on their video views.
- Capture the YouTube video IDs for further analysis of comments and other video metrics.
- Comment Analysis:
- Gather comments associated with the selected videos and analyze them for user insights.
- Implement pagination to handle the maximum comment retrieval limits in API requests.
- Video Transcription:
- Request transcriptions for videos of interest, ensuring to manage potential costs associated with longer video processing.
- Utilize the insights from transcriptions to formulate content plans.
- Thumbnail Analysis:
- Evaluate your video thumbnails by submitting the URL through the OpenAI API to gain insights into their effectiveness.
- Data Management:
- Incorporate a database agent to organize video data and metrics, allowing efficient record management and future content planning.
... or watch set up video [13 min]
... or watch set up video [13 min]
Purpose and structure
This folder contains the ... or watch set up video [13 min] workflow. Its executable nodes use agent, chatTrigger, executeWorkflowTrigger, httpRequest, lmChatOpenAi, memoryPostgresChat, openAi, set, switch, toolWorkflow. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When chat message received, Execute Workflow Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Http/1440_HTTP_Executeworkflow_Automation_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Scenario 1: AI agent
- Scenario 2: Agent tools
- Replace credentials
- Replace credentials in all nodes - Apify, OpenAI, Google