Working with AI
In short
An AI can change your template on request. There are two ways to do this: the AI assistant in Copilot, which works right next to the designer in Microsoft 365 Copilot, and an external AI, such as an AI chat like ChatGPT, Claude or Gemini, which gets all the necessary information in a file, the AI package. If you have Microsoft 365 Copilot, the AI assistant is the more convenient way; without Copilot, the external AI is the alternative.
The two ways
Both ways begin in the designer’s template row: the AI assistant with “AI assistant” , the external AI with “AI package” ; you bring its answer back with “Upload AI changes” .
How the two ways work
The AI assistant in Copilot
- You click “AI assistant”. Microsoft 365 Copilot opens on the right, and the name and ID of the template are on the clipboard.
- You paste them into the chat and write your request after them.
- The assistant reads the template, the description of the template format and sample data itself from Dynamics, with your rights. It builds the change and checks it against the sample data.
- The designer takes the change into the open template. You check it and make it effective with “Save”.
The step-by-step instructions are under Working with the AI assistant in Copilot.
An external AI with the AI package
- You click “AI package” and choose what the AI gets. From this the designer creates a file: your template, the description of the template format and all tables that the template can reach.
- You give the file to an AI chat like ChatGPT, Claude or Gemini and write what it should change.
- The AI answers with its changes, as a file or as a message in the chat. Under “Upload AI changes”, you choose “Choose file …” or paste the copied answer with “Paste text …”; the designer checks the changes and takes them into the open template.
- You check the result. Ctrl+Z takes the change back, “Save” makes it effective.
The step-by-step instructions are under Working with an external AI.
The differences
| Feature | AI assistant in Copilot | External AI with the AI package |
|---|---|---|
| Which AI | The Smart Templates Assistant in Microsoft 365 Copilot | An AI chat of your choice, such as ChatGPT, Claude or Gemini |
| What the AI sees | What it reads itself in Dynamics, with your rights: the saved template, tables, fields and sample data | Only what is in the file. Real values are in it only if you check “Include sample data”. |
| How the change arrives | By itself in the open template; Ctrl+Z takes it back | As a file or chat answer from the AI, which you bring into the open template with “Upload AI changes”; Ctrl+Z takes it back |
| What results in the end | The same template, changed; effective with “Save” | The same template, changed; effective with “Save”. If you explicitly ask for a whole template, you open it as a new template via “Import”. |
| Building blocks | A building block object can only be moved, made visible or removed. It can change a building block itself and says beforehand that this takes effect everywhere it is used | A building block object can only be moved, made visible or removed. The AI does not get the content of a building block, only name, binding, prefix and variables |
| Setup | Once, by your administrator | None |
| Costs | Included with a Microsoft 365 Copilot license, otherwise Copilot credits | Depending on the AI chat |
What you need
For the AI assistant in Copilot
- Your administrator has set up the assistant. How to do this is described in Turning on Copilot.
- You can use Microsoft 365 Copilot: with a Microsoft 365 Copilot license or with Copilot credits (see Turning on Copilot: Costs).
- You have the role “Smart Templates Designer” or the role “System Administrator”; without one of the two, the assistant cannot submit a change (see Turning on Copilot: Requirements).
- The template is in Dynamics. The assistant reads the saved version; so save your own changes before you ask it. If you have unsaved changes, the assistant opens anyway, and the designer reminds you: “The AI assistant only sees the saved version – save your changes first.”
For an external AI
- An AI chat to which you can give a file as an attachment, such as ChatGPT, Claude or Gemini. It answers with its changes, as a file or as a block of text in the chat.
- Your administrator does not have to set anything up for this, and you do not need Microsoft 365 Copilot.
- The template does not have to be saved: the AI’s changes go into the open template, even one that you have not yet stored in Dynamics.
- If you include sample data, do so only with an AI chat to which you may entrust this data (see Working with an external AI: The settings in the “AI package” window).