Skip to main content

Generate marketing campaign ROI reports with Google Sheets, GPT-4o and Email

Workflow preview

Workflow preview
100%
Generate marketing campaign ROI reports with Google Sheets, GPT-4o and Email preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n workflow pulls campaign data from Google Sheets, summarizes it using OpenAI, and sends a performance recap via Outlook email. Step 1: Connect Google Sheets 1. In n8n, go to Credentials β†’...

Best for

  • AI Summarization automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.googlesheets, n8n-nodes-base.summarize, n8n-nodes-base.aggregate, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Robert Breen.

Original n8n.io source

1.1 Workflow description

Title
Generate marketing campaign ROI reports with Google Sheets, GPT-4o and Email
Workflow name
Generate marketing campaign ROI reports with Google Sheets, GPT-4o and Email

This n8n workflow pulls campaign data from Google Sheets, summarizes it using OpenAI, and sends a performance recap via Outlook email.


βœ… Step 1: Connect Google Sheets

  1. In n8n, go to Credentials β†’ click New Credential
  2. Select Google Sheets OAuth2 API
  3. Log in with your Google account and authorize
  4. Use a spreadsheet with:
    • Column names in the first row
    • Data in rows 2–100
  5. Example format: πŸ“„ Sample Marketing Sheet

βœ… Step 2: Connect OpenAI

  1. Go to OpenAI API Keys
  2. Make sure you have a payment method set under Billing
  3. In n8n, create a new OpenAI API credential
  4. Paste your API key and save

πŸ“¬ Need Help?

Feel free to contact me if you run into issues:

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Start Workflow

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 3 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 4 - Structured Output Parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 5 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Get Data

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 9 - Sum Campaigns

Type / Role
n8n-nodes-base.summarize - summarize
Config choices
Version 1.1

Block 10 - Sum Channels

Type / Role
n8n-nodes-base.summarize - summarize
Config choices
Version 1.1

Block 11 - Combine

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 12 - Combine

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 13 - Merge Results

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 14 - Convert to Text

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Analyze Marketing Data

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 16 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate marketing campaign ROI reports with Google Sheets, GPT-4o and Email
Complexity advanced
Nodes 16
Categories AI Summarization, Multimodal AI
Author Robert Breen
Published 19 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7586/7586.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate marketing campaign ROI reports with Google Sheets, GPT-4o and Email do?

This n8n workflow pulls campaign data from Google Sheets, summarizes it using OpenAI, and sends a performance recap via Outlook email. Step 1: Connect Google Sheets 1. In n8n, go to Credentials β†’...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Summarization, Multimodal AI use case.