# Marketing campaign tracker: n8n workflow template

> Started by a clock, and works across Email. 17 steps, 2 branches: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/marketing-campaign-tracker (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Marketing campaign tracker

Started by a clock, and works across Email. 17 steps, 2 branches: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmarketing-campaign-tracker)

**17 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Logic 11 Service 5

The steps in the order they run, from what starts it.

- 1 **Hourly Campaign Check** Schedule trigger *Starts it*
- 2 **Fetch Active Campaigns Data** Http Request *Service*
- 3 **Validate Campaign Data** If *Logic*
- 4 **Campaign Fetch Error Handler** No Op *Logic*
- 5 **Calculate Campaign Metrics** Code *Logic*
- 6 **Store Updated Campaign Metrics** Http Request *Service*
- 7 **Aggregate Campaign Statistics** Aggregate *Logic*
- 8 **Identify High-Performing Campaigns** If *Logic*
- 9 **Metrics Update Error Handler** No Op *Logic*
- 10 **Format Daily Report Data** Code *Logic*
- 11 **Retrieve Top Performing Content** Http Request *Service*
- 12 **Send Daily Performance Report Email** Email Send *Service*
- 13 **Generate A/B Test Variations** Code *Logic*
- 14 **Content Fetch Error Handler** No Op *Logic*
- 15 **Email Send Error Handler** No Op *Logic*
- 16 **Save A/B Test Content to Database** Http Request *Service*
- 17 **A/B Test Storage Error Handler** No Op *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 17, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Email
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Email account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmarketing-campaign-tracker)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Email](https://millionrounds.com/workflows?service=Email#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Email reports on expiring Microsoft Entra ID app secrets** 16 steps · Email](https://millionrounds.com/workflow/email-reports-on-expiring-microsoft-entra-id-app-secrets)
- [**Automated finance tracker with Gmail and Google Sheets** 16 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/automated-finance-tracker-with-gmail-and-google-sheets)
- [**Bright Data-powered competitive price lookup and report generator** 18 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/bright-data-powered-competitive-price-lookup-and-report-gene)
- [**Generate HIPAA-safe patient-friendly EMR summaries with OpenAI** 16 steps · calls a model · Email, Google Drive](https://millionrounds.com/workflow/generate-hipaa-safe-patient-friendly-emr-summaries-with-open)
- [**Send GPT-4 Telegram polls to multiple groups** 18 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/send-gpt-4-telegram-polls-to-multiple-groups)
- [**Back up GitHub repositories with Amazon S3** 15 steps · Email, S3](https://millionrounds.com/workflow/back-up-github-repositories-with-amazon-s3)
