AIclaudeanthropicai-copywritingai

How to use Draftship with Anthropic Claude

Use Claude's API or Console to draft email copy in a structure that paste-imports cleanly into Draftship blocks. Prompt patterns for subject lines, body copy, and full multi-block emails.

HTML import path
API only
Merge syntax
Generate copy with placeholder variables that match Draftship's defaults
Image hosting
external
Best for
Marketers and engineers who want long-context, brand-voice-tuned email drafts.
Watch out for
Generic prompts return generic copy. Anchor every prompt to your brand voice with examples and tone constraints.

Claude is good at email copy when you ask it correctly. Bad prompts give you LinkedIn-flavored slop. Good prompts return drafts that need a light edit pass and ship. The trick is telling Claude what shape you want the output in (block by block, in JSON) and what voice it should match (with two or three real examples from your archive).

Three ways to wire Claude into a Draftship workflow

STEP 1Pick prompt pathConsole, API, orWorkbenchSTEP 2Send brandexamples + briefFew-shot promptSTEP 3Claude returnsstructured blocksJSON or HTML fragmentsSTEP 4Paste blocks intoDraftshipHeading, text, buttonSTEP 5Edit and exportOutlook-safe HTMLShipDraftship + Claude flow
Draftship and Claude integration paths
  • Console (claude.ai): paste a long prompt, get drafts, iterate. No code.
  • API: programmatic generation. Useful when you're populating templates from CRM data or running batch drafts.
  • Workbench (console.anthropic.com): prompt engineering with side-by-side runs and version comparison.

Prompt template: full email draft

The pattern that consistently produces paste-ready output:

txt
You are writing a marketing email for {{ company }}, a {{ one-line description }}. Brand voice anchors: - Direct. No marketing fluff. - Short sentences over long. - Avoid these words: synergy, leverage (as a verb), unlock, journey. - Tone examples (real emails from our archive): [paste 2-3 short past emails here] Email goal: {{ describe what the recipient should do }} Audience: {{ who is reading this }} Constraints: - Subject line under 50 characters. - Preheader under 90 characters. - One H1 heading. - 2-4 body paragraphs. - One primary CTA button. Return JSON in this shape: { "subject": "...", "preheader": "...", "blocks": [ { "type": "heading", "text": "..." }, { "type": "text", "text": "..." }, { "type": "button", "label": "...", "href": "..." } ] }

The JSON output paste-imports into Draftship's block library cleanly. Each block becomes one Draftship block. The structure forces Claude to think in blocks, not in continuous prose.

Prompt for subject lines only

txt
Generate 10 subject lines for this email. Constraints: - Under 50 characters - No exclamation points - No emoji - Match the tone in this past sample: "[paste a real subject from your archive]" Email body for context: [paste your draft body]

Run the output through the subject line checker to filter for spam-trigger words and length.

Prompt for variant generation (A/B)

txt
Take this email and produce 3 variants: - Variant A: matches the original tone exactly. - Variant B: more direct, removes one paragraph. - Variant C: more conversational, adds a personal note. Original: [paste your draft] Return as JSON with keys A, B, C, each containing { subject, preheader, body }.

Using the API for batch generation

For populating CRM-bound campaigns, the API call:

bash
curl -X POST 'https://api.anthropic.com/v1/messages' \ -H 'x-api-key: sk-ant-...' \ -H 'anthropic-version: 2023-06-01' \ -H 'content-type: application/json' \ -d '{ "model": "claude-opus-4-7", "max_tokens": 2000, "messages": [ { "role": "user", "content": "Your full prompt here" } ] }'

Use the Sonnet or Haiku tiers for higher-volume drafting; Opus for the highest-stakes one-off campaigns where voice precision matters most.

Pasting Claude's output into Draftship

Three patterns for moving from Claude's response into Draftship:

1. Block by block: copy each section, create the corresponding Draftship block, paste content. Slowest but gives you the most editorial control. 2. JSON paste: if you've prompted for JSON, write a small script that parses the JSON and creates Draftship blocks via the import format. Fastest for batch. 3. HTML fragment: prompt Claude for inline HTML fragments per block. Paste each into Draftship's HTML block. Loses some block-level features but is fast.

For one-off launches, pattern 1. For campaigns running at volume, pattern 2.

Test send checklist

  • Run the final email through the size checker.
  • Send a test through your ESP, not just Draftship's preview.
  • Check the rendered output in Gmail and Outlook.
  • Verify any AI-generated link URLs are real, not hallucinated.

When Claude isn't the right tool

For pure visual edits (image cropping, color swaps), Claude is overkill. Use Draftship's editor directly. For structured personalization (cart abandon items, dynamic offers), use your ESP's templating engine, not AI generation.

For prompt engineering broadly, the brand voice principle generalizes: anchor with examples, constrain output shape, validate output with explicit tests.

FAQ

Frequently asked questions

Which Claude model should I use for email copy?
Sonnet for most drafting work; the price-performance is hard to beat. Opus when voice nuance matters most. Haiku for high-volume short-form like subject line variants.
Will Claude hallucinate link URLs?
Yes, if you don't constrain it. Always pass the real URL in the prompt and ask Claude to use exactly that URL. Validate by clicking every link in the output before paste into Draftship.
Can Claude read my brand voice from a public doc?
It can if you paste the doc into the prompt or use a tool that fetches it. Claude doesn't auto-fetch from URLs unless tool-use is enabled. The simplest path is paste 2-3 real past emails as anchors.
How do I keep the same voice across many emails?
Use a system prompt with your brand voice anchors. Send it on every API call. Reproduce the system prompt manually in Console runs. Versioning the system prompt in your repo helps consistency.
Does Claude support generating MJML or React Email components?
Yes for both, with the right prompt. The output paste-imports into the right tool. For Draftship specifically, JSON blocks are faster than MJML or React Email since they map directly to Draftship's data model.
Try it yourself

Design in Draftship. Paste into Anthropic Claude.