Skip to main content

Send daily marketplace KPI reports via Slack and Microsoft Outlook

Workflow preview

Workflow preview
100%
Send daily marketplace KPI reports via Slack and Microsoft Outlook preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow runs daily at 10am, reads a marketplaces configuration file, fetches KPI statistics from marketplace APIs via HTTP requests, compiles the results into an Excel file, th...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.microsoftoutlook, n8n-nodes-base.set, n8n-nodes-base.readwritefile, n8n-nodes-base.splitout, n8n-nodes-base.splitinbatches, n8n-nodes-base.scheduletrigger, n8n-nodes-base.slack

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Send daily marketplace KPI reports via Slack and Microsoft Outlook
Workflow name
Send daily marketplace KPI reports via Slack and Microsoft Outlook

Quick Overview

This workflow runs daily at 10am, reads a marketplaces configuration file, fetches KPI statistics from marketplace APIs via HTTP requests, compiles the results into an Excel file, then posts a Slack notification and emails the file using Microsoft Outlook while also saving it to disk.

How it works

  1. Runs every day at 10am on a scheduled trigger.
  2. Reads /home/node/.n8n-files/config/marketplaces.json from disk and parses it as JSON to get the list of marketplaces to process.
  3. Iterates through each marketplace entry and calls the marketplace stats endpoint with an HTTP GET request using environment-variable-based URL parts and an Authorization header.
  4. Extracts KPI fields from each API response (offers, orders, evaluations, grades, and various rates) and builds a consolidated metrics dataset with the current date.
  5. Converts the consolidated dataset into an .xlsx file and attaches it to a Microsoft Outlook email.
  6. Sends a Slack message to confirm the KPI file was sent, and writes the same Excel file to /home/node/.n8n-files/share_files/.

Setup

  1. Create the marketplaces.json file at /home/node/.n8n-files/config/marketplaces.json with a data array containing each marketplace’s marketplace name plus the baseUrlEnv, endpointstatsEnv, and apiKeyEnv environment-variable keys used to build the request.
  2. Define the required environment variables in your n8n environment for each marketplace (base URL, stats endpoint path, and API key/token used in the Authorization header).
  3. Add Microsoft Outlook OAuth2 credentials, set the recipient email address and message body in the Outlook node, and ensure attachments are allowed for your tenant.
  4. Add Slack OAuth2 credentials and select the target channel for the confirmation message.
  5. Ensure the n8n instance has read access to the config path and write access to /home/node/.n8n-files/share_files/ if you want to save the generated Excel file.

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 - Sticky Note1

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

Block 3 - Sticky Note2

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

Block 4 - Sticky Note3

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

Block 5 - Sticky Note4

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

Block 6 - Send Outlook Notification

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

Block 7 - Set Marketplace Metrics

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

Block 8 - Read Config File from Disk

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

Block 9 - Split Data by Field

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

Block 10 - Loop Over Split Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - When Scheduled At 10am

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

Block 12 - Post Slack Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 13 - Convert Data to File

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

Block 14 - Set Additional Metrics

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

Block 15 - Save Data to Disk

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

Block 16 - Extract Config Data

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

Block 17 - Fetch Marketplace Stats

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

3. Summary Table

Workflow Send daily marketplace KPI reports via Slack and Microsoft Outlook
Complexity advanced
Nodes 17
Categories Market Research
Author Eric Rigollet
Published 10 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16248/16248.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 Send daily marketplace KPI reports via Slack and Microsoft Outlook do?

Quick Overview This workflow runs daily at 10am, reads a marketplaces configuration file, fetches KPI statistics from marketplace APIs via HTTP requests, compiles the results into an Excel file, th...

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.