Daniel Saks
Chief Executive Officer
Claude Code for marketing means running real marketing systems from one terminal: your CMS, ad accounts, CRM and analytics, connected through APIs, command-line tools and MCP servers, with each repeatable job written down as a skill. The output is not a draft in a chat window. It is a published page, a live ad set, a scored lead or a report someone acts on.
Most teams are not there yet. Supermetrics reports in its 2026 Marketing Data Report that only 6% of marketers have fully embedded AI in their workflows. A Digiday+ Research survey from late 2025 found 54% of brand and agency respondents said their companies do not use agentic AI in their workflows at all.
The missing piece is usually data. A model with web search can write the post, but it cannot count a market, list every account that fits your ICP or grade an inbound lead. This guide shows five Claude Code marketing workflows with Landbase as the data layer inside each one, then five setup steps, a worked example, metrics, honest limits and common mistakes. It is written for growth, demand gen and marketing ops teams.
Quick answer: To use Claude Code for marketing, connect it to your CMS, ad platforms, CRM and analytics through MCP servers, APIs or CLIs, and add a B2B data layer such as the Landbase MCP for market counts, audiences and enrichment. Write each job as a skill, dry-run every write, then schedule it and report results back to the CRM.
Each workflow is a chain of systems, not a single prompt. Claude Code reads from one tool, applies the rules in a skill and writes to the next. The Landbase MCP supplies the B2B data each chain needs: who to target, how big the market is, and what is true about a company or contact.
Connect the CMS once (Webflow, WordPress or Framer through their APIs, or a code-based site in GitHub) so every collection becomes data Claude Code can read and write.
Why the data step matters: market sizes quoted across blog posts rarely agree, because each uses a different definition. A count pulled from Landbase's 40M+ company records, with the filters written next to the number (industry, headcount band, location), gives readers a figure they can check and other sites a reason to cite it.
Treat every ad as an HTML file and every audience as a query, so one change updates the whole set.
Lookalike quality depends on the seed. Seed with your closest-fit closed-won accounts, not your largest logos, and refresh the audience monthly so new companies that match the ICP enter the list. For ABM, the same scored account list feeds ad audiences, SDR outreach and sales territories, so every team works from one definition.
Score inbound on two axes so sales only sees qualified leads. Pull the rules from a recorded sales call (Fathom or Gong transcript), then write them into CRM properties.
Clean the CRM first: dedupe accounts, flag bad or personal domains and match each record to a company before the scoring rules go live, because fit grades are only as good as the fields under them. Enrichment with 1,500+ fields from 20+ providers fills the size and industry gaps most form fills leave. See account scoring vs lead scoring.
Claude Code pulls clicks from Search Console, traffic by page from Google Analytics, views and form fills from Amplitude, and first-touch deals from HubSpot, joins them per page and rolls them up by topic cluster. Enrich the deal accounts so the report shows pipeline by segment and ICP fit, not just by page. The output is one report: top pages, pages that convert, and gaps. For model choices, see revenue attribution models.
Rank the formats top creators in your category use, pull topics from a recorded call, and back each post with a counted data point: headcount for a set of companies, a ratio, a ranked list. Graphics are HTML rendered to PNG, queued with the copy in a content calendar.
Use headcount and growth data for company comparisons, such as team size by department or hiring by role across a category, and label the source and as-of date on the graphic. Headcount from professional profiles can differ from figures in press coverage, so state which one the graphic uses.
Connect the system the workflow starts from and the data layer. Use an MCP server where one exists, otherwise a vendor CLI or a short script against the REST API, such as the Webflow Data API or the HubSpot API. Keep tokens in a private local file, not in the skill or scripts. Do not move on until each read returns real records.
Turn the job into a Claude Code skill saved in the project: inputs, ICP definition, field names, length limits, banned words, CTA blocks and a validation script (title under 60 characters, meta 140 to 160, FAQ present). Store the ICP filters in the skill too, so every audience and data pull uses the same definition. Threshold: three outputs in a row pass the check without manual edits.
Have Claude Code write payloads to local files first: the post JSON, the ad manifest, the audience CSV, the CRM updates. Review them as a diff and check audience sizes, budgets and URLs before anything is sent. A human approves the first three runs of any workflow that spends money or publishes publicly.
Create the CMS item and publish that item only, upload ads, sync the audience, set CRM properties. Log each write with its ID, timestamp and source file so every page, ad, audience and score can be traced back to the run that made it and rolled back if needed. Target: zero unexplained failures in the log.
Run repeatable jobs in headless mode from a scheduler or CI job: ads optimization weekly, attribution weekly, audience refresh and content gap pull monthly, scoring rules quarterly with sales. Each run ends with a Slack or email summary of what changed and what needs a decision. Rerun a workflow whenever a CRM field, ad platform or ICP definition changes.
Illustrative example. A B2B SaaS team runs the SEO engine and attribution workflows together.
Landbase is the B2B data layer that runs inside Claude Code or Codex through the Landbase CLI and MCP server, drawing on 40M+ companies and 800M+ contacts from 20+ providers. In the five workflows it does four jobs:
Web search still has a role: fresh news, case studies and announcements are narrative evidence that structured data does not hold. A practical split is web search to find stories and Landbase to count, verify and enrich. To set it up, see GTM tools that work inside Claude Code and Claude Code for RevOps.
Market sizes pulled from blog posts conflict by an order of magnitude. Use a census-style count with a stated definition, and show the method.
Without a skill, every run drifts: titles get longer, CTAs change, voice wanders. Write the rules once, add a validator, and fix the skill rather than the output.
Launching 50 ad variants without UTMs and CRM deal tracking produces click-through rates and no answer on pipeline. Build workflow 4 before scaling workflow 2.
Duplicates and bad domains break fit grades and routing. Clean and match the CRM file before the scoring rules go live.
Yes, for most workflows. Claude Code writes and runs the scripts, so the marketer's job is describing the task, supplying API access and reviewing output. Basic comfort with a terminal and environment variables helps. The harder skill is writing clear rules: field names, length limits, approval steps and what counts as done.
Claude chat produces text you copy somewhere else. Claude Code works in a terminal and project folder, so it can run scripts, call APIs, use MCP servers and write files. That lets it publish a post, upload an audience or update CRM properties directly, which turns a draft into a shipped workflow.
Web search returns a handful of examples and conflicting totals. A structured data layer returns every company that meets a filter, counts with a stated definition, and works on your own CRM file. Web search is still better for fresh news and case studies, so use both.
It is safe when writes are gated. Scope tokens to the collections and accounts the workflow needs, write every payload to a local file first, require human approval for anything that spends money or publishes publicly, and log every write with its ID so it can be reversed.
Start with the workflow closest to revenue that the team already does by hand every week: the SEO engine for content-led teams, the ads and audience engine for paid-led teams. Build attribution second, so every later workflow is judged on pipeline instead of activity.
Tool and strategies modern teams need to help their companies grow.