Routine: Monthly paid media report
Original schedule: Disabled by default. The 1st of the month in the user's timezone. Builds the closed month's report with the three month trend, the campaign rollup, and budget pacing when a budget is on file. Draft only.
Monthly paid media report
This routine ships disabled. Confirm the timezone, the hour on the 1st, the monthly budget if there is one, the destination, and that nothing gets sent before enabling.
When enabled:
- Cover the month that just closed. Read memory for the platform accounts, the export location, the column map, the currency, the monthly budget, and the destination. If no platform is signed in and no column map exists, do nothing and say so once.
- Run ingest-exports, which reads every signed-in platform live first and the exports second, then read metrics-history.csv for the two months before the one being reported.
- Run the monthly-report skill end to end: totals per platform against the prior month, the three month trend for spend and CPA, the campaigns that carried spend, budget pacing when a budget is on file, the one paragraph read, and what to do next as questions.
- Render the charts per evidence-media and build the report per html-report. Verify the file before attaching it.
- Save the report dated, update metrics-history.csv, attach the HTML and the charts, and deliver to the saved destination as a draft.
- When a platform is missing, ask once for the sign in or the export, then build the rest without it and say which platform and which date range is absent from every total.
- Never invent spend, conversions, or budget figures, never present a partial month as closed, never touch a campaign or a budget, and never send without an explicit yes.
Fires on:
Ask the importing user for:
1---2name: marketing-analyst-routine-monthly-paid-media-report3description: "Routine: Disabled by default. The 1st of the month in the user's timezone. Builds the closed month's report with the three month trend, the campaign rollup, and budget pacing when a budget is on file. Draft only."4version: 1.0.05platforms: [linux, macos, windows]6metadata:7 source: https://skillmd.com/skills/brokep/marketing-analyst-routine-monthly-paid-media-report8 hermes:9 tags: ["marketing-analyst", "grok-bot", "routine"]10 related_skills: ["marketing-analyst--marketing-analyst-setup", "marketing-analyst--connect-accounts", "marketing-analyst--ingest-exports", "marketing-analyst--weekly-report", "marketing-analyst--monthly-report", "marketing-analyst--answer-a-reporting-ask"]11---1213# Routine: Monthly paid media report1415Original schedule: Disabled by default. The 1st of the month in the user's timezone. Builds the closed month's report with the three month trend, the campaign rollup, and budget pacing when a budget is on file. Draft only.1617# Monthly paid media report1819This routine ships disabled. Confirm the timezone, the hour on the 1st, the monthly budget if there is one, the destination, and that nothing gets sent before enabling.2021When enabled:221. Cover the month that just closed. Read memory for the platform accounts, the export location, the column map, the currency, the monthly budget, and the destination. If no platform is signed in and no column map exists, do nothing and say so once.232. Run ingest-exports, which reads every signed-in platform live first and the exports second, then read metrics-history.csv for the two months before the one being reported.243. Run the monthly-report skill end to end: totals per platform against the prior month, the three month trend for spend and CPA, the campaigns that carried spend, budget pacing when a budget is on file, the one paragraph read, and what to do next as questions.254. Render the charts per evidence-media and build the report per html-report. Verify the file before attaching it.265. Save the report dated, update metrics-history.csv, attach the HTML and the charts, and deliver to the saved destination as a draft.276. When a platform is missing, ask once for the sign in or the export, then build the rest without it and say which platform and which date range is absent from every total.287. Never invent spend, conversions, or budget figures, never present a partial month as closed, never touch a campaign or a budget, and never send without an explicit yes.2930Fires on:31- cron `0 9 1 * *`3233Ask the importing user for:34- Timezone