Featured image of post Building a GCP-Native Marketing Automation Architecture Dashboard with Claude

Building a GCP-Native Marketing Automation Architecture Dashboard with Claude

You can check out the output dashboard here😊

Overview

This article documents how I designed a full Marketing Automation (MA) tool architecture for a small startup using Google Cloud Platform β€” and how I used an AI assistant (Claude) to rapidly translate that design into an interactive dashboard artifact, entirely within a single conversation.

The result: a production-ready React component featuring a layered architecture diagram, cost estimator, and 6-week development roadmap β€” all in under an hour.


Background & Motivation

As a solo founder or small team, adopting commercial MA platforms like HubSpot or Marketo often means paying for features you don’t need and losing control over your data pipeline. I wanted to explore whether GCP’s ecosystem β€” with its generous free tiers and serverless primitives β€” could serve as the backbone for a lightweight, cost-effective MA tool built in-house.

The question I started with: “Can we build an MA tool using GCP?”


Conversation Summary

The project began as an open-ended exploration. Through a structured Q&A with Claude, we narrowed down the scope:

QuestionAnswer
Target scaleIndividual / small startup
Priority featuresEmail delivery & scenario automation, Form & LP creation, Analytics & reporting
Preferred tech stackNo strong preference β€” recommend best fit

From those inputs, Claude proposed a 4-layer GCP architecture optimized for low cost, scalability, and developer simplicity.


Architecture Design

The proposed system is organized into four layers:

1. Frontend Layer

  • Firebase Hosting β€” serves landing pages and lead capture forms, with a free tier covering most small-scale needs
  • Firebase Auth β€” handles Google/Email-based user authentication
  • Looker Studio β€” provides a free, no-code analytics dashboard connected to BigQuery

2. API Layer

  • Cloud Run β€” serverless container runtime for the backend API; charges $0 when idle
  • Cloud Scheduler β€” manages email send timing and cron-based automation triggers
  • Pub/Sub β€” event-driven messaging bus that decouples form submissions from downstream processing

3. Data Layer

  • Firestore β€” NoSQL document store for lead records, tags, and scenario definitions
  • BigQuery β€” columnar analytics warehouse for behavioral event logs and campaign reporting
  • Cloud Storage β€” stores email templates, image assets, and file attachments

4. Delivery & Automation Layer

  • SendGrid / Gmail API β€” email sending engine with template support
  • Cloud Functions β€” executes scenario logic triggered by Pub/Sub events (e.g., welcome emails, drip sequences)
  • Vertex AI (optional) β€” subject line optimization and optimal send-time prediction

Data Flow

dataflow

User (form input)
  β†’ Firebase Hosting (LP / Form)
  β†’ Cloud Run (API Server)
  β†’ Firestore (Lead saved)
  β†’ Pub/Sub (Event fired)
  β†’ Cloud Functions (Scenario executed)
  β†’ SendGrid (Email delivered)

Cost Estimate

image-2

At a scale of ~1,000 leads and ~5,000 emails/month, the estimated monthly infrastructure cost is:

ServiceEstimated CostNotes
Cloud Run~$0–4Free tier: 180K req/month
Firestore~$0–21 GB + 50K reads/day free
BigQuery~$0–310 GB queries free/month
Firebase Hosting$010 GB/month free
SendGrid$0–25100 emails/day free
Total~$0–34/moNear-zero at small scale

This makes it an extremely viable option for pre-revenue startups that need real infrastructure without enterprise pricing.


Development Roadmap

image-3

The project is structured as a 6-week MVP build:

Phase 1 β€” Week 1–2: Foundation

  • Firestore schema design
  • Cloud Run API setup
  • Firebase form creation

Phase 2 β€” Week 3–4: Automation Core

  • Email delivery engine
  • Scenario builder UI (React Flow)
  • Pub/Sub integration

Phase 3 β€” Week 5–6: Analytics & Launch

  • BigQuery integration
  • Looker Studio report setup
  • Production release

LayerTechnologyRationale
BackendPython + FastAPILightweight, fast, ideal for Cloud Run
FrontendNext.js + FirebaseSSG/SSR for performant landing pages
InfrastructureTerraformGCP resources managed as code
Scenario UIReact FlowDrag-and-drop workflow builder
Email SendingSendGrid SDKSimple template management
CI/CDCloud BuildNative GCP integration

The Dashboard Artifact

image

The architecture was delivered not just as a document, but as a fully interactive React dashboard (.jsx) featuring:

  • Accordion-style layer explorer β€” click any layer to expand and inspect individual GCP services
  • Live data flow diagram β€” visual pipeline from user input to email delivery
  • Cost estimation table β€” with optimization tips for staying within free tiers
  • Roadmap tracker β€” phase-by-phase breakdown with task tags
  • Tech stack grid β€” recommended tools with rationale

The component was also exported as an English version upon request, demonstrating how the design could be adapted for international portfolios or client presentations.


Reflections

This project demonstrated that AI-assisted system design can meaningfully accelerate the early stages of a technical build. Within a single chat session, we moved from a vague question (“can we build an MA tool on GCP?”) to a concrete, visualized, cost-validated architecture β€” ready to hand off to an engineering team or use as a client proposal.

Key takeaways:

  • GCP’s free tiers make serverless MA tooling genuinely viable at small scale
  • Breaking the design into layers (frontend / API / data / delivery) keeps the architecture readable and modular
  • An interactive React artifact is more useful than a static document for communicating architecture to non-technical stakeholders

You can check out the output here😊

Built with Claude (Anthropic) Β· Architecture validated against GCP pricing documentation Β· React component exported as .jsx

I might actually follow through with it and build the system, with the help of Claude just to see what it can do.