Crafting Effective Instructions and Conversational Topics

As we begin building AI agents using Microsoft Copilot Studio and Agent Builder in Microsoft Copilot, the foundational step is defining how the agent behaves and what it responds to. In this lesson, we will focus on crafting clear system instructions and defining trigger topics for a synthetic customer triage agent. A triage agent serves as an initial point of contact, categorising customer queries and directing them to the correct department. For staff in UK financial services, building such an agent is not merely a technical task. It requires strict adherence to regulatory standards, particularly the Financial Conduct Authority Consumer Duty (The UK Financial Conduct Authority (FCA) regulatory standard requiring firms to act to deliver demonstrably good outcomes for retail customers across products and support.) and the UK General Data Protection Regulation. By carefully designing instructions and topics, we ensure the agent provides good customer outcomes while protecting confidential and personal data.

Refresher Core Mental Model: Crafting Effective Instructions and Conversational Topics 1 min

In Copilot Studio and AI Agents for Non-Developers: Building Safe Agents in Regulated Financial Services, Crafting Effective Instructions and Conversational Topics focuses on turning The Importance of Named Human Ownership into a repeatable, governed practice. Rather than treating tools as black-box oracles, anchor every step to three questions: What approved data goes in? What structured draft comes out? And who verifies the result against primary evidence before action is taken?

The Importance of Named Human Ownership

Before writing a single instruction in Copilot Studio (Microsoft’s low-code platform for designing, grounding, testing, and governing custom AI agents with restricted knowledge sources and action boundaries.), we must establish named human ownership and accountability. Under the Senior Managers and Certification Regime (The UK financial regulatory framework establishing personal, non-delegable accountability for senior managers over the operational processes and automations in their area.), UK financial services firms must maintain clear lines of responsibility. An AI agent is a tool acting on behalf of the firm, and it cannot be held accountable for its own actions. Therefore, a designated human owner must document the exact purpose of the agent before any development begins.

Crafting Effective Instructions and Conversational Topics

For our synthetic customer triage agent, the documented purpose is strictly limited. It exists solely to read an incoming query, match that query to a predefined list of synthetic departments, and provide the user with the correct synthetic contact number. It is not designed to offer financial advice, access real customer accounts, or resolve complaints. By clearly defining this purpose, the named owner establishes the boundaries of the agent. This documentation acts as the baseline for all future testing, audit, and governance processes. If the agent begins answering questions outside this defined purpose, the human owner is responsible for identifying the failure and taking the agent offline until the instructions are corrected.

Writing Secure System Instructions

System instructions in Copilot Studio act as the primary guardrails (Explicit negative constraints, policy filters, or validation rules that prevent an AI workflow from inventing facts, leaking data, or violating tone standards.) for your agent. They tell the underlying artificial intelligence what its persona is, what tasks it is permitted to perform, and, crucially, what it must never do. When writing instructions, you must apply the principle of least-privilege (The security principle of granting users, apps, and AI agents access only to the minimum data records and actions required to perform their defined task.) permissions. The agent should only be given the behavioural permissions necessary to complete its specifically documented purpose.

A secure system instruction for our triage agent must explicitly forbid the collection of personal data. To comply with UK GDPR and your firm’s data protection policies, the instruction must state that the agent will not ask for or process account numbers, names or addresses. If a user volunteers this information, the agent must be instructed not to use it and to politely remind the user of its limited triage role. Bear in mind that instructions cannot stop the platform recording what a user types: anything a user volunteers is still saved in the conversation transcript, so the agent’s greeting should warn users not to share personal data, and your administrator should agree how such transcripts are handled.

Furthermore, robust instructions protect against prompt injection risks, where a user attempts to trick the AI into ignoring its original instructions to perform unauthorised actions. By using firm, clear language that prioritises your documented constraints, you reduce the risk of the agent abandoning its triage role to act as a general-purpose chatbot. You should instruct the agent to politely decline any request that falls outside its specific triage duties. This strict adherence to constraints reduces the risk of hallucination, where the AI invents fake financial answers, and of silent failure, where the AI processes a prohibited request without alerting the user or the system administrators.

Defining Topics and Trigger Phrases

Once the overarching system instructions are set, you will build specific conversational flows using Topics in Copilot Studio. A Topic represents a specific intent or subject that the agent is programmed to handle. How a topic is activated depends on the agent’s orchestration mode. New agents use generative orchestration by default, where the agent chooses a topic from its description, so give every topic a clear description of what it is for. Agents that use classic orchestration match the user’s message to trigger phrases, which are written examples of what a user might type to start the conversation.

