Send weekly B2B campaign performance reports with Webmetic, OpenAI and Outlook

Go to Workflow
0 views
Built by Yannik Süß Yannik Süß
Created on October 16, 2026

Description

Quick Overview
This workflow runs every Monday, pulls first-time company visits from Webmetic for the past 7 days, groups them by UTM source and campaign, uses OpenAI to generate an HTML campaign performance report, and emails it to your team via Microsoft Outlook.

How it works
Runs every Monday at 08:00 on a schedule.
Loads the report settings (domain, recipient list, and language) and requests first-time company visits from the Webmetic Visitor Intelligence API for the last 7 days.
Extracts each company’s lead score plus its first-touch UTM source/medium and campaign, using “(direct)” and “(none)” when values are missing.
Sorts companies by lead score and summarizes results by source and campaign, producing counts and a concatenated company list per row.
Sends the grouped data to OpenAI to write a short HTML report with a summary, a source/campaign table with readable channel names, notable companies per paid campaign, and a budget recommendation.
Emails the generated HTML report through Microsoft Outlook to the configured recipients with a subject line that includes the total number of new companies.

Setup
Add your Webmetic credentials (Visitor Intelligence API key) and set the domain value in the workflow’s settings.
Add an OpenAI API credential for the Chat Model used to generate the report.
Add a Microsoft Outlook credential and set the recipient emails and preferred report language in the workflow’s settings.

This workflow was created by Yannik Süß and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (3)

AI Agent
@n8n/n8n-nodes-langchain.agent
Microsoft Outlook
n8n-nodes-base.microsoftOutlook
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi