Where to use prompts in Cassidy
Prompts serve different purposes depending on where you use them:- Agent instructions
- Chat messages
- Workflow prompts
System instructions that define your Agent’s role, personality, and behavior across all interactions. Think of these as the Agent’s permanent memory.Example: A customer support Agent configured with tone guidelines, response format, and escalation procedures.
Learn more in Build and configure an Agent.

Core principles
Every effective prompt follows these four principles:- Clarity and specificity — every instruction should be unambiguous and actionable. Avoid vague language that could produce inconsistent results.
- Structured organization — well-organized prompts follow a logical flow that guides the AI step by step.
- Dynamic context support — business prompts must handle changing information while maintaining quality and format consistency.
- Robust instruction following — include explicit formatting requirements and constraints for reliable automation.
The seven-section prompt structure
Every effective business prompt should follow this structure. You do not need all seven sections for every prompt — use what is relevant to the task.1. Role and objective
Define the AI’s role and primary goal. This sets context and expectations.2. Instructions
Provide detailed, step-by-step guidance for completing the task.3. Reasoning steps
Break down the thought process the AI should follow. This ensures consistent logic across different inputs.4. Output format
Specify exactly how the response should be structured.5. Examples
Provide complete examples that demonstrate expected input-output relationships. Examples enable few-shot learning and clarify ambiguous instructions.6. Context
Include all information the prompt needs to reference. This section changes depending on the situation.When using Agent system instructions, you often provide context directly in your chat message instead of a formal context section. When using Workflow prompts, you reference variables from previous steps or triggers.
7. Final instructions
End with explicit step-by-step thinking instructions and formatting reminders.Formatting best practices
Different models have preferences for structure syntax:- GPT (OpenAI) works well with markdown formatting (headers, bullet points, bold)
- Claude (Anthropic) responds well to XML tags like
<instructions>and<examples>
Sample prompts
Customer support email generator
Customer support email generator
Lead qualification analyzer
Lead qualification analyzer
Content performance report
Content performance report
The power of examples
Examples are the most impactful section of any prompt. They serve as training data for the AI, demonstrating exactly what you expect. Effective examples should:- Include complete input-output pairs that show the full transformation from raw input to desired output
- Demonstrate how to handle different scenarios — include edge cases if they matter
- Match your specified output format exactly — the AI mirrors what it sees
Advanced techniques
Chain-of-thought reasoning
Chain-of-thought reasoning
Always include explicit instructions for the AI to “think step by step” in your final instructions section. This improves accuracy for complex tasks by forcing the model to break down its reasoning process before producing a final answer.
Constraint specification
Constraint specification
Use precise language to control output boundaries:
- “Only return the [output type], nothing else”
- “Do not include introductory or closing text”
- “Keep the response under 200 words”
- “Use only the information provided in the context section”
Error handling
Error handling
For production Workflow prompts, include instructions for handling edge cases:
- “If the input is empty, return: ‘No data provided’”
- “If the information is ambiguous, state the ambiguity and provide your best interpretation”
- “If the request falls outside your defined scope, explain what you can help with instead”
Effective prompt engineering is iterative. Test your prompts with different inputs, review the outputs, and refine based on what you learn. Small adjustments often lead to big improvements.
Next steps
Chatting with an Agent
Put your prompts to use — including the prompt library for reusable templates.
Build and configure an Agent
Apply your prompt engineering skills to Agent system instructions.
Building a Workflow
Use prompts in Workflow actions with dynamic variables.

