Weekly Airbyte cost and volume report to leadership

Every Monday at 7am, get an HTML email showing which Airbyte connections drove the most rows, ran the slowest, and doubled in volume since last week.

Deterministic Code
AirbyteGmailOperationsFinanceAI ReportsEmail AutomationDaily Digests
PromptCreate

Every Monday at 7am, pull the last 7 days of Airbyte sync activity and email a volume and cost report to data leadership and finance.

Step 1. Call Airbyte List Connections to fetch every connection across accessible workspaces. Keep the connection id, connection name, source name, destination name, and workspace for each one.

Step 2. Call Airbyte List Jobs twice, both scoped to jobType=sync. First call: createdAtStart set to 7 days ago and createdAtEnd set to now (this week). Second call: createdAtStart 14 days ago and createdAtEnd 7 days ago (prior week). Page through with limit=100 and increasing offset until all jobs are returned.

Step 3. For every job in both windows, call Airbyte Get Job Details to retrieve status, rowsSynced, bytesSynced, and duration. Group both sets by connectionId.

Step 4. For each connection with jobs in the current week, calculate total rows synced (sum of rowsSynced), total sync duration (sum of duration, formatted as hours plus minutes), success rate (jobs with status=succeeded divided by total jobs, as a percentage), prior-week rows synced (same sum for the prior 7-day window), and growth ratio (this-week rows divided by prior-week rows).

Step 5. Build a single HTML email with two sorted tables and a footer. Table 1 header 'Top 10 connections by volume this week', with columns Connection, Source, Destination, Rows Synced, Sync Duration, and Success Rate, sorted by rows synced descending, first 10 rows. Table 2 header '5 slowest connections', same columns, sorted by total sync duration descending, first 5 rows. Footer section titled 'Cost watch: connections growing more than 2x week over week', with one line per connection whose growth ratio is greater than 2.0, formatted like 'Connection Name: 1,234,567 rows this week vs 480,000 last week (2.6x)'. If no connection tripped the threshold, write 'No connections doubled week over week.'. Use inline CSS for basic table styling (borders, header row background, padding, right-aligned numeric columns). No external images or scripts. Include a plain-text summary line at the top with total rows synced this week across all connections and the delta versus prior week.

Step 6. Send the email with Gmail Send a Message. Set the To header to the data leadership and finance distribution list, Subject to 'Airbyte weekly volume report for <this Monday's date>', and the body to the HTML report from step 5. Set the Content-Type header to text/html so recipients see the formatted table.

Notes. Only include jobs with jobType=sync in the metrics; ignore resets. If Get Job Details returns rowsSynced as null or zero for a succeeded job, treat it as zero and keep going. If a connection has no jobs this week but did last week, do not list it in the two tables, but still evaluate it for the growth footer (its growth ratio will be zero, which is not greater than 2). Round success rate to the nearest whole percentage. Format row counts with thousands separators.

Additional information

What does this prompt do?
  • Adds up rows synced, sync duration, and success rate for every Airbyte connection over the last 7 days.
  • Ranks your 10 highest-volume connections and your 5 slowest into a single email-friendly HTML table.
  • Flags any connection whose row count more than doubled versus the prior week, so cost spikes land in front of finance and data leadership.
  • Delivers the whole report as a formatted email to your distribution list before Monday work begins.
What do I need to use this?
  • An Airbyte Cloud account with access to the connections you want reported on.
  • A Gmail account with permission to send email on your behalf.
  • A distribution list or list of email addresses for your data leadership and finance stakeholders.
How can I customize it?
  • Change the send day and time (default: Monday at 7am).
  • Adjust the growth threshold that flags a connection in the footer (default: more than 2x versus the prior week).
  • Swap the recipient list, subject line, or table sizes (default: top 10 by volume and 5 slowest).

Frequently asked questions

Which Airbyte plan does this work with?
Any Airbyte Cloud account you can log into and see connections in. The report reads whatever connections that login has access to.
What time window does 'last 7 days' actually cover?
The window is anchored to when the workflow runs. If you schedule it for Monday at 7am in your time zone, it pulls the seven days ending that Monday morning and compares them to the seven days before that.
What happens if a connection had zero syncs last week?
It will not be flagged as a 2x jump, since there is no meaningful comparison from zero. It still shows up in the top volume or slowest tables based on this week's activity.
Does finance need Airbyte access to read the report?
No. The report arrives as a formatted email in their inbox, so anyone on the distribution list can open it without an Airbyte login.
Can I send this to Outlook or another email tool instead of Gmail?
The workflow uses Gmail to send, so the sending account has to be a Gmail or Google Workspace mailbox. The recipients can be on any email provider.

Get cost spikes in the inbox before Monday morning.

Turn Airbyte usage into a weekly email your leadership team can actually read.