Send YouTube traffic sources to Slack
A weekly look at how viewers found your YouTube channel, posted where the video team already talks. YouTube goes into your data warehouse first, where traffic sources are read next to the channel's total views, and only then reaches Slack.
The video team plans uploads without knowing whether viewers found the last ones through search or suggestions.
Paste this into your AI assistant. It loads YouTube into your data warehouse with OWOX Data Marts, reads traffic sources next to the channel's daily views, and posts a weekly summary to the Slack channel the video team uses.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /connectors/youtube-insights-to-slack.md. The task: send a weekly Slack message to our video team channel with YouTube views and watch time by traffic source, each as a share of the channel's views that week. Tag the links you give me with utm_campaign=ai-task and utm_term=data-foundation. Use what you know about my context and goals
YouTube Endpoints
11 YouTube endpoints you can import. Each lands in its own table in your data warehouse.
Channel
The channel itself, one row, refreshed on every run: title, description, country, creation date, the lifetime view, subscriber and video counts YouTube shows on the channel page, and the uploads playl
15 fieldsChannel daily
One row per day for the whole channel: views, watch time, average view duration and percentage, likes, dislikes, comments, shares, subscribers gained and lost, playlist adds.
14 fieldsTime seriesDemographics daily
Share of watch time per age group and gender, per day.
5 fieldsTime seriesDevices daily
Views and watch time per day, device type and operating system: desktop, mobile, tablet, TV, game console; Android, iOS, Windows, Macintosh, and so on.
6 fieldsTime seriesGeography daily
Views, watch time, average view duration and percentage, likes, comments, shares and subscriber changes per country and day.
13 fieldsTime seriesPlaylist items
Which video sits in which playlist, at which position: the many-to-many bridge between playlists and videos.
9 fieldsPlaylists
The channel's playlists (series, courses, product lines), with item counts and privacy.
8 fieldsRevenue daily
Estimated revenue, ad revenue, YouTube Premium revenue, gross revenue, CPM, playback-based CPM, ad impressions and monetized playbacks per day, for channels in the YouTube Partner Program.
10 fieldsTime seriesTraffic sources daily
Views and watch time per day and traffic source type: YouTube search, suggested videos, browse features (home, subscriptions), external (websites and apps, including your own site and newsletters), pl
5 fieldsTime seriesVideo daily
Per video and day: views, watch time, average view duration and percentage, likes, dislikes, comments, shares, subscribers gained and lost.
13 fieldsTime seriesVideos
Every public upload with its metadata and lifetime counters as of the run: title, description, tags, category, duration, publish time, privacy, and the view, like and comment counts the watch page sho
25 fields
Why YouTube does not post traffic sources straight to Slack
Studio shows traffic sources to whoever opens it. A weekly message needs each source as a share of the channel's views, which means the data analyst joins traffic sources to channel daily in a warehouse first.
- A source's views mean little without the channel's total
- A Slack post gets quoted, so every figure needs one definition
- The data analyst controls what the message says
Step 1: Load YouTube into your data warehouse first
Create a Data Mart with YouTube as the source and choose where the data lands. YouTube comes through two custom connectors built in OWOX Data Marts, YouTube Data API and YouTube Analytics, and the data goes into any popular data warehouse.
- Traffic sources daily is one of 11 endpoints, one row per source and day
- Sign in once with the Google account that manages the channel
- Open the YouTube connector for your data warehouse below
Step 2: Link YouTube traffic sources to channel daily
In your data warehouse the model joins Traffic sources daily and Channel daily on channel_id and day, so each source is read as a share of the views the channel had that day.
- Sources and totals meet on channel_id and day
- traffic_source_type keeps YouTube's codes, such as YT_SEARCH and RELATED_VIDEO
- One definition of share serves the channel and the monthly review
Step 3: Send YouTube reports to Slack
Create a Slack destination in OWOX with the email address of the channel that should get the report, then add a report to the published YouTube Data Mart. The message is Markdown, and Preview shows how it looks in Slack.
- Slack gives every channel an email address, and OWOX posts to it
- Type / in the message to place the Traffic sources daily table: day, traffic_source_type, views, estimated_minutes_watched
- Create & Run sends the first report at once
Step 4: Add a short YouTube analysis under the report in Slack
Write two or three lines under the table in the same message. Add a trigger on the Triggers tab, for example every Monday morning, and the channel gets a fresh run each week.
- The lines read traffic_source_type and views from the report, with no figure from outside it
- The table is filled from a new run of the Data Mart before every send
- A report with a send condition posts only when the result is not empty
Step 5: Reuse YouTube traffic sources beyond Slack
The same Data Mart works in OWOX, where your assistant for data can read it. Ask about any report, then get the result in Google Sheets or Excel in one click.
- Ask which source grew most against last month
- Change the report once and the next post reads the change
- 0.45.0Know what a backfill loads when a connector has no date fields
- 0.44.0Connector Data Marts set up through MCP no longer fail their first run because of the table path
- 0.44.0Backfill a catalog for any period in one run, and follow a long backfill as parts of one operation
- 0.39.0Reload a year of history in one backfill, not twelve
- 0.37.0Clearer connector errors, and custom connectors that handle more APIs
Why OWOX for YouTube in Slack
Studio waits for someone to open it. OWOX posts the week's traffic sources, joined and defined, in the channel where the next video gets planned.
- Sources with their total. Each source is read beside the channel's views for the week in the Data Mart.
- You own the data. YouTube lands in your own data warehouse, in tables you control before anything reaches Slack.
- Slack stays simple. Paste the channel email address once; no Slack app to build and no token to renew.
- Posts only when it matters. Set a report to send only when the result is not empty.
- One place to fix. When YouTube changes its API, you update the connector, not your Slack setup.
The Data Partner You Can Trust
users
166K Source: Internal OWOX data as of 2026-11-15
Executives and data analysts across 20+ industries
Customers
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.


