LLM Prompt Patterns for Sales and Marketing Ops
Eight prompt patterns that make LLMs reliable in sales and marketing ops, with copy-ready templates for lead fit, title cleanup, reply sorting, research briefs and outbound drafts, plus the cost math.
The LLM prompts that work for sales and marketing ops follow eight patterns. Give the model a role and the why. Put the data first and the question last. Show three to five examples. Force a structured output. Allow an unknown answer. Quote before you claim. Chain small steps. Test against a labeled set. Below are copy-ready templates for each.
Most sales prompts fail for the same reason. Someone writes "Write a personalized email for this lead" and pipes it into a sequence. The model fills gaps with confident fiction. A rep sends it. The prospect notices.
The fix isn't a magic phrase. It's treating a prompt like code: a clear spec, typed output, tests and versions. This guide covers the anatomy of a production prompt, eight patterns, six templates for real GTM jobs, a decision rule for when not to use an LLM, the cost math and how to test.
Key takeaways
- Context beats cleverness. Most bad outputs come from missing data or a vague output shape, not the model.
- Always allow unknown. A prompt with no way to abstain will invent an answer.
- Force the shape. Structured output turns free text into fields your CRM and code can check.
- Chain small steps. Research, score and draft as separate calls you can log and test.
- Test before you ship. Fifty labeled records catch most problems before a rep sees them.
Why do most sales prompts fail in production?
A large language model does exactly what the prompt allows. When the prompt is vague, it guesses. When the data is thin, it fills in the blanks. When the format is loose, it rambles.
In a chat window, you catch that and fix it. In a workflow that runs on 5,000 records overnight, nobody catches it. That's the core difference between chat prompting and ops prompting.
Here's what goes wrong most often:
| Failure | What it looks like | Root cause |
|---|---|---|
| Made-up facts | "Congrats on the Series B!" to a company that never raised | No source text, no permission to say unknown |
| Wrong format | A paragraph where code expected a score | No structured output |
| Drift | Same input, different answer each run | High temperature on a classification task |
| Generic copy | "I noticed you're a leader in your space" | No real context about the prospect |
| Silent breakage | Model update changes outputs | No test set, no prompt versions |
Every pattern below fixes one or more of these. Good prompt engineering for ops is mostly about removing room to guess.
The anatomy of a production prompt
Every prompt I put in a workflow has the same six parts, in the same order. Anthropic's prompting best practices recommend putting long data near the top, above the question and instructions. The same page says queries at the end can improve response quality by up to 30 percent in its tests, especially with complex inputs.
SYSTEM
You are a RevOps analyst at a B2B software company. You sort inbound
leads so reps spend time on the right accounts. Accuracy matters more
than coverage: a wrong answer sends a rep after the wrong account.
USER
<documents>
<document index="1">
<source>crm_record</source>
<document_content>{{crm_fields_as_json}}</document_content>
</document>
<document index="2">
<source>company_website</source>
<document_content>{{homepage_text}}</document_content>
</document>
</documents>
<rules>
{{icp_definition}}
</rules>
<examples>
{{three_to_five_labeled_examples}}
</examples>
<task>
Decide if this company fits our ICP using only the documents above.
If the documents don't say enough, answer "unknown".
Return the JSON object described in the schema.
</task>
The six parts:
- Role and why. The system prompt says who the model is and why the task matters.
- Data. Records and source text, each in its own tag.
- Rules. Your definitions, like the ICP or the scoring rubric.
- Examples. Three to five labeled cases.
- Task. One clear instruction, at the end.
- Output shape. A schema the answer must match.
Order matters. So does keeping each part in its own tag. The same Anthropic page says XML tags help the model parse prompts that mix instructions, context, examples and inputs. It also says to use consistent tag names across prompts.
The eight prompt patterns
1. Give a role and the reason
Say who the model is and why the rule exists. Anthropic's guide uses the analogy of "a brilliant but new employee who lacks context on your norms." It also says explaining the reason behind a rule helps the model generalize. "Never mention funding" is weaker than "Never mention funding, because our data on rounds is often out of date and a wrong congrats kills trust."
2. Data first, question last
Put records and source text at the top. Put the instruction at the bottom. This follows the long-document guidance above, and it keeps your template easy to read.
3. Show three to five examples
Examples steer format and judgment better than any adjective. Anthropic's guide says to include 3 to 5 examples, make them relevant and diverse, and wrap them in example tags. Include at least one hard case and one unknown case. If every example says "fit," the model learns to say "fit."
4. Force a structured output
Ask for JSON that matches a schema, and use your provider's structured output mode when it has one. Anthropic's structured outputs docs say the feature uses constrained decoding to return schema-compliant JSON, with required fields and correct types. The same page notes limits: some constraints like minimum and maximum aren't supported in the schema itself, and enum casing isn't guaranteed. So validate in code anyway. A structured output is what lets a CRM property, a router or a test read the answer. The structured outputs for GTM post goes deeper.
5. Allow unknown
Every classification prompt needs a way out. Add "unknown" or "insufficient_data" to every enum. Anthropic's guide to reducing hallucinations lists giving the model permission to say it doesn't know as its first technique. It says this can drastically reduce false information. A hallucination in a CRM field is worse than a blank, because it looks true.
6. Quote, then claim
For research and summaries, ask for the supporting quote next to each claim. The same hallucination guide suggests making the model cite quotes for each claim and retract any claim it can't support. Then check in code that each quote appears in the source text. That's a cheap guardrail that catches most invented facts.
7. Chain small steps
Split big jobs into calls you can inspect. Prompt chaining means one call's output feeds the next. Anthropic's guide calls self-correction the most common chain: draft, review against criteria, then refine. Each step is a separate call you can log and test. Research, score and draft should never be one prompt.
8. Version and test
Store every prompt in version control, with a version number. Write that version to the record next to the output. Keep a labeled test set and run it on every change. That's evals, and it's what lets you swap models without fear.
Six prompt templates for sales and marketing ops
Each template below uses the anatomy above. Swap in your own rules and examples.
Template 1: ICP fit classification
Use it to sort inbound leads or new accounts before routing.
<task>
Using only the documents, classify the company against the ICP rules.
Pick exactly one fit value. Use "unknown" if the documents don't show
employee count or what the company sells.
List the rule each reason comes from.
</task>
Schema:
{
"fit": "strong | partial | poor | unknown",
"reasons": [{"rule": "string", "evidence_quote": "string"}],
"missing_data": ["string"]
}
Your ideal customer profile goes in the rules block as plain bullet points: industries, size bands, must-haves and disqualifiers. Keep it under one screen.
Template 2: job title normalization
Raw titles are messy. Routing needs a clean function and seniority. This is a perfect few-shot task.
<task>
Map the raw job title to one function and one seniority from the lists.
If the title is ambiguous, use "unknown" for that field. Don't guess.
</task>
<examples>
<example>
Title: "VP, Rev Ops & Strategy"
Output: {"function": "revops", "seniority": "vp"}
</example>
<example>
Title: "Head of Growth (Acting)"
Output: {"function": "marketing", "seniority": "head"}
</example>
<example>
Title: "Founder"
Output: {"function": "executive", "seniority": "c_level"}
</example>
<example>
Title: "Specialist"
Output: {"function": "unknown", "seniority": "individual_contributor"}
</example>
</examples>
Run a regex pass first and send only the leftovers to the model. Rules handle "VP" and "Director" for free.
Template 3: account research brief
Use it to prep a rep before a first call. The quote-then-claim pattern does the heavy lifting.
<task>
Write a pre-call brief using only the documents.
For each claim, include the exact quote that supports it.
If you can't find a quote, leave the claim out.
Skip anything older than 12 months unless it's about what they sell.
</task>
Schema:
{
"summary": "string, one sentence",
"priorities": [{"claim": "string", "quote": "string", "source": "string"}],
"recent_events": [{"event": "string", "date": "string", "quote": "string"}],
"questions_for_call": ["string", "string", "string"]
}
Feed it the homepage, the newsroom and any notes in the CRM. If you have a lot of internal docs, pull the relevant ones first with retrieval-augmented generation. The RAG for sales teams post covers that. The AI account research post covers what reps actually trust.
Template 4: outbound first line, with a skip rule
This is where most AI personalization goes wrong. The fix is a skip rule.
<task>
Write one opening line for a cold email to this person, under 20 words.
Base it on one specific, recent fact from the documents.
If there is no fact from the last 90 days that ties to the problem in
<offer>, return "skip": true and no line. A generic line is worse
than no line.
</task>
Schema:
{ "skip": "boolean", "line": "string", "fact_quote": "string" }
Records that come back with skip get the standard template. That's fine. A plain opener beats a fake one. The AI email personalization guide and the cold email copywriting post cover the rest of the email.
Template 5: reply classification
Sort replies to outbound so the right ones reach a rep fast.
<task>
Classify the reply into exactly one category.
If the reply names another person to contact, fill "referral_name".
If it gives a date to follow up, fill "follow_up_date" as YYYY-MM-DD.
</task>
Schema:
{
"category": "interested | not_now | wrong_person | unsubscribe |
out_of_office | objection | unknown",
"referral_name": "string or empty",
"follow_up_date": "string or empty",
"quote": "the sentence that decided the category"
}
Route "unsubscribe" with a rule, not a model. Opt-outs are too important to leave to a probability. Use the model for the gray areas, and send "unknown" to a person.
Template 6: call notes to CRM fields
Turn a call transcript into the fields your pipeline needs.
<task>
From the transcript, fill the fields below. Use only what the buyer said.
For each field, include the quote. If a field wasn't discussed, use null.
</task>
Schema:
{
"primary_pain": {"value": "string or null", "quote": "string"},
"timeline": {"value": "string or null", "quote": "string"},
"decision_maker": {"value": "string or null", "quote": "string"},
"competitors_mentioned": ["string"],
"next_step": {"value": "string or null", "quote": "string"}
}
Write the values to suggestion properties, not the real ones. The rep confirms with one click. That keeps a human in the loop on fields that drive the forecast.
When should you not use an LLM at all?
Plenty of GTM tasks are cheaper, faster and safer without a model. Here's my decision rule:
| Task looks like | Use | Example |
|---|---|---|
| A fixed lookup | A table or dropdown | Country name to ISO code |
| A pattern | Regex or code | Pulling a domain from an email |
| A clear rule | CRM workflow | Route by territory |
| Judgment on messy text | LLM with a schema | Reply category, title cleanup |
| Writing from facts | LLM with quotes and a skip rule | First lines, call briefs |
| A decision with legal or money impact | A person | Discount approval, opt-outs |
Rules first, model for the leftovers. That cuts cost and removes a whole class of errors. The AI marketing workflows post has more examples of where the line falls.
How do settings like temperature affect sales prompts?
Temperature controls how much randomness the model uses when it picks words. Low settings give more consistent answers. Higher settings give more variety.
| Task | Setting | Why |
|---|---|---|
| Classification and scoring | Low, near zero | Same input should give the same answer |
| Extraction to fields | Low | You want the text, not creativity |
| Research summaries | Low to moderate | Stick to sources, readable prose |
| Copy drafts | Moderate | Some variety helps A/B tests |
Some newer models handle sampling settings differently. Check your provider's docs, and let your test set decide.
Watch the context window too. More text isn't always better. Send the fields and pages the task needs, not the whole CRM record. That's the core idea of context engineering, and the context engineering post argues it's a better unit of work than the prompt.
Worked example: the cost of classifying 50,000 records
Model cost is usually small next to the time it saves. But at volume, two features change the math: prompt caching and batch processing. Here's the math with assumed prices. Plug in your provider's real rates.


