Templates / Reconcile blended ROAS, MER and CAC with Meta, Google, TikTok and Claude

Reconcile blended ROAS, MER and CAC with Meta, Google, TikTok and Claude

Ready for 3.0

by Nocode Expert ✓ · 12 views · created 2026-07-11 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Facebook Graph API. It also calls business-api.tiktok.com, oauth2.googleapis.com and api.anthropic.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set config: store revenue, new customers, extra platforms (Code): runs custom JavaScript code
  2. Fetch Meta spend & revenue (Meta) (Facebook Graph API): uses Facebook Graph API
  3. Fetch TikTok spend & revenue (HTTP Request): calls business-api.tiktok.com
  4. Get Google access token (HTTP Request): calls oauth2.googleapis.com (POST)
  5. Fetch Google Ads spend & revenue (HTTP Request): calls an HTTP API (POST)
  6. Assemble platform table (Code): runs custom JavaScript code
  7. Reconcile blended ROAS, MER & platform over-claim gap (Code): runs custom JavaScript code
  8. Build AI efficiency brief prompt (Code): runs custom JavaScript code
  9. Write marketing-efficiency brief with Claude AI (HTTP Request): calls api.anthropic.com (POST)
  10. Show blended ROAS / MER scorecard (Code): runs custom JavaScript code

Services it uses

Facebook Graph API

HTTP calls to: business-api.tiktok.com, oauth2.googleapis.com, api.anthropic.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

Quick overview This workflow pulls ad spend and platform-reported revenue from Meta (with placeholders for Google Ads and TikTok), combines it with your actual store revenue and new-customer count, calculates blended ROAS/MER and blended CAC plus…

Excerpt from Nocode Expert's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.