Skip to content
ZeeGrowth logozeegrowth
Ads & reportingFree

GA4 Traffic Drop Alert — Free n8n Workflow Template

This workflow checks your Google Analytics 4 data daily, compares sessions to the same day last week, and fires an alert via email or Slack if traffic drops below your threshold. Catch issues early before they become costly problems.

Free

Instant download · No signup · MIT license

Download JSON

Workflow nodes

Schedule TriggerHTTP RequestSetIFGmailSlackCodeSticky Note

Apps used

Setup guide

Requirements

  • An n8n instance (Cloud or self-hosted)
  • GA4 property with Data API enabled
  • Google OAuth credentials

Credentials

AppTypeWhere to get it
GoogleOAuth2Google Cloud Console → APIs & Services → Credentials (enable Analytics Data API)
  1. 1

    Download and import the JSON

    Download the template and import it via Workflows → Import from File.

  2. 2

    Add Google OAuth credentials

    Set up OAuth2 in Google Cloud Console with the GA4 Data API enabled.

  3. 3

    Set your GA4 property ID

    Open the HTTP Request node and enter your GA4 property ID.

  4. 4

    Set your drop threshold

    In the IF node, adjust the percentage drop that triggers an alert (default is 25%).

  5. 5

    Test and activate

    Run the workflow manually to verify it reads your GA4 data, then activate it.

Frequently asked questions

What counts as a traffic drop?+

By default, a 25% drop in sessions compared to the same day last week triggers an alert. You can adjust this threshold.

Can I monitor specific pages instead of the whole site?+

Yes. Add a dimension filter in the HTTP Request body to focus on specific page paths or landing pages.

Does it work with Universal Analytics?+

No. This template uses the GA4 Data API. Universal Analytics was retired in 2024.

Related templates

Want us to set it up for you?

We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.

Get setup help

Free n8n automations that grow your business.