Prompt
Term 127 of 175 · Technology
In one sentence
A prompt is the natural language input instruction an AI model receives to generate a response. It defines the task, context, format and tone the user expects, and the quality of the result depends directly on how clear it is.
Reviewed by Juan Manuel Garrido
Co-founder of VantegrateLinkedIn
Prompt definition
A prompt is the input text that a person or a system gives a large language model (LLM) so it produces an output: an answer, a summary, an email, a classification or an action. It is the basic unit of communication with generative AI, and it works as a natural language instruction that the model interprets to decide what to generate. Unlike programming with code, here the "program" is a sentence or a set of instructions written in Spanish or English.
The quality of a prompt largely determines the quality of the response. A vague prompt ("tell me about sales") leaves everything to chance; a precise prompt (role, task, context, format and constraints) narrows the space of possible answers and produces something useful. That is why, in production systems, the prompt is not improvised in each conversation: it is designed, tested and versioned, a practice known as prompt engineering.
In an AI agent, the prompt stops being a standalone message and becomes a structured layer: there is a system prompt that sets the behavior, the available tools and the rules, and a user prompt that brings the specific request. That orchestration of instructions is part of what goes into designing AI agents that automate sales, support or document tasks on Salesforce.
When someone types "write a follow-up email for a customer who did not reply to the quote", that text is a prompt. The model receives it as input, internally converts it into tokens and, based on patterns learned during training, predicts the most likely sequence of text as a response. The prompt is, then, the main lever the user has to steer a system that, at its core, does not "understand" in the human sense but rather completes sequences statistically. This explains why the same model can give brilliant or useless answers depending on how it is asked.
Anatomy of a good prompt
An effective prompt is not a mysterious formula or a long sentence: it is a structure. In professional settings, it pays to include several explicit elements:
- Role or persona: who the model should "be" (for example, "act as a collections analyst").
- Task: the specific, single action being requested (summarize, classify, write, compare).
- Context: the relevant data (the customer, the history, the balance, the region).
- Output format: whether you want a table, a list, JSON or a paragraph.
- Constraints: tone, length, language, what to avoid and what not to make up.
- Examples: one or more samples of the expected result, a technique known as few-shot prompting.
The more explicit these elements are, the less room there is for ambiguity. A prompt that says "respond in Rioplatense Spanish, 80 words max, without making up data that is not in the context" produces far more predictable results than one that only says "respond well".
Why it matters for the business
In a company, the prompt is what separates a toy experiment from a reliable system. Picture a consumer goods team in Argentina that wants to classify thousands of WhatsApp inquiries by intent (complaint, order, price inquiry). The model is the same for everyone, but the prompt that defines the categories, the examples and the edge-case rules is what makes the classification accurate 95% of the time or barely 60%. The prompt is operational intellectual property: it captures the company's knowledge of how it wants the AI to behave. That is why it is versioned, documented and its performance measured like any other software asset.
A concrete example (Latin America)
A wholesale distributor wants to automate the answer to "when will my order arrive?". A naive first prompt would be: "Tell the customer when their order will arrive". The result is useless because the model does not have the data. The production prompt, by contrast, gives the agent a tool to check the status in the system (see tool calling) and instructions such as: "If the order has shipped, share the estimated arrival date in a friendly tone; if it is delayed, apologize and offer a contact channel; never promise dates that are not in the data". That leap, from asking for a piece of text to designing the agent's behavior, is the essence of professional prompting.
Common mistakes
- Overloading the prompt: packing five different tasks into a single instruction degrades quality. It is better to have one task per prompt or to chain several.
- Assuming context the model does not have: the LLM does not know your database unless you pass it in the prompt or through data retrieval (RAG).
- Not setting anti-fabrication rules: without explicit instructions, the model can produce a hallucination, that is, confidently make up data.
- Ignoring security: a poorly hardened prompt is vulnerable to prompt injection, where malicious text tries to hijack the original instructions.
- Not measuring: changing a prompt "by eye" without comparing results before and after is like editing code without tests.
Prompt vs prompt engineering
The two terms are often confused. The prompt is the artifact (the text that goes in); prompt engineering is the discipline of designing, testing and optimizing prompts systematically. The difference is the same as between "a query" and "knowing how to design queries".
| Aspect | Prompt | Prompt engineering |
|---|---|---|
| What it is | The specific input text | The practice of designing and optimizing prompts |
| Scope | A single message | Methodology, testing and versioning |
| Who uses it | Any user | Technical and product roles |
| Result | A response from the model | Reliable, repeatable AI systems |
| Analogy | A query | Knowing how to design queries |
In short, the prompt is the fundamental interface with generative AI: the point where human intent is translated into an instruction a model can execute. Mastering it, moving from asking for one-off things to designing structured, repeatable and secure instructions, is what turns AI from a curiosity into a business tool.
FAQs about Prompt
What is a prompt in artificial intelligence?
What is a prompt in artificial intelligence?
A prompt is the input instruction, written in natural language, given to a generative AI model so it produces a response. It can be a question, a command or a text with context and examples. The model interprets it and generates an output (text, summary, classification or action). The quality and precision of the prompt directly influence the quality of the result: the clearer and more specific it is, the better the model responds.
What is the difference between a prompt and prompt engineering?
What is the difference between a prompt and prompt engineering?
The prompt is the specific text given to the model. Prompt engineering is the discipline of designing, testing, versioning and optimizing those prompts systematically to get reliable, repeatable results. Put simply: the prompt is the query, and prompt engineering is knowing how to design queries professionally. In production systems the prompt is not improvised on each use; it is treated as an asset that is measured and improved.
How do you write a good prompt?
How do you write a good prompt?
A good prompt usually includes five elements: a role or persona (who the model should be), a specific single task, the relevant context or data, the desired output format (list, table, paragraph) and clear constraints (tone, length, language, what not to make up). It is best to ask for one task per prompt, to be explicit instead of assuming context the model does not have, and to add one or two examples of the expected result when the task is complex.
What is the system prompt in an AI agent?
What is the system prompt in an AI agent?
The system prompt is the base instruction that defines an agent's overall behavior: its role, the rules it must follow, the tools it can use and the tone of its responses. It is loaded before any user message and stays fixed throughout the conversation. The user prompt, on the other hand, brings each specific request. This separation lets the agent act consistently without depending on the user repeating the rules every time.
Why does the same AI model give different answers depending on the prompt?
Why does the same AI model give different answers depending on the prompt?
Because the model does not understand in the human sense: it predicts the most likely sequence of text based on the input it receives. If the prompt is vague, the space of possible answers is huge and the result is left to chance. If the prompt is precise (role, task, context, format and constraints), it narrows that space and the model produces something useful and predictable. That is why a well-designed prompt can completely transform the quality of the output without changing the model.
An AI agent that already knows how to do this
We implement AI agents on the CRM you already use, for sales, collections and support. Tell us which process eats your day and we will tell you straight whether an agent solves it.
Related terms
- LLM (Large Language Model)An LLM (large language model) is an artificial intelligence system trained on huge volumes of text that predicts and generates natural language. It is the engine behind chatbots, automated writing and AI agents that can understand and respond in human language.
- Prompt InjectionPrompt injection is an attack on AI systems in which an attacker hides malicious instructions in the text the model processes, so that it ignores its original rules and executes unauthorized actions, leaks data or generates harmful responses.
- RAG (Retrieval-Augmented Generation)RAG (retrieval-augmented generation) is a technique that connects a language model to an external data source: it retrieves the relevant fragments and injects them into the prompt so the AI answers with up-to-date, verifiable information instead of making it up.
- ReAct PatternThe ReAct pattern (Reasoning + Acting) is a design method for AI agents that alternates explicit reasoning steps with actions (tool calls), observing the result of each action before deciding the next step until the task is solved.
- Tool CallingTool calling is a language model's ability to invoke external functions (query a database, call an API or run an action) so it can operate on real systems instead of only generating text. It turns a model that talks into an agent that acts.
- AI AgentAn AI agent is a software system that perceives its environment, reasons about a goal and takes actions autonomously to achieve it, using tools and memory without a fixed script or human intervention at every step.
Related questions
AI Agents
What AI agents are when applied to sales, collections and support, and how they are implemented on the CRM you already use.
How AI Agents solve itFive AI products that work on top of the CRM you already use. They don't replace your system: they add the layer you do by hand today.





