Office hours: Build your self-driving GTM engine·Oct 29, 9:00am PT, onlineRegister→
Cargo
  • ProductAgentsReduce manual effort and close more deals with AIPlaysAutomate every stage of lead management so you can move fasterToolsAutomate repetitive tasks so your team can focus on what drives impactData ModelsUnify, organize, and activate your revenue dataAppsCustom interfaces for your team, wired to your live GTMTerritoriesModel your team, territories, and capacity in one placeContextOne shared knowledge base for your team and agents
    Add-onsChrome ExtensionSell faster, right in your browserButtonTrigger AI agents inside your CRMFormTurn any tool into an embeddable formSlackTag Cargo in Slack. It does the GTM workGitHubPlan on every pull request, deploy on merge
    MoreProjectsDefine your entire GTM in codeCLIUse Cargo from your terminalMCPUse Cargo from Claude and ChatGPTDeveloper resourcesCargo API docs, OpenAPI spec, auth docs, webhooks, MCP serverAPI ReferenceExplore the Cargo APIDocumentationLearn how to use CargoIntegrationsConnected to your entire GTM stack
  • VeriffHow Veriff replaced MuleSoft with Cargo under NetSuite, Stripe and SalesforceAugmentHow Augment Code routes developer sign-ups to reps in under an hourWeights & BiasesHow Weights & Biases ships a new purchase signal in 2 days on CargoSee all
  • Pricing
  • Cookbooks
  • Blog
Sign in
Blog

Prompt Engineering for Revenue Operations

1 Feb12min read
MaxMax

LLMs are only as useful as the prompts that guide them. In revenue operations, the difference between a mediocre prompt and an excellent one can mean the difference between generic automation and genuinely intelligent workflows.

This guide covers practical prompt engineering for common RevOps use cases, lead qualification, account research, message generation, and data enrichment.

Prompt Engineering Fundamentals #

Before diving into specific use cases, let’s establish core principles:

Principle 1: Be Specific About Role and Context

LLMs perform better when they understand who they’re being and what they’re doing:

Weak:

text
Summarize this company.

Strong:

text
You are a B2B sales research analyst preparing
account briefs for enterprise software sales reps.

Summarize this company focusing on:
- Business model and target customers
- Recent news that might create buying triggers
- Likely pain points related to revenue operations
- Key stakeholders in sales/marketing leadership

Principle 2: Provide Examples (Few-Shot Learning)

Show the output format you want:

Weak:

text
Score this lead.

Strong:

text
Score this lead on a scale of 1-100 based on ICP fit
and buying signals.

Example Output:
Score: 78/100
ICP Fit: 85/100 - Strong match on company size and
industry, slight mismatch on tech stack complexity
Buying Signals: 71/100 - Recent VP Sales hire suggests
GTM investment, but no direct intent signals detected
Summary: High-potential lead, prioritize for outreach
Next Best Action: SDR call within 48 hours

Now score this lead:
[Lead data]

Principle 3: Constrain Output Format

Structured outputs are easier to process downstream:

text
Return your analysis as JSON with this schema:
{
  "score": number (1-100),
  "fit_score": number (1-100),
  "intent_score": number (1-100),
  "summary": string (max 100 words),
  "recommended_action": string,
  "confidence": "high" | "medium" | "low"
}

Principle 4: Include Guardrails

Prevent hallucination and off-topic responses:

text
Important guidelines:
- Only use information provided in the context
- If information is missing, say "Unknown" rather than guessing
- Do not make up company details or statistics
- Flag any claims you're uncertain about

Use Case 1: Lead Qualification Prompts #

Basic Qualification Prompt

text
You are a B2B lead qualification specialist for a
revenue operations platform.

ICP Definition:
- Company Size: 50-500 employees
- Industries: B2B SaaS, FinTech, E-commerce
- Funding: Seed to Series C
- Tech Stack: Must use a CRM (Salesforce, HubSpot, etc.)
- GTM Motion: Has dedicated sales team

Qualification Criteria:
1. ICP Fit (0-40 points): How well does the company
   match our ideal customer profile?
2. Timing Signals (0-30 points): Are there indicators
   of active evaluation or need?
3. Engagement (0-20 points): How has the lead engaged
   with our content/product?
4. Stakeholder (0-10 points): Is this person a
   decision-maker or influencer?

Lead Information:
[Insert lead data]

Provide your qualification as JSON:
{
  "total_score": number,
  "icp_fit": {"score": number, "reasoning": string},
  "timing": {"score": number, "reasoning": string},
  "engagement": {"score": number, "reasoning": string},
  "stakeholder": {"score": number, "reasoning": string},
  "qualification": "Qualified" | "Nurture" | "Disqualify",
  "recommended_action": string
}

Advanced Qualification with Reasoning

text
You are evaluating a lead for sales follow-up.
Think through this step-by-step.

