π YouTube analytics data reporting API integration for AI agents
β‘ 162 views Β· π Market Research & Insights
Description
Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?
Complete MCP server exposing 8 YouTube Reporting API operations to AI agents.
β‘ Quick Setup
- Import this workflow into your n8n instance
- Credentials Add YouTube Reporting API credentials
- Activate the workflow to start your MCP server
- Copy the webhook URL from the MCP trigger node
- Connect AI agents using the MCP URL
π§ How it Works
This workflow converts the YouTube Reporting API into an MCP-compatible interface for AI agents.
β’ MCP Trigger: Serves as your server endpoint for AI agent requests
β’ HTTP Request Nodes: Handle API calls to https://youtubereporting.googleapis.com/
β’ AI Expressions: Automatically populate parameters via $fromAI() placeholders
β’ Native Integration: Returns responses directly to the AI agent
π Available Operations (8 total)
π§ V1 (8 endpoints)
⒠GET /v1/jobs: Retrieve Report Metadata ⒠POST /v1/jobs: Creates a job and returns it. ⒠DELETE /v1/jobs/{jobId}: Deletes a job. ⒠GET /v1/jobs/{jobId}: Gets a job. ⒠GET /v1/jobs/{jobId}/reports: Lists reports created by a specific job. Returns NOT_FOUND if the job does no⦠⒠GET /v1/jobs/{jobId}/reports/{reportId}: Gets the metadata of a specific report. ⒠GET /v1/media/{resourceName}: Method for media download. Download is supported on the URI `/v1/media/{+name⦠⒠GET /v1/reportTypes: List Report Types
π€ AI Integration
Parameter Handling: AI agents automatically provide values for: β’ Path parameters and identifiers β’ Query parameters and filters β’ Request body data β’ Headers and authentication
Response Format: Native YouTube Reporting API responses with full data structure
Error Handling: Built-in n8n HTTP request error management
π‘ Usage Examples
Connect this MCP server to any AI agent or workflow:
β’ Claude Desktop: Add MCP server URL to configuration β’ Cursor: Add MCP server SSE URL to configuration β’ Custom AI Apps: Use MCP URL as tool endpoint β’ API Integration: Direct HTTP calls to MCP endpoints
β¨ Benefits
β’ Zero Setup: No parameter mapping or configuration needed
β’ AI-Ready: Built-in $fromAI() expressions for all parameters
β’ Production Ready: Native n8n HTTP request handling and logging
β’ Extensible: Easily modify or add custom logic
> π Free for community use! Ready to deploy in under 2 minutes.
π Nodes Used
MCP Server Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File