See llms.txt for all machine-readable content.

Back to Templates

Send monthly SEO performance reports with GSC Magic and email

Quick overview

This workflow runs on the 1st of every month, pulls last month’s Google Search Console performance data via GSC Magic, generates a KPI-focused HTML report with a daily clicks chart attachment, and emails it to you for review or directly to your client.

How it works

  1. Runs automatically at 07:00 on the 1st day of each month.
  2. Reads the client settings and calculates the previous month’s start and end dates.
  3. If required client details are missing, generates a “Report not sent” HTML email explaining what needs to be filled in and sends it to the review address.
  4. If details are valid, calls GSC Magic to fetch daily clicks for the month (including a PNG chart) and calculates summary totals.
  5. Calls GSC Magic again to get the top gaining/losing pages versus the previous period and to fetch “quick win” query opportunities.
  6. Builds a formatted HTML email with clicks, impressions, CTR, average position, movers, opportunities, and attaches the clicks chart image.
  7. Emails the report to the review inbox when review mode is enabled, otherwise sends it to the client, and sends a “Report not sent” email if any GSC Magic call fails.

Setup

  1. Create a GSC Magic access token and add it as an HTTP Bearer Auth credential used by all GSC Magic HTTP Request steps.
  2. Configure an SMTP (or other email) credential for both email-sending steps and ensure the configured sender address is allowed to send.
  3. Update the Settings values for agency name, sender email, review mode/review email, and the client’s Search Console site property, name, and recipient email address.