Contextual Intelligence & AI

Prompt engineering

In short

Prompt engineering is the practice of designing, testing, and refining the instructions given to a large language model so it produces reliable output. A prompt can include a task, background context, examples, and a required output format.

In go-to-market work, prompts drive tasks like summarizing an account, drafting a first-line email, or classifying replies. Good prompts make results repeatable across a team instead of depending on one person's phrasing.

Parts of a strong prompt

  • Role and task: Say what the model should do and for whom, for example "summarize this company for an enterprise AE".
  • Context: Paste the facts it should use, such as the website text, the product, and the ideal customer profile.
  • Examples: Show one or two good outputs so the model copies the style and structure.
  • Constraints: Set length, tone, and banned phrases, and tell the model to say "unknown" instead of guessing.
  • Output format: Ask for a fixed structure such as bullet points or JSON so results can flow into a CRM field.

A practical GTM example

Say an SDR team wants a one-line reason to reach out to each account. A weak prompt says "write an opener for this company". A stronger prompt supplies the company description, one recent news item, the persona's likely priority, a 25-word limit, and an instruction to use only the facts provided.

Run the prompt on ten accounts, read every result, and note where it invents details. Adjust the wording, then rerun the same ten to see whether the output improved.

How to iterate

  • Build a test set: Keep a small set of real accounts with known good answers.
  • Change one thing at a time: Edit the instruction, the examples, or the format, not all three.
  • Review output by hand: Spot checks catch hallucinated facts that automated checks miss.
  • Version your prompts: Store the winning prompt in a shared doc so the team uses one version.

Common mistakes

  • Vague instructions: "Make it good" gives the model nothing to aim at.
  • No source facts: Without supplied context the model fills gaps with plausible guesses.
  • Skipping review: Sending AI text unread damages trust with buyers.
  • Overlong prompts: Piling on rules can make output worse. Trim until each line earns its place.

Prompt engineering FAQs

What is prompt engineering in simple terms?

Prompt engineering is writing clear instructions for an AI model so it returns the output you want. It involves giving the task, context, examples, and format, then testing and adjusting the wording until results are consistently accurate and useful.

How is prompt engineering used in sales and marketing?

Teams use prompts to summarize accounts, draft personalized emails, classify replies, and prepare call briefs. A shared, tested prompt keeps tone and quality consistent across reps and reduces the time spent writing from scratch.

Do you need to code to do prompt engineering?

No. Most prompt work is plain-language writing and testing. Coding helps when you want to run a prompt across many records automatically, but a clear instruction, good context, and careful review matter more than technical skill.

How do you stop an AI from making things up in a prompt?

Provide the facts to use, tell the model to rely only on them, and allow it to answer "unknown" when information is missing. Then spot check outputs against sources, since no prompt removes errors completely.

More related phrases

Put context behind every account decision

  • Context learned from your closed-won deals
  • Accounts ranked on fit, with the reason shown
  • Direct push to Salesforce, HubSpot, and Clay