Connector

Send YouTube countries to Google Chat

Where your YouTube viewers watched from on the latest full day reported, summed up in the team space each morning. YouTube goes into your data warehouse first, where each country is read against the channel's total for the day, and only then reaches Google Chat.

YouTubeConnectedChannelChannel dailyDemographics da…Devices daily
Data MartPublishedone definition
Google ChatChann…DayViewsDaily 09:00
Refreshed on a schedule. No exports, no copy-paste.

Get started free

Hand this to your AI

A YouTube video takes off in a new country and the team hears about it a week later.

Paste this into your AI assistant. It loads YouTube into your data warehouse with OWOX Data Marts, reads geography daily next to the channel's daily views, and posts the top countries to your Google Chat space each morning.

The prompt

post a morning summary to our Google Chat space of the latest full day's YouTube views and watch time by country, each as a share of the channel's views, with subscribers gained

Endpoints

YouTube Endpoints

Documentation

11 YouTube endpoints you can import. Each lands in its own table in your data warehouse.

S00 · Why

Why YouTube does not post countries straight to Google Chat

Studio lists top countries for a period someone picks. A morning message needs each country as a share of the day's views, and the markets the team cares about kept even on a quiet day, so the data analyst joins it in a data warehouse first.

  • A country's views mean little without the day's total
  • Countries with too few viewers are left out by YouTube
  • country means the same in the space and in reports
YouTubeViews by country
Google Chat
No link to totals
Data warehouseJoined by id
ChannelTotal views
OrdersSales by country

S01 · Step 1

Step 1: Load YouTube into your data warehouse first

Create a Data Mart with YouTube as the data 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.

  • Geography daily is one of 11 endpoints, one row per country and day
  • Sign in once with the Google account that manages the channel
  • Open the YouTube connector for your data warehouse below
YouTubeData Mart
Your data warehouseGoogle BigQueryAWS AthenaSnowflakeAWS RedshiftDatabricks
youtube.geography_daily

S03 · Step 3

Step 3: Send YouTube reports to Google Chat

Add an incoming webhook in the Chat space (Apps & integrations, Add webhooks), paste its URL into a Google Chat destination in OWOX, and attach a report of the YouTube Data Mart. The message is a Markdown template.

  • The message is a card with the subject, the Data Mart name, your text and a link back to the report
  • The Geography daily table carries day, country, views, estimated_minutes_watched
  • Tables arrive as monospace blocks, and a long report is split into numbered parts
Google ChatWeeklyDaily YouTube countriesdaycountryviewsestimated_minut…

S04 · Step 4

Step 4: Add a short YouTube analysis under the report in Chat

Write the reading under the table in the template, or let an Insight on the same Data Mart write it. Then add a trigger on the Triggers tab: OWOX runs the Data Mart first and checks the sending condition.

  • The reading comes from country and views in the report
  • One space can receive several reports, each with its own trigger
  • Send always, or only when the result is not empty, so a quiet day stays quiet
Google ChatDaily YouTube countriesdaycountryviewsestimated_minut…Analysiscountry shows where the latest full day's views came fromestimated_minutes_watched shows which markets bring the most watch timesubscribers_gained shows which markets are adding followers

S05 · Step 5

Step 5: Reuse YouTube countries beyond Chat

The Data Mart behind your Chat message also works in OWOX, where your AI assistant for data can read it. Ask about any report, then get it in Google Sheets or Excel in one click.

  • Ask which country gained the most subscribers this month
  • Change the report once and the next Chat message reads the change
OWOX MCPShow estimated_minutes_watched by countrycountry
Google SheetsOpen
ExcelOpen

Recent updates

Why OWOX

Why OWOX for YouTube in Google Chat

A list of top countries changes with the period you pick. OWOX posts the same markets every morning, from the same Data Mart the monthly review reads.

  • Countries with their total. Each country is read beside the day's total views in the Data Mart.
  • You own the data. YouTube lands in your own data warehouse, in tables you control before anything reaches Chat.
  • Quiet days stay quiet. Send only when the result is not empty.
  • One place to fix. When the YouTube Analytics API changes, you update the connector, not your Chat setup.

Book a callGet started free

Trust

The Data Partner You Can Trust

users

166K Source: Internal OWOX data as of 2026-11-15

Executives and data analysts across 20+ industries

G2 rating

4.9★2

“A trusted data analytics partner” — verified review

npm installs

171K3

In Open Source We Trust

Customers