Question 1
Which of the following is a properly structured system prompt based on best practices?

Original exhibit --- Question 6, part 1

Original exhibit --- Question 6, part 2
Option D identifies prompt example 4 as the most appropriate system prompt because it establishes a persistent operational identity, defines responsibilities, and provides instructions that govern the agent's behavior.
UiPath distinguishes between system prompts and user prompts. The system prompt establishes the agent's role, objectives, constraints, reasoning approach, and rules for interacting with tools or business context. The user prompt supplies task-specific information and runtime arguments.
Example 4 defines the agent as an AI assistant specializing in invoice and purchase-order discrepancies. It then provides explicit responsibilities covering document comparison, discrepancy identification, abbreviation handling, detailed analysis, and resolution recommendations.
The example also identifies the data attributes requiring examination, including quantities, pricing, dates, vendor information, purchase-order references, and additional charges. Its concluding goal establishes the required professional response characteristics.
Example 1 primarily provides instructions for analyzing a particular email and includes dynamic email content, making it more suitable for a task-specific prompt.
Example 2 provides minimal contextual information and lacks persistent behavioral instructions. Example 3 structures invoice input data but does not adequately establish the agent's responsibilities or decision-making requirements.
Example 4 therefore most closely satisfies UiPath's recommended system prompt structure.
Official UiPath references/topics: Agents --- Prompts --- System Prompt, User Prompt and Writing Effective Prompts.