Step 1: Assess Company Fit
- Does this company match our ICP on firmographics?
- Are there any disqualifying factors?

Step 2: Evaluate Timing
- What signals suggest they might be in a buying cycle?
- What signals suggest they're not ready?

Step 3: Analyze Engagement
- What actions has this lead taken?
- What do these actions suggest about intent?

Step 4: Determine Stakeholder Fit
- Can this person influence or make purchasing decisions?
- Should we also target other stakeholders?

Step 5: Synthesize
- Weigh the factors and provide a final recommendation

Lead Data:
[Insert comprehensive lead data]

Provide your step-by-step analysis, then conclude with:
QUALIFICATION: [Qualified/Nurture/Disqualify]
CONFIDENCE: [High/Medium/Low]
ACTION: [Specific recommended next step]

Use Case 2: Account Research Prompts #

Company Research Synthesis

text
You are a sales intelligence analyst preparing an
account brief for an enterprise sales rep.

Research Sources Provided:
- Company website content
- Recent press releases
- LinkedIn company page
- News articles from past 6 months

Create an account brief covering:

1. COMPANY OVERVIEW (2-3 sentences)
Business model, target market, and competitive position

2. RECENT DEVELOPMENTS (bullet points)
- Funding, M&A, or financial news
- Leadership changes
- Product launches or pivots
- Partnerships or integrations

3. POTENTIAL PAIN POINTS
Based on company stage and recent news, what challenges
might they face related to:
- Sales efficiency and pipeline
- Marketing and demand generation
- Revenue operations and data

4. BUYING TRIGGERS
Events that might create urgency for our solution

5. KEY STAKEHOLDERS
Likely decision-makers and influencers for revenue
operations tools

6. RECOMMENDED APPROACH
Suggested angle and messaging for initial outreach

Research Data:
[Insert scraped content]

Format as a clean, scannable brief that a sales rep
can review in 2 minutes.

Competitive Intelligence Prompt

text
You are a competitive intelligence analyst. Based on
the provided information, assess this account's
competitive landscape.

Current Stack (from enrichment data):
[List of technologies]

Questions to answer:
1. What relevant competitors do they currently use?
2. How entrenched is their current solution?
3. What displacement opportunities exist?
4. What integration requirements would they have?
5. What competitive positioning should we use?

Provide analysis in this format:

COMPETITIVE STATUS:
- Current Solution: [Tool name or "None detected"]
- Entrenchment Level: High/Medium/Low
- Displacement Difficulty: Hard/Medium/Easy

OPPORTUNITY ASSESSMENT:
[2-3 sentences on competitive dynamics]

RECOMMENDED POSITIONING:
[Specific angle to use against current/likely solution]

INTEGRATION REQUIREMENTS:
[List of must-have integrations based on their stack]

Use Case 3: Message Generation Prompts #

Cold Email Generation

text
You are a sales copywriter creating personalized cold
emails for B2B SaaS outreach.

Brand Voice Guidelines:
- Conversational and direct, not salesy
- Lead with insight, not pitch
- Short paragraphs (1-2 sentences each)
- Total length under 100 words
- One clear, low-friction CTA

Email Framework:
1. Hook: Reference something specific and recent about
   their company/role
2. Problem: Briefly articulate a challenge they likely face
3. Credibility: One proof point (similar customer, result)
4. CTA: Specific ask with clear next step

Personalization Data:
[Company research, contact info, trigger events]

Generate 3 email variations:
- Variation A: Lead with company trigger
- Variation B: Lead with role-specific pain point
- Variation C: Lead with industry trend

For each, provide:
- Subject line (under 50 characters)
- Email body
- Why this approach might resonate

Follow-Up Email Prompt

text
You are writing a follow-up email after no response
to initial outreach.

Context:
- Original email sent [X days ago]
- Subject: [Original subject]
- Key point: [What the first email emphasized]
- No open/click data available

Follow-up Guidelines:
- Don't repeat the first email
- Add new value (insight, resource, question)
- Keep even shorter than original (under 75 words)
- Make it easy to respond

Generate a follow-up that:
1. Acknowledges they're busy (briefly)
2. Provides a new angle or piece of value
3. Asks a specific question OR offers specific help
4. Has a clear CTA

Output format:
Subject: [New subject line]
Body: [Email text]
Approach: [Why this follow-up angle]

LinkedIn Connection Request

text
You are writing LinkedIn connection requests for
B2B sales outreach.

Constraints:
- Maximum 300 characters (LinkedIn limit)
- No sales pitch
- Personal but professional
- Give a reason to connect

Personalization Data:
[Contact info, company, recent activity, mutual connections]

Generate 3 connection request variations:
1. Shared interest/background approach
2. Compliment on their content/work approach
3. Direct but non-salesy professional approach

