Google analytics template
Configured with Baserow, Google Analytics, HTTP Request, Schedule Trigger. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Integration
- Code
- Web / API
- Data store
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Schedule Trigger | Trigger | Schedule Trigger | See node parameters |
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| Get Page Engagement Stats for this week | Integration | Google Analytics | See node parameters |
| Get Page Engagement Stats for prior week | Integration | Google Analytics | See node parameters |
| Parse data from Google Analytics | Code | Code | See node parameters |
| Parse GA data | Code | Code | See node parameters |
| Get Google Search Results for this week | Integration | Google Analytics | See node parameters |
| Get Google Search Results for last week | Integration | Google Analytics | See node parameters |
| Parse Google Analytics Data | Code | Code | See node parameters |
| Parse Google Analytics Data1 | Code | Code | See node parameters |
| Get Country views data for this week | Integration | Google Analytics | See node parameters |
| Get Country views data for last week | Integration | Google Analytics | See node parameters |
| Parse Google analytics data | Code | Code | See node parameters |
| Parse Google analytics data1 | Code | Code | See node parameters |
| Send page data to A.I. | Web / API | HTTP Request | POST |
| Send page Search data to A.I. | Web / API | HTTP Request | POST |
| Send country view data to A.I. | Web / API | HTTP Request | POST |
| Save A.I. output to Baserow | Data store | Baserow | create |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
googleAnalyticsOAuth2
Workflow notes
Send Google analytics to A.I. and save results to baserow
Send Google analytics to A.I. and save results to baserow
This workflow will check for country views, page engagement and google search console results. It will take this week's data and compare it to last week's data.
Property ID
Property ID
- Create your Google Analytics Credentials
- Enter your property ID.
Send data to A.I.
Send data to A.I.
Fill in your Openrouter A.I. credentials. Use Header Auth.
- Username: Authorization
- Password: Bearer {insert your API key}
Remember to add a space after bearer. Also, feel free to modify the prompt to A.1.
Send data to Baserow
Send data to Baserow
Create a table first with the following columns:
- Name
- Country Views
- Page Views
- Search Report
- Blog
Enter the name of your website under "Blog" field.
Google analytics template
Google analytics template
Purpose and structure
This folder contains the Google analytics template workflow. Its executable nodes use baserow, code, googleAnalytics, httpRequest, manualTrigger, scheduleTrigger. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Schedule Trigger, When clicking ‘Test workflow’
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Googleanalytics/1652_Googleanalytics_Code_Automation_Webhook.json MIT; preserve source notices.