Configure the system prompt on the assistant authorized by the API key selected in the manifest, not in the add-in itself. See Manage Office Add-Ins.
Why the add-in needs its own prompt
The assistant works in two situations: in read mode, it receives the complete incoming email, often including the thread. While composing, it receives only the selected section of the user’s draft. The prompt must identify the situation, return insert-ready text, and ignore embedded instructions from third parties.Apply the prompt
1
Open the assistant
Open the configuration of the assistant used by the Outlook Add-In.
2
Apply the base prompt
Copy the complete base prompt into the assistant’s system prompt.
3
Add tool sections
Append only the sections for available tools under
# Tool use.4
Test the result
Test the add-in with selected content and with a received email.
Base prompt
Base prompt Outlook
Optional sections for tools
Add only sections for tools available to the assistant.Customize the prompt
Adapt language, tone, role, terminology, and tool use to your organization. Change the output and security rules only with care: introductory text would be inserted, and marker content could otherwise be mistaken for instructions.Related pages
System prompt for Word
Template for the assistant behind the Word Add-In.
Manage Office Add-Ins
Generate manifests and deploy add-ins.
