Claude Code for Marketers: 8 Workflows With Prompts (2026)
Every workflow runs from one marketing folder, with a proof.md file that holds only claims you can back up, on any paid Claude plan from Pro up. We ran the Google Ads workflow on November 6, 2026: it counted all 38 lines with a script and dropped the unsupported claim we planted.
By Yotam DahanUpdated 18 min readClaude Code
Claude Code for marketers is a way to hand file-heavy marketing work, such as competitor research, Google Ads copy, landing pages, weekly reports and SEO clean-up, to an AI agent that reads and writes real files on your computer. You don't need to code: you describe the job in plain English, and it saves the result in a folder where you can check it. Below are eight marketing workflows, each with a copy-ready prompt, what a good result looks like and what to check before you use it.
Claude Code for marketers: where it beats a chat window
A chat window is built for one conversation at a time. Claude Code is built for work that involves files, steps and repetition, which describes a lot of marketing. These are the marketing jobs where the difference shows most:
| Task | In a chat window | In Claude Code |
|---|---|---|
| 40 product descriptions from a spreadsheet | Paste rows in batches, copy results back | Reads the file and writes a new one next to it |
| Weekly report from three exports | Upload and re-explain every week | Same folder, same prompt, report saved each time |
| Reviewing competitor sites | Paste the text you copied | Fetches the pages and cites each URL |
| Landing page copy in context | Imagine how it looks | Builds a page you open in your browser |
| A week of posts from one webinar | Paste the transcript in pieces | Reads the transcript file and saves one draft per channel |
Claude Code for content creators works the same way, because scripts, captions and content calendars are files too.
It isn't only for technical marketers: in Anthropic's own write-up of January 26, 2026, growth marketer Austin Lau had never written a line of code before Claude Code. He built a Google Ads copy workflow that exports a CSV he reviews by hand and then uploads, and Anthropic says work that took 30 minutes per ad now takes 30 seconds. It also has clear limits:
- No data of its own: it knows nothing about your ad results, rankings or email stats until you give it an export or connect the tool.
- Not always on: scheduled runs from the desktop app need your computer awake, so live lead routing belongs on an automation platform.
- Drafts, not decisions: positioning, offers and any claim a customer will read still need a person to approve them.
If you're weighing Claude Code against paid marketing software, our guide to AI marketing tools prices 19 tools by job and shows which jobs still need a dedicated tool: sending emails, publishing posts and running ads.
How to use Claude Code for marketing: set up one workspace
Create one folder for marketing work and open it in Claude Code: in the desktop app, pick the folder in the Code tab; in a terminal, move into the folder and type claude. This layout fits the workflows below:
marketing/
CLAUDE.md
brand/ voice.md, proof.md, utm-rules.md
data/ exports you download each week
research/
briefs/
ads/
report/
seo/
utm/Claude Code reads CLAUDE.md before your first prompt in every session, so the rules every piece of copy must follow go there:
# Marketing workspace
- We are [company]. We sell [offer] to [audience].
- Read brand/voice.md before writing any copy.
- Claims and numbers come only from brand/proof.md or files in data/. If something is missing, write [TBD].
- Never edit or overwrite files in data/. Save new work in the matching folder.Running an agency? Give each client its own copy of this folder, with its own CLAUDE.md, voice.md and proof.md, and open Claude Code in that client's folder, so one client's facts never end up in another client's copy.
How the eight AI marketing workflows feed each other
Each workflow stands alone, but the customer research makes every later step better:
Customer language
Workflow 2 finds the words customers use
Ads
Workflows 3 and 4 turn them into briefs and Google Ads copy
Landing page
Workflow 5 answers objections in their words
Tracked links
Workflow 8 tags every link before launch
Weekly report
Workflow 6 shows what worked
Workflow 1: Market and competitor research with sources
Use it when you need a fair picture of three or four competitors without spending an afternoon on their sites. Claude Code for market research is only as good as its sources, so the prompt makes it cite a URL for every claim.
Compare us with [SITE 1], [SITE 2] and [SITE 3], the competitors our customers mention most.
On each site, read the home page, the pricing page and one product page.
Build a comparison table: who they target, main promise, prices (quote the page, or write "not listed"), offer or guarantee, main call to action, and the proof they show (reviews, client logos, numbers).
Then list three gaps we could own, each tied to something specific you saw.
Put the source URL under every claim. Save as research/competitors-[MONTH].md.A good result: one column per competitor, prices quoted exactly as written, and gaps that each point back to a row in the table.
Check: open two source links and confirm the prices, and make sure missing data says "not listed" rather than a guess. For more than four sites, add "use a separate subagent for each competitor" so the research doesn't crowd the main conversation.
Workflow 2: Customer language from reviews or surveys
The words customers use are the best raw material for copy. The @ sign points Claude at a specific file, the way you would tag a colleague.
@data/reviews.csv has customer reviews with the columns date, rating and text.
Group the reviews into 6 to 10 themes. For each theme: a short name, how many reviews mention it, how many of those are 1 or 2 stars, and two quotes copied exactly.
Count with a script, not by estimate, and print the totals.
End with ten phrases customers use that we could use in our copy.
Save as research/customer-language.md.A good result: a theme table, word-for-word quotes, and a phrase list that sounds like your customers rather than like marketing.
Check: search the CSV for one quote to confirm it is real. One review can mention several themes, so ask Claude to note that theme counts may add up to more than the number of reviews.
Workflow 3: An ad brief your designer can use
Briefs fail when they describe a mood instead of a decision. This prompt forces the decisions.
Read our product page at [URL], @brand/voice.md and @research/customer-language.md.
Write a creative brief for a designer making three static ads for [CHANNEL].
Include: the single idea, the audience and their main objection, three headline options under [40] characters with the count next to each, the visual direction in plain words, what must appear (logo, offer, call to action), and what to avoid.
Save as briefs/ads-[PRODUCT].md.A good result: a one-page brief where every headline shows its character count and the objection comes from real customer language.
Check: count one headline yourself and confirm the offer matches the product page. Any claim in a headline must appear in proof.md.
Workflow 4: Google Ads headlines and descriptions at scale
Responsive search ads are where character limits hurt most. These are the limits on Google's responsive search ads help page:
| Part of the ad | How many | Limit each |
|---|---|---|
| Headlines | Up to 15 | 30 characters |
| Descriptions | Up to 4 | 90 characters |
| Headlines shown at once | Up to 3, in any combination | Each still 30 characters |
Using Claude Code for Google Ads starts with a performance export, so the new copy targets the ads that need it. If you advertise in Chinese, Japanese or Korean, say so in the prompt: those characters count double.
@data/google-ads.csv is an export of our responsive search ads with campaign, ad group, headlines, descriptions, impressions, clicks and conversions.
Step 1: list the ad groups with the weakest click-through rate and conversions, with the numbers, and wait for my OK.
Step 2: for each ad group I approve, write 15 headlines (max 30 characters) and 4 descriptions (max 90 characters), using @research/customer-language.md and claims only from @brand/proof.md.
Count every line with a script and rewrite anything over the limit.
Save ads/rsa-[DATE].csv with one row per ad group: campaign, ad group, then each headline and description with its character count.We ran this exact prompt on November 6, 2026, with Claude Opus 5.5 in Claude Code 2.1.303, on the export of a made-up yoga studio with four ad groups, and saved every log. One old headline, "Safe Prenatal Yoga", made a claim that wasn't in proof.md, on purpose.
for step 1: all four ad groups ranked, then a stop for our OK
lines written in step 2 and counted by a Python script it wrote
headline over 30 characters on the first count, rewritten and recounted
unsupported claims carried over from the old ads
Our logged run, November 6, 2026. Step 2 took 52 seconds; the CLI put both steps at $0.40 at API list price.
Step 1 picked Prenatal yoga (1.45% click-through rate, 1 conversion) and Beginner yoga (1.80%, 9) and pointed out that "Safe Prenatal Yoga" had no backing. In step 2 the longest headline ended at 29 characters and the longest description at 89, and our own recount matched every number in the file. Five of the 15 headlines it saved for Beginner yoga, copied from that file with the counts its script wrote:
| Headline | Characters |
|---|---|
| New to Yoga? Start Here | 23 |
| Intro Pass: 3 Classes for $45 | 29 |
| No Need to Touch Your Toes | 26 |
| Mats and Props Free to Borrow | 29 |
| Cancel Free Up to 6 Hrs Ahead | 29 |
A good result: a CSV where every line is under its limit, no two headlines say the same thing, and each ad group's copy uses its own keywords.
Check: read headlines in random groups of three, since Google can show any of them side by side. Upload nothing until a person has read every line.
Workflow 5: Landing page copy with a live preview
Copy reads differently on a page than in a document, so this workflow gives you both.
Write landing page copy for [OFFER] aimed at [AUDIENCE].
Sections: headline, subheadline, three benefits, how it works in three steps, objections with answers (use the themes in @research/customer-language.md), proof (only from @brand/proof.md), call to action.
Give two headline directions and one sentence on why each could work.
Then build preview/index.html, a plain mobile-friendly page showing the copy in context. No images, no tracking code. Open it in my browser when it's ready.A good result: a copy document plus a simple page you can scroll through, with both headline options labeled.
Check: narrow your browser window to see the phone layout, and confirm every proof line exists in proof.md. Then hand the approved copy to whoever builds the page, with the preview as the reference.
Workflow 6: A weekly report from CSV exports
Most weekly reporting is the same downloads, the same math and the same summary. Keep last week's exports in data/previous/ so Claude can compare.
This week's exports are in @data/: ads.csv, traffic.csv and email.csv. Last week's are in @data/previous/.
Step 1: describe each file (columns, date range, number of rows) and wait for my OK.
Step 2: write a script that calculates spend, clicks, conversions, cost per conversion and the change from last week, by channel.
Step 3: build report/week-[DATE].html with five summary bullets, one table by channel and one simple chart.
Step 4: print the script's totals here so I can compare them with each platform.
Flag any metric that moved more than [30]% from last week.The pause in step 1 is deliberate. It catches a wrong or half-downloaded file before any math happens. Here is an example of that kind of exchange, written by us to show the pattern rather than copied from a logged run:
- Claude Code:
Before I calculate anything: email.csv starts one day earlier than ads.csv and traffic.csv. Should I trim it to the same seven days?
- You:
Yes, use the same seven days for all three.
- Claude Code:
Done. All three files now cover the same week, and I'll flag the change in the report notes.
A good result: a report that opens in any browser, plus totals in the chat you can compare with each platform quickly.
Check: the totals match each platform's dashboard for the same dates. If one doesn't, ask Claude to show the rows behind that number before you trust the rest of the report.
Workflow 7: Claude Code for SEO: keyword clusters and meta rewrites
Two jobs that take hours by hand. First, keyword clustering from an export:
@seo/keywords.csv is an export from my SEO tool with keyword, monthly volume, difficulty and the URL that ranks now.
Group the keywords into topic clusters by search intent. For each cluster, name one page that should rank for it: an existing URL from the file, or "new page" with a suggested title.
Flag keywords where two of our URLs compete for the same intent.
Keep volume and difficulty exactly as exported. Save seo/clusters.csv and a short seo/clusters.md summary.Second, titles and meta descriptions in bulk:
For each URL in @seo/pages.csv, read the live page and write a new title (under [60] characters) and meta description (under [155] characters) around its main keyword.
Count the characters with a script and add the counts as columns.
Don't promise anything the page doesn't say. Save seo/meta-rewrites.csv with old and new versions side by side.A good result: a clusters file that still contains every keyword from the export, and a rewrite file you can review row by row before changing your site.
Check: compare row counts with the original export, and read five rewrites against their live pages. If you pay for Semrush or Ahrefs, their connectors let Claude pull the keyword data itself instead of waiting for your export, and the marketing plugin below adds a broader /marketing:seo-audit command. If you don't have an SEO tool yet, our guide to AI SEO tools compares Semrush, Ahrefs and cheaper picks priced for one site.
Workflow 8: UTM links and a tracking sheet
UTM parameters are the tags at the end of a link that tell your analytics where a visit came from. Small inconsistencies, like "Newsletter" in one link and "newsletter" in another, split your data.
Create tagged links for the [CAMPAIGN NAME] campaign pointing to [LANDING PAGE URL].
Channels: newsletter, Instagram bio, LinkedIn post and partner email.
Use lowercase and hyphens instead of spaces, and follow @brand/utm-rules.md if it exists.
Always set utm_source, utm_medium and utm_campaign. Add utm_content when a channel has more than one link.
Output utm/[CAMPAIGN].csv with the channel, the full link and each parameter in its own column, then confirm every link opens.A good result: one row per link, identical campaign values everywhere, and a confirmation that each link loads.
Check: parameter names must be spelled exactly as Google Analytics lists them. Google says values are case sensitive, so Google and google show up as two sources, and a link without a parameter shows as "(not set)" in your reports.
Make it repeatable: plugins, skills, connectors and schedules
Once a workflow has run twice, stop retyping it. Four features take you from a good prompt to a routine:
Plugin
Ready-made marketing commands in one install
Skill
Your own workflow saved as a command
Connector
Claude reads the tool instead of an export
Schedule
The saved prompt runs every Monday
Install the Claude Code marketing plugin
A plugin bundles skills, commands and connector settings into one install. Anthropic publishes an open-source marketing plugin, built for Cowork and compatible with Claude Code, with commands for content drafts, campaign plans, brand reviews, competitive briefs, performance reports, SEO audits and email sequences. Our guide to Claude Code plugins has the two install commands and compares it with the other plugins worth installing.
Claude Code marketing skills
A skill is a saved procedure you start with a command such as /weekly-report. How to create a Claude skill walks through building one for campaign briefs. For ready-made ones, the ai school skills directory has a page for each, such as the marketing plugin's Campaign Plan and the Claude Ads audit skill.
Connect HubSpot, your SEO tool and your ad accounts
Connectors (MCP servers) let Claude read your tools directly, so you skip the download step. The screenshot at the top of this guide is Claude's connector directory with the Sales & marketing filter on: HubSpot, Semrush, Ahrefs, Klaviyo, and Supermetrics and Windsor.ai for ad data are all there. For leads and paid ads, these three matter most:
HubSpot
Search and update contacts, deals and campaigns. See HubSpot.
Claude Code and Meta Ads
Meta's own server reads results and can create or edit campaigns, ad sets and ads, so keep Manual mode on. See Meta Ads.
Google Ads
Google's server is built for reports. Its 0.0.6 release on PyPI (November 2, 2026) added asset and label tools that need a second confirmation and can be switched off; checked November 22, 2026. See Google Ads.
Start with read-only reporting, and keep Manual mode on for any connector that can change a live campaign. The ai school MCP directory has setup steps for each, Semrush, Ahrefs and Supermetrics included.
Run it on a schedule
In the desktop app, the Scheduled tasks page runs a saved prompt hourly, daily, on weekdays or weekly; turn on Only on this computer so it can read your marketing folder. A local task only runs while the app is open and your computer is awake, so schedule a Monday report for a time when you are at your desk.
When a marketing run goes wrong
These are the problems that come from the marketing work itself. For Claude Code's own error messages, such as a full context window or a mistyped command, the Claude Code cheat sheet lists each one with the command that fixes it.
| What you see | Likely cause | Fix |
|---|---|---|
| Totals don't match the ad platform | Different date range, time zone or attribution setting | Export both weeks with the same settings, then compare the script's totals line by line |
| A competitor page comes back empty or partial | The site blocks automated visits or loads content with scripts | Save the page as a PDF into research/ and point Claude at the file |
/campaign-plan isn't found after installing the plugin | Plugin commands carry the plugin's name | Type /marketing:campaign-plan, or run /plugin and check the Installed tab |
| A connector such as HubSpot stops answering | Its sign-in may have expired | Run /mcp, select the server and sign in again |
| Claude gets slow or forgets earlier steps on a big export | The whole file went into the conversation | Ask for a script that reads the file and prints only totals and five sample rows |
| A line with an accent, such as "Café", shows as over the limit | The count was in bytes (what wc -c does), and an accented letter takes two | Ask for a script that counts characters with Python's len() |
Check before anything goes live
0 of 7 done
Quick check0 of 3 correct
Why does the weekly report prompt ask Claude to describe the files and wait before calculating?
Not quite.
Checking columns, date ranges and row counts first stops one bad file from quietly skewing every number in the report.
Your Google Ads prompt asks for 15 headlines. What limit must each one respect?
Not quite.
Google Ads allows up to 30 characters per responsive search ad headline and 90 per description, so ask for a script to count every line.
Where should the claims in your copy come from?
Not quite.
A proof.md file gives Claude a fixed list of claims it may use, so nothing invented reaches customers.
What to do next
Set up the marketing folder today, add voice.md and proof.md, and run Workflow 2 on your latest reviews or survey export. Its output feeds the brief, the Google Ads copy and the landing page, so it pays off several times.
When one workflow works, turn it into a skill or a plugin command before you start the next. Our Claude Code course teaches the Claude Code side step by step, including lessons on competitor research and on analyzing data, and the AI marketing course adds the creative and the automated follow-up (Creators plus Autopilot); both are in early access, we sell them, and every workflow above works without them.
Weekly marketing report kit
A folder layout, a column map for ad, analytics and email exports, a four-prompt report chain and a 12-point number check you can reuse every Monday.
Enter your email and the full section opens right here.
Frequently asked questions
Is Claude Code good for marketing?
Yes, for marketing work that involves files, data and repetition: research with sources, briefs, bulk copy with counted lengths and weekly reports. It doesn't replace your ad platforms, CRM or analytics; it works next to them through the exports you download or through connectors.
Is Claude Code good for SEO?
For the repetitive side of SEO, yes: grouping a keyword list by search intent, rewriting titles and meta descriptions in bulk with counted lengths, and finding pages that miss an element. It has no search volume or ranking data of its own, so the numbers always come from your SEO tool.
Can Claude Code connect to Google Ads and Meta Ads?
Yes, through MCP servers for both. Start with read-only reporting, because Meta's server can change live campaigns. The connectors section of this guide says what each server can do, as checked on November 6, 2026.
Do I need to know how to code to use Claude Code for marketing?
No. You describe the job in plain English and review what it saves, and when it needs code, for example to count characters or total a CSV, it writes and runs that code itself. You do need a paid Claude plan: Claude Code is included from the Pro plan up, and it is not part of the Free plan.
Can I give Claude Code customer exports like CRM lists or reviews?
Yes, but strip names, emails and anything else you don't need first. On Free, Pro, Max and Ultra you choose whether your sessions can be used for training, while Team, Enterprise and API use is not used for training unless the organization opts in.
Should I use Claude Code or the Claude app for marketing?
For a single email or a handful of headlines, the Claude app is quicker, and Cowork in the Claude desktop app takes on longer file tasks without a terminal. Claude Code pays off when the work needs a folder of files, scripts that check numbers, a page to preview or a process you rerun every week.
Keep reading
Claude Code for Non-Developers: 15 Use Cases with Prompts
Claude Code for non-developers: 15 use cases for marketing, sales, ops, finance and content, each with a copy-ready prompt and a check. No coding needed.
Claude Code · 14 min readClaude Code Prompts: 15 Templates and Workflows to Copy
Claude Code prompts that work: 15 templates and 3 workflows for writing, data, websites and research, each with a check, plus the built-in /workflows.
Claude Code · 14 min readAutomate Social Media Posts With AI for Free, in 3 Levels
Automate social media posts with AI for free: a content calendar prompt we ran on Claude Opus 5.5, a human approval step, then Buffer, Metricool or n8n.
Automation and agents · 15 min read