Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Reports, Analytics & Dashboards

Reports, Analytics & Dashboards

Send weekly Search Console reports to Slack and Sheets with Claude Haiku

Every Monday pulls Google Search Console data for the last two weeks, computes metrics in code, has Claude write checked observations, then posts to Slack and logs to Sheets.

What it does

## Search Console weekly, with numbers you can trust Every Monday the workflow pulls last week and the week before from the Google Search Console API. Code computes every number (clicks, impressions, CTR, average position, top / new / lost queries and pages) as a numbered list of facts. Claude writes 3–5 short observations from those facts only, and code checks each one: every number must be in the facts it cites, every quoted query or page must exist. The report goes to Slack and one row per week to Google Sheets. ### How it works 1. Six API calls (totals, by query, by page, for both weeks). Data is 3 days behind, so the week ends 3 days ago. 2. Code builds the facts, and says how many impressions have a known query (Search Console hides rare ones). 3. Claude writes observations with the fact ids it used. A failed check is shown with a warning, never hidden. ### Setup 1. In Google Cloud, enable the Google Search Console API in the project of your OAuth client. 2. Create a Google OAuth2 API credential with the scope https://www.googleapis.com/auth/webmasters.readonly. 3. Put your property in Config (sc-domain:example.com or https://www.example.com/). 4. Blank Google Sheet: paste its ID in Spreadsheet ID, run Run once, select the sheet. Pick a Slack channel. ### Customization Change the language, the period, the minimum impressions and the list length in Config.

The steps

  1. Every Monday
  2. Run now
  3. Config
  4. Plan requests
  5. Query Search Console
  6. Build facts
  7. AI: Write observations
  8. Check and report
  9. To week row
  10. Add to Weekly tab
  11. Post to Slack
  12. Run once: set up the sheet
  13. Add the GSC weekly tab
  14. Write the header row

15 steps in total.

Similar automations