For each, provide:
- Connection request text (under 300 chars)
- What makes this personalized

Use Case 4: Data Enrichment Prompts #

Extracting Structured Data from Unstructured Text

text
You are a data extraction specialist. Extract
structured information from the provided text.

Source Text:
[Company "About" page, press release, or other content]

Extract the following fields (return "Not found" if
information is not available):

{
  "company_description": string (1-2 sentences),
  "business_model": "B2B" | "B2C" | "B2B2C" | "Marketplace",
  "target_market": string,
  "founding_year": number | "Not found",
  "headquarters": string,
  "employee_count_estimate": string (range like "50-100"),
  "funding_stage": string | "Not found",
  "key_products": [string],
  "industries_served": [string],
  "notable_customers": [string] | "Not found"
}

Important:
- Only extract information explicitly stated in the text
- Do not infer or guess missing information
- Use "Not found" for any field without clear evidence

ICP Classification

text
You are classifying companies against an Ideal
Customer Profile.

ICP Definition:
[Detailed ICP criteria]

Company Data:
[All available firmographic and technographic data]

Classify this company:

1. PRIMARY CLASSIFICATION
- Tier 1 (Ideal): Matches all must-have criteria
- Tier 2 (Good Fit): Matches most criteria with
  minor gaps
- Tier 3 (Possible): Some fit but significant gaps
- Tier 4 (Poor Fit): Does not match ICP

2. CRITERIA MATCH
For each ICP criterion, assess:
- Criterion: [Name]
- Match: Yes/No/Partial/Unknown
- Evidence: [What data supports this]

3. GAPS AND CONCERNS
What criteria are not met? What information is missing?

4. RECOMMENDATION
Should this account be targeted? Why or why not?

Return structured assessment.

Prompt Templates in Cargo #

Cargo’s workflow engine supports reusable prompt templates:

Template Variables

text
You are scoring a lead for \{\{company_name\}\}.

Company Details:
- Industry: \{\{industry\}\}
- Size: \{\{employee_count\}\} employees
- Funding: \{\{funding_stage\}\}

Contact Details:
- Name: \{\{contact_name\}\}
- Title: \{\{job_title\}\}
- Department: \{\{department\}\}

