Skip to main content

Overview

Content creators and music labels need to aggregate analytics from multiple streaming platforms — Spotify, YouTube, Apple Music, and others. Each platform has its own dashboard with different layouts and export formats. Manually logging in to each one and downloading reports is time-consuming and error-prone. Refrain automates the entire flow: log in, navigate to the analytics page, apply date filters, and export the data.

Example runbook

Generate and execute

1

Generate the runbook

2

Execute and download

3

Merge multiple platforms

Run separate runbooks for each platform and use --merge-downloads to combine CSV exports:

Why this works well

  • Multi-platform — Create one runbook per platform and run them all on a schedule.
  • Download handling — Automatically download and organize exported files.
  • Zero rerun cost — Monthly report collection runs without AI tokens.
  • Self-healing — Dashboard redesigns are handled automatically.

What’s next

Execute a runbook

Learn about downloads and file exports.

Variables and secrets

Manage credentials for multiple platforms.