Skip to main content

Utm link creator & QR code generator with scheduled Google Analytics reports

Workflow preview

Workflow preview
100%
Utm link creator & QR code generator with scheduled Google Analytics reports preview
Open on n8n.io

Important notice

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

1. Workflow Overview

UTM Link Creator & QR Code Generator with Scheduled Google Analytics Reports This workflow enables marketers to generate UTM tagged links , convert them into QR codes , and automate performance tra...

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.googleanalyticstool, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.airtable, n8n-nodes-base.httprequest

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Utm link creator & QR code generator with scheduled Google Analytics reports
Workflow name
Utm link creator & QR code generator with scheduled Google Analytics reports

UTM Link Creator & QR Code Generator with Scheduled Google Analytics Reports

This workflow enables marketers to generate UTM-tagged links, convert them into QR codes, and automate performance tracking in Google Analytics with scheduled reports every 7 days. This solution helps monitor traffic sources from different marketing channels and optimize campaign performance based on analytics data.


Prerequisites

Before implementing this workflow, ensure you have the following:

Google Analytics 4 (GA4) Account & Access

  • Ensure you have a GA4 property set up.
  • Access to the GA4 Data API to schedule performance tracking. Refer to the Google Analytics Data API Overview for more information.

Airtable Account & API Key

  • Create an Airtable base to store UTM links, QR codes, and analytics data.
  • Obtain an Airtable API key from your Account Settings. Detailed instructions are available in the Airtable API Authentication Guide.

Step-by-Step Guide to Setting Up the Workflow

1. Generate UTM Links

Create a form or interface to input:

  • Base URL (e.g., https://example.com)
  • Campaign Name (utm_campaign)
  • Source (utm_source)
  • Medium (utm_medium)
  • Term (Optional: utm_term)
  • Content (Optional: utm_content)

Append UTM parameters to generate a trackable URL.

2. Store UTM Links & QR Codes in Airtable

Set up an Airtable base with the following columns:

  • UTM Link
  • QR Code
  • Campaign Name
  • Source
  • Medium
  • Date Created

Adjust as needed based on your tracking requirements. For guidance on setting up your Airtable base and using the API, refer to the Airtable Web API Documentation.

3. Convert UTM Links to QR Codes

Use a QR code generator API (e.g., goqr.me, qrserver.com) to generate QR codes for each UTM link and store them in Airtable.

4. Schedule Google Analytics Performance Reports (Every 7 Days)

  • Use the Google Analytics Data API to pull weekly performance reports based on UTM parameters.
  • Extract key metrics such as:
    • Sessions
    • Users
    • Bounce Rate
    • Conversions
    • Revenue (if applicable)
  • Store the data in Airtable for tracking and analysis.

Adjust timeframe as needed

For more details on accessing and using the Google Analytics Data API, consult the Google Analytics Data API Overview.


Benefits of This Workflow

Track Marketing Campaigns: Easily monitor which channels drive traffic.

Automate QR Code Creation: Seamless integration of UTM links with QR codes.

Scheduled Google Analytics Reports: No manual reporting—everything runs automatically.

Improve Data-Driven Decisions: Optimize ad spend and marketing strategies based on performance insights.


This version ensures proper Markdown structure, includes relevant documentation links, and improves readability. Let me know if you need any further refinements! 🚀

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 - OpenAI Chat Model1

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

Block 2 - Window Buffer Memory

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

Block 3 - Google Analytics

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

Block 4 - Create UTM Link & Send To Database

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

Block 5 - Set UTM Parameters For Link

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Create UTM Link With Parameters

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

Block 7 - Submit UTM Link To Database

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 8 - Create QR Code With Submitted QR Link

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Schedule Google Analytics Report To Marketing Manager

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 10 - Google Analytics Data Analysis Agent

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

Block 11 - Send Summary Report To Marketing Manager

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

3. Summary Table

Workflow Utm link creator & QR code generator with scheduled Google Analytics reports
Complexity intermediate
Nodes 14
Categories Market Research
Author Marketing Canopy
Published 17 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2921/2921.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 Utm link creator & QR code generator with scheduled Google Analytics reports do?

UTM Link Creator & QR Code Generator with Scheduled Google Analytics Reports This workflow enables marketers to generate UTM tagged links , convert them into QR codes , and automate performance tra...

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 Market Research use case.