Recent Activity:
\{\{#each activities\}\}
- \{\{this.type\}\}: \{\{this.description\}\} (\{\{this.date\}\})
\{\{/each\}\}

[Rest of prompt...]

Conditional Prompt Sections

text
\{\{#if has_intent_signals\}\}
Intent Signals Detected:
\{\{#each intent_signals\}\}
- \{\{this.topic\}\}: \{\{this.strength\}\} strength
\{\{/each\}\}
\{\{else\}\}
No intent signals detected for this account.
\{\{/if\}\}

Prompt Chaining

Use output from one prompt as input to another:

text
Workflow:
1. Research Prompt → Account Brief
2. Scoring Prompt (uses Account Brief) → Lead Score
3. Message Prompt (uses Score + Brief) → Personalized Email

Measuring Prompt Effectiveness #

Track these metrics for your prompts:

Quality Metrics

  • Human approval rate on generated content
  • Accuracy of extracted/classified data
  • Downstream conversion rates

Efficiency Metrics

  • Token usage per task
  • Latency per prompt execution
  • Retry rates due to format errors

Consistency Metrics

  • Variance in outputs for similar inputs
  • Format compliance rate
  • Edge case handling

Prompt Optimization Tips #

  1. Start simple, add complexity: Begin with basic prompts and iterate based on output quality

  2. Test with diverse inputs: Ensure prompts handle edge cases and unusual data

  3. Version control prompts: Track changes and their impact on output quality

  4. A/B test variations: Compare prompt approaches on real data

  5. Collect feedback: Build loops for users to flag bad outputs

Effective prompt engineering is a skill that compounds. The teams that invest in optimizing their prompts will see dramatically better results from their LLM-powered workflows.

Ready to build LLM-powered revenue workflows? Cargo’s platform makes it easy to design, test, and deploy prompts at scale.

Key Takeaways #

  • Four core principles for effective prompts: be specific about role/context, provide examples (few-shot learning), constrain output format, and include guardrails against hallucination
  • Structured outputs (JSON, defined schemas) make prompts more reliable and easier to process downstream
  • Four primary RevOps use cases: lead qualification, account research, message generation, and data enrichment, each requires different prompt strategies
  • Prompt templates with variables enable personalized outputs at scale without rewriting prompts for each record
  • Measure prompt effectiveness through quality metrics (approval rate, accuracy), efficiency metrics (tokens, latency), and consistency metrics (variance, compliance)

Frequently Asked Questions #

Prompt engineering for revenue operations is the practice of designing effective instructions for LLMs (like GPT-4 or Claude) to automate sales and marketing tasks. Common applications include lead qualification scoring, account research synthesis, personalized email generation, and data extraction from unstructured sources. Good prompts specify the role, provide examples, constrain output format, and include guardrails against errors.

Effective lead scoring prompts include:

  1. Role definition (“You are a B2B lead qualification specialist”),

  2. ICP criteria (specific firmographic and behavioral requirements),

  3. Scoring framework (weighted criteria like ICP Fit, Timing Signals, Engagement, Stakeholder Level),

  4. Output format specification (JSON schema for scores and reasoning),

  5. Examples showing expected output format. Add step-by-step reasoning instructions for complex qualification logic.

Message generation prompts should include: Brand voice guidelines (tone, length constraints, CTA style), email framework (Hook → Problem → Credibility → CTA), personalization data (company research, contact info, trigger events), and multiple variation requests (e.g., “Generate 3 variations: trigger-based, pain-point, industry trend”). Constrain length explicitly (“under 100 words”) and specify what to avoid (“no buzzwords”).

Prevent hallucinations by:

  1. Adding explicit guardrails (“Only use information provided in the context”),

  2. Specifying fallback behavior (“If information is missing, say ‘Unknown’ rather than guessing”),

  3. Requiring citations (“Reference specific sources for claims”),

  4. Constraining scope (“Do not make up company details or statistics”). For structured extraction, use “Not found” as the default value for missing fields rather than allowing inference.

Measure prompts across three dimensions: Quality metrics (human approval rate on outputs, accuracy of extracted data, downstream conversion rates), Efficiency metrics (token usage per task, latency, retry rates due to format errors), Consistency metrics (variance in outputs for similar inputs, format compliance rate, edge case handling). A/B test prompt variations and version control changes to track impact over time.

MaxMaxFeb 1, 2025
On this page
  • Prompt Engineering Fundamentals
  • Use Case 1: Lead Qualification Prompts
  • Use Case 2: Account Research Prompts
  • Use Case 3: Message Generation Prompts
  • Use Case 4: Data Enrichment Prompts
  • Prompt Templates in Cargo
  • Measuring Prompt Effectiveness
  • Prompt Optimization Tips
  • Key Takeaways
  • Frequently Asked Questions

Stay Informed with our
weekly Newsletter

Related articlesSee all articles
AI & Automation
Agentic Email Conversations With Leads From a Mailbox You Own

How to let an agent answer the leads who reply to you, on the same thread, from a mailbox your Cargo workspace owns: what it deploys, what the mailbox costs each month, the 5 to 40 sends a day warm-up ramp, and the suppression rules the send path enforces. A conversation agent, not a sequencer.

AurelienAurelien·Oct 16, 2026
AI & Automation
Draft LinkedIn Posts Every Week From Your Own Proof Points

How a go-to-market team keeps a founder or sales leader posting from real material: every Monday an agent drafts three LinkedIn posts from the proof points, objections and lessons already in your repository, cites the file behind every claim, and opens one pull request. Nothing is published automatically.

AurelienAurelien·Oct 16, 2026
AI & Automation
Keep Company and Competitor Context Fresh Every Week

How a go-to-market team keeps its positioning, ICP and competitor notes current for every agent that reads them: once a week one agent reads your site, competitors' pricing and changelog pages and the news, lets git show what changed, and opens one pull request. The reads cost at most 0.625 credits a run.

AurelienAurelien·Oct 16, 2026

Build the self-driving GTM engine

Your coding agents build it on Cargo.Or our team builds, operates and improves it with you.

Start building
Cargo
Backed byY CombinatorSOC 2 Type IICertified
LinkedinX

Product

AI AgentsPlaysToolsData ModelsAppsTerritoriesContextEnrichmentRoutingIntegrationsPricing

Add-ons

Chrome extensionButtonFormSlackGitHub

Build

DocsDeveloper resourcesCargo API docsCargo OpenAPI specCargo auth docsCargo webhooksCargo MCP serverProjectsClaude Code

Resources

ReportsBlogCustomer storiesCookbooksGTM skillsGTM EngineeringGlossaryCompareCargo x ClayCargo x WorkatoCargo x n8nCargo x DeeplineCargo x DefaultCargo x LeanDataCargo x UnifyCargo x ValleyCargo x Gojiberry

Company

ManifestoCommunityEventsJobsPartners DirectoryPartner Program

Legal

SecurityTerms of servicePrivacy PolicyRefundsDPASupport
© 2026 Cargo
 ////////    ///////    ////////     ////////    ///////
///         ///   ///   ///   ///   ///         ///   ///
///         ///   ///   ///   ///   ///         ///   ///
///         /////////   ////////    ///  ////   ///   ///
///         ///   ///   /// ///     ///   ///   ///   ///
///         ///   ///   ///  ///    ///   ///   ///   ///
 ////////   ///   ///   ///   ///    ///////     ///////

$ npm install -g @cargo-ai/cli