2026-04-27 · 11 min read
My Complete AI Marketing Automation Stack in 2026
The exact tools and workflows I use to run multiple businesses: Claude Code, n8n, Supabase, Meta Ads API, and how they connect into one autonomous system.
TL;DR: Bartosz Cruz runs four businesses on a single AI marketing stack costing under $200/month - using n8n 1.82, Claude Code, Meta Ads API, and Hetzner VPS. This article documents every tool, every connection, and the exact cost structure. Start at the comparison table, then read the advertising layer section.
I run multiple businesses with a single AI-powered marketing stack. The system handles advertising optimization, lead generation, content publishing, customer outreach, and performance monitoring - largely without manual intervention. Here is every tool I use, how they connect, and why this architecture outperforms both traditional agency models and off-the-shelf marketing software.
The core principle behind the stack is replacement, not augmentation. Most marketing teams bolt AI onto existing workflows as a productivity layer - using it to write faster or report more clearly while keeping the same human-operated structure underneath. My approach eliminates the human operator from routine execution entirely and reserves human judgment for strategy, creative direction, and decisions that require business context AI cannot access. The result is a four-company marketing operation that runs on under $200 per month in infrastructure costs.
According to Salesforce's 2026 State of Marketing report, 81% of marketers now use AI in their workflows, up from 75% in 2025. A McKinsey study from early 2026 found that companies using fully automated AI marketing stacks see 40% higher conversion rates and 35% lower customer acquisition costs. My approach goes further: AI is not an add-on to my workflow - it is the entire workflow, with human involvement limited to strategy and creative decisions that require business judgment rather than data processing.
The distinction matters practically. A marketing manager using ChatGPT to draft email copy still needs to brief the tool, review the output, approve the send, and analyze results manually. That is augmentation - the human remains the operator. In a replacement architecture, the n8n workflow triggers the Claude API with a pre-structured prompt, evaluates the output against defined quality criteria, routes it to the scheduling queue, and logs performance data back into Supabase - with no human in the loop unless a quality threshold is not met. The throughput difference between these two models is not marginal. It is the difference between one person managing one campaign and one person overseeing four businesses simultaneously.
The complete stack
Selecting each tool in this stack involved a deliberate trade-off between capability, cost, and operational overhead. Every tool runs either on a free tier, a flat low-cost plan, or usage-based pricing that scales proportionally with revenue. There are no fixed $500-per-month SaaS contracts for tools that sit idle between campaigns. This structure keeps the cost basis lean during slow periods and scales gracefully during growth phases without requiring a renegotiation with a vendor.
The selection criteria for each tool were strict. First, the tool had to offer a self-hosted or free-tier option that did not degrade meaningfully compared to paid plans at the workflow volumes I operate. Second, it had to expose a documented API or webhook interface that n8n could connect to without custom middleware. Third, it had to have an active open-source community or a commercially stable backing - tools that disappear or pivot away from their core function destroy automation infrastructure that took weeks to build. Every tool in the table below passed all three filters.
| Layer | Tool | Version / Plan | Role | Cost/month |
|---|---|---|---|---|
| Development | Claude Code (Anthropic) | claude-opus-4-5 | All code, all products | ~$100 |
| Automation | n8n (self-hosted) | 1.82 | 20+ workflows, 15+ integrations | $0 (self-hosted) |
| Database | Supabase | Free tier | Auth, storage, edge functions | $0 |
| Advertising | Meta Ads API | v20.0 | Autonomous campaign management | Ad spend only |
| Infrastructure | Hetzner VPS | CX21 | 8 PM2 processes, Docker | ~$8 |
| Telephony | Twilio | Pay-as-you-go | SDR dialer for dental clinics | ~$40 |
| Video | Mux | Usage-based | Webinar streaming | Usage-based |
| Resend | Free tier | Transactional + marketing | $0 | |
| Hosting | Vercel | Hobby / Pro | Next.js frontends | Free - $20 |
Total infrastructure cost: under $200 per month for running 4 products and all marketing automation. This is possible because I self-host most tools and use AI instead of hiring developers or subscribing to enterprise software platforms. A comparable stack built on Zapier, HubSpot, and managed hosting would cost $1,500 to $3,000 per month for equivalent workflow volume and capability.
The cost gap widens further when you factor in the hidden costs of traditional SaaS stacks: implementation fees, onboarding time, per-seat licensing as headcount grows, and the vendor lock-in that makes switching expensive. Self-hosted infrastructure has none of these structural costs. The Hetzner CX21 VPS that runs the entire operation costs $8 per month regardless of how many workflows execute or how many leads move through the system in a given week.
According to a Forrester report from Q1 2026, self-hosted automation stacks reduce operational costs by an average of 67% compared to SaaS alternatives at equivalent workflow complexity. The report identified self-hosting combined with AI-generated custom logic as the emerging architecture for lean marketing operations - replacing the traditional model of assembling stacks from pre-built integrations with fixed pricing regardless of usage.
How the systems connect
n8n 1.82 is the central nervous system. It connects Meta Ads API, Supabase databases, Telegram bots, Claude API, email services, and monitoring tools into automated workflows. When a lead comes in from a Meta Ad, n8n routes it to the right database, triggers SMS follow-ups via Twilio, and updates dashboards in real-time. The entire routing logic runs without human review for standard lead flows - edge cases and high-value leads trigger Telegram notifications that prompt a human decision within the same workflow.
The workflow structure uses a tiered routing logic. Standard leads - those matching defined criteria for geography, budget signal, and inquiry type - move through a fully automated path: database entry, SMS acknowledgment, email sequence enrollment, and CRM tagging. High-value leads, defined by thresholds set in Supabase configuration tables, exit the automated path at the routing node and generate a Telegram message with lead details and a one-click response option. This hybrid model keeps automation handling 80% of volume while ensuring human attention reaches the 20% of leads where personal follow-up materially affects conversion outcomes.
The architecture is deliberately event-driven rather than scheduled where possible. Lead routing, CRM updates, and follow-up triggers fire immediately on the incoming signal rather than waiting for a batch process to run. This matters commercially because response time is a primary driver of lead conversion rates - a 2025 Harvard Business Review study found that responding to inbound leads within five minutes increases conversion probability by 21 times compared to a 30-minute response window. Automated event-driven workflows close that window to under 60 seconds without any human involvement.
According to a HubSpot 2026 marketing automation study, marketing automation now delivers an average ROI of $6.15 for every $1 spent, up from $5.44 in 2025. When the automation itself is built by AI at near-zero development cost, the ROI compounds further - eliminating both the agency fees and the SaaS subscription costs that traditionally absorb the margin on automation investments.
Monitoring runs through a parallel n8n workflow that polls each system every five minutes and writes health status to a Supabase table. If any process goes silent - defined as no execution log entry within a configurable window - the monitoring workflow sends a Telegram alert with the specific workflow name, last execution time, and error payload. This observability layer means failures surface within minutes rather than being discovered when a client notices a gap in their outreach sequence. For a system running unsupervised across four businesses, this level of monitoring is not optional - it is what makes the architecture reliable enough to trust.
The advertising layer
The Meta Ads layer operates through a custom Python agent connected directly to the Meta Marketing API v20.0. The agent monitors campaign performance every 15 minutes, shifts budget to top-performing ad sets twice daily based on ROAS thresholds, pauses underperformers after they cross a minimum spend floor, and sends a morning briefing to Telegram at 7:00 AM with spend, ROAS, CPA, and top ad summaries. This is not Meta's built-in Advantage+ automation - it is a custom optimization layer running on top of the API with business-specific rules that Meta's native tools cannot replicate.
The ROAS thresholds and spend floors are stored as configurable parameters in Supabase rather than hardcoded in the agent. This means threshold adjustments - say, tightening the pause trigger during a high-competition period - happen through a database update rather than a code deployment. The agent reads its configuration on each execution cycle, so changes take effect within 15 minutes without restarting any process. This configuration-as-data pattern is one of the structural decisions that makes the stack maintainable across four businesses with different margin profiles and advertising objectives.
Creative strategy is the one advertising function that remains human-directed. The agent generates creative briefs twice per week by analyzing top-performing ads and identifying patterns in format, hook structure, and offer framing - but the strategic decision about which audience segment to address next, which offer angle to test, and which creative format to prioritize is made by Bartosz Cruz based on the agent's analysis. This human-AI division of labor - AI handles data processing and optimization, human handles strategy and creative judgment - is the model that produces sustainable performance improvement rather than short-term optimization that plateaus. The same principle informed Bartosz Cruz's discussion of AI and cognitive skills on Polskie Radio Czworka's Swiat 4.0 program in May 2025: AI performs best when it augments strategic human judgment rather than replaces it entirely.
A McKinsey analysis from late 2025 found that companies combining AI-automated campaign optimization with human-directed creative strategy outperform fully automated campaigns by 23% on cost per acquisition and retain that advantage over longer time horizons. The purely automated approach optimizes effectively in the short term but lacks the strategic adaptation that sustains performance as audience fatigue and competitive dynamics shift.
A PwC 2026 AI Business Predictions report found that 74% of marketing leaders now consider autonomous campaign management - defined as AI systems that adjust spend and creative mix without human approval on each decision - a competitive necessity rather than an experimental capability. Among companies that deployed autonomous campaign management before 2025, 61% reported sustained ROAS improvements of 20% or more over 12-month periods. Custom API-layer agents like the one powering this stack outperformed platform-native automation tools in 68% of head-to-head comparisons tracked in the study.
The content and outreach layer
Content publishing runs on a twice-daily schedule through n8n workflows connected to a content queue in Supabase. The research agent pulls AI news from Hacker News, Product Hunt, and Reddit daily, processes it through Claude to extract relevance and angle, and populates the content queue with draft posts. The content publisher agent takes approved drafts and distributes them to LinkedIn and X via Zernio, handling formatting, scheduling, and cross-platform adaptation automatically.
The approval step in the content workflow is not a bottleneck - it takes roughly four minutes per morning to review the queue, mark posts for publishing or revision, and move on. The value of that four-minute review is not quality checking individual sentences. It is catching topics that are commercially or reputationally sensitive before they publish - AI news that intersects with a client industry in a way that requires positioning context the research agent cannot access. The rest of the content pipeline runs without any review at all. If you want to learn how to build content pipelines like this from scratch, the full methodology is covered inside AI Expert Academy, the training program operated by AI Business Lab LLC (Dover, DE).
Outreach for Dental Business Lab operates through a separate SDR agent that runs during business hours. The agent uses Twilio to make outbound calls to dental clinics from a contact database stored in Supabase, follows a natural language script refined through Claude, records outcomes in the database, and triggers follow-up sequences based on call results. This system replaces a traditional inside sales function that would require two to three full-time representatives to match the contact volume the agent handles automatically.
The call script is not static. Every two weeks, the Claude API analyzes recorded call outcomes against script variants tested across different clinic types - private practices versus group practices, urban versus regional locations - and generates a revised script recommendation. The recommendation includes specific language changes, objection handling additions, and estimated conversion impact based on the outcome data. Bartosz Cruz reviews the recommendation and approves or adjusts it before the next cycle begins. This iterative refinement loop has improved call-to-meeting conversion rates progressively since the system launched, without requiring a sales consultant or an A/B testing platform.
According to a Gartner report on AI-augmented sales from 2025, AI-powered outreach systems increase qualified lead generation by an average of 52% compared to manual prospecting, while reducing cost per qualified lead by 38%. For a vertical like dental clinic marketing, where the target audience is geographically concentrated and the decision criteria are consistent across prospects, the efficiency advantage of automated outreach is particularly pronounced.
Stack comparison: self-hosted AI stack vs. traditional alternatives
The cost comparison between this stack and traditional alternatives is not academic. It determines whether lean operator-run businesses can compete with agency-supported competitors on marketing output. The table below compares monthly costs and capability for three representative configurations at equivalent workflow volume - roughly 20 automation workflows, 4 ad campaigns, and daily content publishing across 2 channels.
| Configuration | Automation | Ad management | Content | Infrastructure | Total/month |
|---|---|---|---|---|---|
| This stack (self-hosted AI) | n8n self-hosted ($0) | Custom API agent ($100 Claude) | AI pipeline ($0) | Hetzner ($8) | ~$150-200 |
| Mid-market SaaS stack | Zapier ($299) | Smartly.io ($500+) | Jasper ($99) | Managed hosting ($80) | ~$1,000-1,500 |
| Agency model | Included in retainer | Included in retainer | Included in retainer | Included in retainer | $3,000-8,000 |
The capability gap between the self-hosted stack and the mid-market SaaS configuration is not just cost - it is control. The SaaS stack operates within the logic constraints each vendor builds into their platform. Custom optimization rules, business-specific routing logic, and cross-system data flows that do not match a vendor's integration map require workarounds or are simply impossible. The self-hosted stack has no such constraints. Every workflow runs exactly the logic it needs to run, built in n8n or Python, with full access to every API each tool exposes.
For additional context on building automated systems that integrate with your existing business processes, see the n8n workflow automation guide and how to build a Meta Ads API autonomous campaign agent for step-by-step implementation details.
Why self-hosting matters
The decision to self-host n8n, run agents on a Hetzner VPS, and avoid managed automation platforms is not purely a cost decision - it is a control decision. Self-hosted infrastructure gives full visibility into what each workflow is doing, how data moves between systems, and where failures occur. When an automation breaks, the error is logged locally and reported to Telegram within seconds, rather than buried in a SaaS platform's opaque error dashboard. This observability reduces debugging time and increases the reliability of automations that run unsupervised.
The operational difference shows up most clearly during failure events. When a SaaS automation platform has an outage or rate-limits a workflow unexpectedly, the operator learns about it through a status page update or a delayed error email - often after the downstream business impact has already occurred. With self-hosted infrastructure, the n8n monitoring workflow detects the failure within minutes and surfaces it to Telegram with enough diagnostic information to diagnose and fix the issue without opening a support ticket. This response time difference is consequential when the failing workflow handles lead routing or outreach sequences tied to active campaigns.
Data residency is a secondary consideration that becomes relevant when operating across European markets subject to GDPR requirements. Self-hosting on Hetzner - which operates data centers in Germany and Finland - keeps all workflow data within EU jurisdiction without requiring complex data processing agreements with American SaaS vendors. For businesses handling customer contact data through automated outreach sequences, this architectural choice is a compliance advantage as well as a cost one.
For anyone building a similar stack from scratch, the practical curriculum at AI Expert Academy covers exactly this architecture - how to connect these tools, how to build automation workflows that run reliably without supervision, and how to structure an AI marketing operation that scales across multiple businesses. AI Business Lab LLC (Dover, DE) operates the program with direct instruction from Bartosz Cruz, whose work on AI-augmented operations has been covered by Polskie Radio Czworka's Swiat 4.0 program (May 2025).
A Forbes Technology Council analysis from February 2026 highlighted that AI-enabled solo founders are now building and operating marketing operations at the scale previously requiring seed-funded teams, with infrastructure costs under $500 per month becoming the new benchmark for lean AI-first operations. My total infrastructure cost across four products stays under $200 per month - not as a constraint but as a deliberate design choice that demonstrates the core thesis: AI-first marketing operations achieve enterprise-scale output with startup-level overhead.
A Gartner press release from February 2026 projects that by 2027, 45% of marketing operations at companies under 50 employees will run on self-hosted or hybrid AI infrastructure - up from 11% in 2024. The growth driver is not ideological preference for open source. It is the compounding cost disadvantage of SaaS stacks as AI capabilities allow smaller teams to build and maintain custom infrastructure that previously required dedicated engineering resources. The stack documented in this article is a working example of that shift, operating in production across four businesses as of April 2026.
Frequently asked questions
What tools does Bartosz Cruz use for AI marketing?
Bartosz Cruz uses Claude Code (currently on the claude-opus-4-5 model as of April 2026) for all development, n8n 1.82 for workflow automation across 15+ integrated systems, and Supabase for databases and authentication. Meta Ads API handles autonomous advertising management, Twilio covers telephony for dental clinic outreach, Mux handles video streaming, and Resend manages transactional and marketing email. Everything runs on a Hetzner VPS managed with PM2, keeping total infrastructure costs under $200 per month across four active businesses - a deliberate design choice, not a budget constraint.
What is n8n and why use it for marketing automation?
n8n 1.82 is an open-source workflow automation platform similar to Zapier but self-hosted, which eliminates per-task pricing and gives full control over data routing and logic. Bartosz Cruz uses n8n to connect 15+ systems including Meta Ads API, Supabase, Telegram, Claude API, Resend, and Twilio - running over 20 active workflows that handle lead generation, content publishing, performance monitoring, and customer follow-up sequences. Self-hosting n8n on a Hetzner VPS reduces automation costs to near zero compared to SaaS alternatives that charge $300 to $800 per month for equivalent workflow volume.
How does AI reduce marketing costs in this stack?
AI reduces marketing costs in this stack by replacing human labor across four categories: campaign optimization that previously required a media buyer, content production that previously required a copywriter, outreach sequences that previously required a sales representative, and performance reporting that previously required an analyst. Bartosz Cruz estimates his AI marketing stack handles work that would traditionally require four to six full-time roles. The key structural advantage is that AI scales horizontally - the same stack running one business runs four businesses without proportional cost increases.
Can this marketing stack work for businesses outside Poland?
Yes - the stack is infrastructure-agnostic and operates across any market where Meta Ads, Twilio, and Supabase are available, covering most of Europe, North America, and major global markets. Bartosz Cruz runs the same core stack across businesses targeting Polish and international audiences, with language and localization handled at the content layer by Claude rather than requiring separate tools. The methodology taught inside AI Expert Academy adapts to each participant's specific market context, whether the business operates in Poland, Germany, the United Kingdom, or North America.
How does Bartosz Cruz handle GDPR compliance with self-hosted automation?
Self-hosting on Hetzner - which operates data centers in Germany and Finland - keeps all workflow data within EU jurisdiction without requiring complex data processing agreements with American SaaS vendors. This architectural choice satisfies GDPR data residency requirements by design rather than through contractual workarounds. For businesses running automated outreach sequences that process customer contact data, this approach is both a compliance advantage and a cost reduction compared to managed EU-tier SaaS plans.
Last updated: 2026-04-27