Online Marketing Weekly Report
Configured with Agent, Email Send, Execute Workflow Trigger, Facebook Graph Api, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- AI & models
- Subworkflow
- Integration
- Code
- Transform
- Web / API
- Messaging
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 |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Google_Ads | Subworkflow | Tool Workflow | See node parameters |
| Meta_Ads | Subworkflow | Tool Workflow | See node parameters |
| Analytics_Domain_1 | Subworkflow | Tool Workflow | See node parameters |
| Analytics_Domain_3 | Subworkflow | Tool Workflow | See node parameters |
| Analytics_Domain_2 | Subworkflow | Tool Workflow | See node parameters |
| Analytics_Domain_4 | Subworkflow | Tool Workflow | See node parameters |
| Analytics_Domain_5 | Subworkflow | Tool Workflow | See node parameters |
| Execute Workflow Trigger | Trigger | Execute Workflow Trigger | See node parameters |
| Calculator | Integration | Tool Calculator | See node parameters |
| Calculator1 | Integration | Tool Calculator | See node parameters |
| Calculator3 | Integration | Tool Calculator | See node parameters |
| Call Google Analytics data: Last 7 days | Integration | Google Analytics | See node parameters |
| Call Google Analytics data: Last 7 days (previous year) | Integration | Google Analytics | See node parameters |
| Calculation same period previous year | Code | Code | See node parameters |
| Format data input (previous year) | Code | Code | See node parameters |
| Format data input (current year) | Code | Code | See node parameters |
| Assign data from input (current year) | Transform | Edit Fields | See node parameters |
| Summarize input (current year) | Transform | Summarize | See node parameters |
| Assign input (previous year) | Transform | Edit Fields | See node parameters |
| Summarize input (previous year) | Transform | Summarize | See node parameters |
| Calculate date format for Google Ads request (last 7 days) | Code | Code | See node parameters |
| Call Google Ads Data: Last 7 days | Web / API | HTTP Request | POST |
| Call Google Ads Data: Last 7 days (previous year) | Web / API | HTTP Request | POST |
| Call Meta Ads Data: Last 7 days | Integration | Facebook Graph Api | See node parameters |
| Call Meta Ads Data: Last 7 days (previous year) | Integration | Facebook Graph Api | See node parameters |
| Summarize Meta input (current year) | Transform | Summarize | See node parameters |
| Assign Meta data from input (current year) | Transform | Edit Fields | See node parameters |
| Assign Meta data input (previous year) | Transform | Edit Fields | See node parameters |
| Summarize Meta data input (previous year) | Transform | Summarize | See node parameters |
| Format all Meta data for LLM | Code | Code | See node parameters |
| Processing for Google Ads report | AI & models | Open Ai | See node parameters |
| Format all Google data for LLM | Code | Code | See node parameters |
| Assign Google Analytics data input (current year) | Transform | Edit Fields | See node parameters |
| Summarize Google Analytics input (current year) | Transform | Summarize | See node parameters |
| Calculate date format for meta ads request s | Code | Code | See node parameters |
| Calculation same period previous year1 | Code | Code | See node parameters |
| Assign Google Analytics data input (previous year) | Transform | Edit Fields | See node parameters |
| Summarize Google Analytics input (previous year) | Transform | Summarize | See node parameters |
| Send mail report | Messaging | Email Send | See node parameters |
| Processing for Meta Ads Report | AI & models | Open Ai | See node parameters |
| Processing for Google Analytics Report | AI & models | Open Ai | See node parameters |
| Processing for Telegram Report | AI & models | Open Ai | See node parameters |
| Weekly Report Agent | AI & models | Agent | See node parameters |
| Send Telegram report | Messaging | Telegram | See node parameters |
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
facebookGraphApigoogleAdsOAuth2ApigoogleAnalyticsOAuth2googleOAuth2ApiopenAiApismtptelegramApi
Workflow notes
Sticky Note1
Welcome to Online Marketing Weekly Report Workflow!
This workflow has the following sequence:
- time trigger (e.g. every Monday at 7 a.m.)
- retrieval of Online Marketing data from the last 7 days (via sub workflows)
- assignment and summary of the data
- retrieval of Online Marketing data from the same time period of the previous year
- allocation and summary of the data
- preparation in tabular form and brief analysis by AI.
- sending the report as an email
- preparation in short form by AI for Telegram (optional)
- sending as Telegram message.
The following accesses are required for the workflow:
- Google Analytics (via Google Analytics API): Documentation
- Google Ads (via HTTP Request -> Google Ads API):Documentation
- Meta Ads (via Facebook Graph API): Documentation
- AI API access (e.g. via OpenAI, Anthropic, Google or Ollama)
- SMTP access data (for sending the mail)
- Telegram access data (optional for sending as Telegram message): Documentation
You can contact me via LinkedIn, if you have any questions: https://www.linkedin.com/in/friedemann-schuetz
Online Marketing Weekly Report
Online Marketing Weekly Report
Purpose and structure
This folder contains the Online Marketing Weekly Report workflow. Its executable nodes use agent, code, emailSend, executeWorkflowTrigger, facebookGraphApi, googleAnalytics, httpRequest, lmChatOpenAi, openAi, scheduleTrigger, set, summarize, telegram, toolCalculator, toolWorkflow. 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, Execute Workflow Trigger
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/Telegram/1905_Telegram_Googleanalytics_Automation_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Sub-Workflow: Google Analytics Data
- Sub-Workflow: Meta Ads Data
- Main Workflow: Weekly Report Assistant
- Sub-Workflow: Google Ads Data