In a well-governed triage agent, you must define topics with a strict focus on safety and least-privilege permissions. For example, you might create a Topic named “Report Lost Card”. The trigger phrases for this topic could include “I have lost my debit card”, “my credit card is missing”, or “stolen card”. When the user types a phrase resembling these triggers (or, under generative orchestration, a request that matches the topic’s description), Copilot Studio routes the conversation to your defined “Report Lost Card” flow.

The actions within this topic must be strictly limited. The agent should immediately output a message providing the synthetic emergency telephone number for the fraud team. It should never ask for the lost card number. By restricting the topic to a simple text response rather than a connector that triggers a database search, you ensure the agent operates with the lowest level of permission possible. This design aligns with the FCA Consumer Duty by ensuring customers in stressful situations receive immediate, accurate routing without the risk of the AI mishandling their sensitive financial data.

Comparison of Poor and Effective System Instructions
Instruction ElementPoor Practice (High Risk)Effective Practice (Secure and Governed)
Persona DefinitionYou are a helpful bank assistant.You are a synthetic customer triage agent for a UK retail bank. Your only role is to route queries to correct departments.
Data ProtectionHelp the customer with their account problems.You must never ask for, accept, or process personal data, passwords, or account numbers.
Boundary ControlsAnswer any financial questions the user has.If a query is outside triage routing, you must refuse politely and state your limitations. Do not offer financial advice.
Plain-text version
Instruction Element | Poor Practice (High Risk) | Effective Practice (Secure and Governed)
Persona Definition | You are a helpful bank assistant. | You are a synthetic customer triage agent for a UK retail bank. Your only role is to route queries to correct departments.
Data Protection | Help the customer with their account problems. | You must never ask for, accept, or process personal data, passwords, or account numbers.
Boundary Controls | Answer any financial questions the user has. | If a query is outside triage routing, you must refuse politely and state your limitations. Do not offer financial advice.

Testing, Logging and Audit Requirements

Before an agent is published to any live channel, rigorous testing is mandatory. Copilot Studio provides a testing pane where makers can simulate conversations safely. You must practice testing before release by typing both expected trigger phrases and unexpected or malicious inputs. This ensures your system instructions hold firm, your topics trigger correctly, and no data leakage occurs through over-permissioned connectors.

When you use the test pane, you can track the conversation flow step by step. If a user asks a complex question about an overdraft rate, you must verify that the agent does not suffer from hallucination by inventing a fake interest rate. Instead, the agent should trigger the correct triage topic and provide a synthetic telephone number for the credit team. You must also watch for silent failures, where the agent receives an unexpected input but fails to respond appropriately.

In regulated financial services, logging and audit are critical components of operational resilience and FCA record-keeping rules. Copilot Studio captures conversation transcripts, which administrators and human-in-the-loop reviewers can audit. You must ensure that your conversational design does not encourage users to input sensitive data that would then be stored in these transcripts. Regular audits of these transcripts allow the named human owner to evaluate performance, identify areas where the AI struggled to categorise a query, and refine the instructions. Continuous monitoring and admin approval processes help keep the agent safe and effective over its entire lifecycle.

Exercise: Building a Synthetic Triage Agent

In this hackathon-style exercise, you will use Copilot Studio to draft instructions and topics. You must use only synthetic, public data for this exercise. Never use real customer or confidential firm data.

  • Open Copilot Studio and create a new agent named “Synthetic Retail Banking Triage”.
  • In the system instructions box, write a clear prompt that defines the persona as a helpful routing assistant. Include a strict rule that the agent must never ask for or process personal data.
  • Create a new Topic called “Mortgage Enquiries”. Write a one-sentence description of what the topic covers, then add five trigger phrases related to buying a house or checking synthetic mortgage rates.
  • Add a message node to the topic that outputs a synthetic telephone number for the mortgage team. Ensure no tools or connectors to real data sources are added.
  • Open the testing pane. Simulate a user asking about a mortgage, and then simulate a user trying to provide their real account number. Verify that the agent routes the mortgage query correctly and safely refuses the account number.
Crafting Effective Instructions and Conversational Topics in practice
Go deeper Architectural & Governance Trade-Offs in Crafting Effective Instructions and Conversational Topics 1 min · optional

When scaling Writing Secure System Instructions across a team or regulated workflow, the primary bottleneck is rarely generation speed—it is verification overhead and drift. High-performing teams track two operational metrics alongside throughput: Edit-to-Approval Time (how many minutes a human reviewer spends correcting outputs) and Source-Traceability Rate (whether 100% of material numbers and claims link back to an audited record). If edit time exceeds manual drafting baseline across two cycles, tighten your input schema and negative constraints before expanding scope.

Accredited Executive Program • The Tesseract Academy

Level 33: Executive AI Fluency Certification

Master AI strategy, LLM deployment economics, and vendor evaluation without needing a coding background.