Say you classify 50,000 records. Each call has a 1,200 token shared prompt with rules and examples, 300 tokens of record data and 100 tokens of output. Assume $1 per million input tokens and $5 per million output tokens.
Standard calls. Input is 1,500 tokens times 50,000 records, or 75 million tokens. That's $75. Output is 5 million tokens, or $25. Total: $100.
With batch processing. Anthropic's pricing page lists a 50% discount on input and output for its Batch API. Results come back later instead of right away. Same job: $50.
With prompt caching. The same pricing page lists cache reads at 0.1x the base input price on most models. The 1,200 shared tokens become cache reads: 60 million tokens at a tenth of the price, or $6. The 300 record tokens are $15. Output is still $25. Total: about $46, plus a small cost for cache writes.
Use batch for overnight jobs like title cleanup and backfills. Use caching for anything real-time that reuses a long prompt, like reply sorting. Check your provider's docs to see whether the discounts stack.
How do you test a sales prompt before it goes live?
Testing is the part everyone skips. It's also the part that makes the rest work.
- Pull 50 to 100 real records. Mix easy, hard and messy cases.
- Label them by hand. Two people label separately, then settle any disagreements.
- Run the prompt. Save every output with the prompt version.
- Score it. Count exact matches for classifications. For writing, check a rubric: uses a real fact, stays under the word limit, no claims without quotes.
- Read the misses. Most fixes are a better rule, a better example or a missing unknown option.
- Set a ship bar. For routing, I want 90% or more correct and every miss to be "unknown" rather than wrong.
- Rerun on every change. New prompt, new model, new examples: same test set.
Keep the test set in a sheet or a repo next to the prompt. When a rep reports a bad output, add that record to the set. Over time, it becomes your best asset.
Common prompt mistakes in GTM workflows
- No source text. Asking the model to "research" a company from its name invites invention.
- No unknown option. The model will always pick something.
- Free-text output. Code can't check it, and the CRM can't store it cleanly.
- One mega-prompt. Research, scoring and writing in one call can't be tested.
- Examples that all agree. The model copies the pattern, not the judgment.
- Negative-only rules. "Don't be salesy" is weak. Say what to do instead. Anthropic's guide makes the same point.
- No versions. When outputs change, you can't tell if the prompt, the model or the data moved.
- Auto-send. Drafts go to a rep, not straight to a prospect. The AI SDR post covers what to automate and what to keep human.
Where these prompts run
The templates work in any tool that can call a model API and write back to the CRM. Three common setups:
| Setup | Good for | Notes |
|---|---|---|
| Workflow tool, like n8n | Scheduled jobs and webhooks | See n8n for GTM teams |
| CRM custom code step | Triggered on a record change | Keep calls short and idempotent |
| Agent with tools over MCP | Reps asking questions in chat | See an MCP server for your CRM |
Agents add tool calls on top of these prompts, but the patterns don't change. The AI agents for GTM guide and the AI agents and MCP use case cover that layer.
What to do this week
- Pick one task that runs at volume: title cleanup or reply sorting are good first picks.
- Label 50 real records by hand.
- Write the prompt with the six-part anatomy and an unknown option.
- Add a schema and use your provider's structured output mode.
- Run it on the 50. Read every miss. Fix and rerun until you hit your ship bar.
- Ship it with a prompt version written to each record.
Then do the next task. If you want help building the prompts, test sets and workflows, that's part of my GTM engineering work. The GTM engineers page shows how I work with in-house builders.
FAQ
What makes a good LLM prompt for sales work?
A good sales prompt gives the model a clear role, the data it needs, the exact task and the exact output shape. It includes a few labeled examples and an allowed answer for when the data isn't enough. Most bad outputs come from missing context or a vague output format, not from the model. Write the prompt so a new hire could follow it.
Should I use one big prompt or several small ones?
Use several small ones for anything that runs at volume. Splitting research, scoring and drafting into separate calls lets you check each step, log it and swap one piece without breaking the rest. One big prompt is fine for a one-off task in a chat window. In a workflow that touches the CRM, small steps are easier to test and debug.
How do I stop an LLM from making things up about a prospect?
Give it the source text, tell it to use only that text, and let it answer unknown when the text doesn't say. Ask it to quote the line that supports each claim. Then check in code that every quote really appears in the source. Anything without a supporting quote gets dropped before a rep sees it.
What temperature should I use for sales prompts?
Use a low temperature, at or near zero, for classification, extraction and scoring, where you want the same input to give the same answer. Use a moderate setting for drafting copy, where some variety helps. Some newer models handle sampling settings differently, so check your provider's docs and test with your own examples before you lock it in.
How do I test a sales prompt before using it in production?
Build a test set of 50 to 100 real records with the right answer labeled by a person. Run the prompt on all of them and count how many it gets right. Look hard at the misses, fix the prompt or add an example, and run it again. Rerun the same test set every time you change the prompt or the model.
Can I use ChatGPT or Claude prompts directly in HubSpot workflows?
Yes, through a workflow tool or a custom code step that calls the model's API and writes the answer back to a property. Ask for structured output so the answer maps cleanly to fields. Keep a prompt version property on each record, so you can trace any odd value back to the prompt that wrote it.
More like this
B2BAI and automationGlossary: Chain of Thought (CoT), Custom GPT (Claude Projects), Discovery Questions, Few-Shot Prompting