Skip to main content

Installing The Polar MCP in n8n (with Gmail)

Step-by-step guide on how to install the Polar MCP in n8n with Gmail

Kellie Reese avatar
Written by Kellie Reese
Updated yesterday

The Polar MCP (Model Connection Protocol) allows you to integrate your Polar Analytics data with automation tools like n8n, enabling data-driven workflows that run automatically based on your business logic.

By connecting Polar MCP with n8n and Gmail, you can automate processes such as:

  • Sending daily or weekly performance reports via email.

  • Triggering alerts when key metrics (e.g., ROAS, CAC, or profit margin) change significantly.

  • Automating stakeholder updates or data summaries without logging into Polar manually.

In this guide, you’ll learn how to:

  1. Connect the Polar MCP to n8n.

  2. Configure Gmail as an output node.

  3. Automate data-driven workflows that send insights directly to your inbox or your team’s email.


Connecting Polar MCP to n8n

Step 1. Log in to your Polar account

  1. Visit app.polaranalytics.com and log into your workspace.

  2. Ensure your Polar workspace is fully connected to your marketing and ecommerce data sources (e.g., Shopify, Meta, Google Ads).

  3. Copy the Polar MCP endpoint URL for your workspace:

    https://api.polaranalytics.com/mcp

Step 2. Set up the Polar MCP node in n8n

  1. Log in to your n8n account.

  2. Create a new workflow and select HTTP Request as your first node.

  3. Configure the node with the following settings:

    • HTTP Method: POST

    • URL:

      https://api.polaranalytics.com/mcp
    • Authentication: Basic (use your Polar Analytics credentials)

    • Content Type: application/json

  4. In the Body field, define your query to Polar MCP. Example:

    {   "query": "SELECT channel, spend, revenue, roas FROM marketing_performance WHERE date = CURRENT_DATE" }

This query will retrieve your daily marketing performance data from Polar in real time.

Step 3. Test the MCP connection

Click Execute Node.
If configured correctly, you’ll see a successful response in n8n with your Polar data output in JSON format.


Configuring Gmail as an Output Node

Once Polar MCP is connected and returning data, the next step is to automatically send that data via Gmail.

Step 1. Add a Gmail Node

  1. In the same n8n workflow, add a Gmail node after your Polar MCP (HTTP Request) node.

  2. Choose Send Email as the operation.

  3. Authenticate your Gmail account following the n8n authorization flow.

Step 2. Define Email Content

You can use dynamic data from the Polar MCP output in your email body.

Example configuration:

  • To: marketing-team@yourbrand.com

  • Subject: Daily Marketing Performance Report

  • Body:

    Here’s your daily summary from Polar Analytics:  Channel: {{$json["channel"]}} Spend: {{$json["spend"]}} Revenue: {{$json["revenue"]}} ROAS: {{$json["roas"]}}  — Automated by n8n & Polar Analytics

This setup automatically pulls fresh data from Polar and sends a daily summary email through Gmail — no manual reporting required.

Step 3. Add Scheduling

To automate the workflow:

  1. Add a Cron node as the first step in your workflow.

  2. Configure it to run daily at your preferred time (e.g., every weekday at 8:00 AM).

  3. Link the Cron node to your Polar MCP HTTP Request node, then to your Gmail node.

Once active, your workflow will fetch Polar data and send the email automatically every day.


Example Use Cases

Here are a few examples of how this integration can enhance your operations:

  1. Daily Executive Summary
    Automatically email a daily performance digest (sales, CAC, ROAS, etc.) to leadership or department heads.

  2. Alerting on Spend Anomalies
    Add a conditional node in n8n to check if ad spend or CAC exceeds thresholds, and trigger an alert email if so.

  3. Campaign Reporting for Agencies
    Automate weekly or monthly campaign summaries for each client, customized with client-specific Polar queries.

  4. Cross-Platform Reporting
    Combine data from Polar (e.g., marketing metrics) with another data source (like your CRM) before sending an integrated performance report.

These workflows help eliminate manual data pulls and ensure stakeholders always have up-to-date insights.


Integrating the Polar MCP with n8n and Gmail unlocks seamless, automated reporting for your team — letting you focus on strategy, not spreadsheets.

Key takeaways:

  • Use the Polar MCP endpoint (https://api.polaranalytics.com/mcp) to fetch live data.

  • Configure Gmail as your delivery channel to automate reports or alerts.

  • Schedule recurring workflows to keep your team informed automatically.

With this integration, you can transform Polar data into actionable insights delivered directly to your inbox — without any manual effort.

For more advanced setups, explore:

Did this answer your question?