{"title":"Prompting using a prompt guide","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-page-promptguide/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-page-promptguide, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-page-promptguide","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Learn how to build a prompt guide for your PromptDialog pages in Business Central.","date":"2026-10-02","meta":{"topic":"overview"},"outline":[{"level":1,"title":"Prompting using a prompt guide","slug":"prompting-using-a-prompt-guide","at":0,"chars":4430},{"level":2,"title":"Predefined prompts","slug":"predefined-prompts","at":1038,"chars":1591},{"level":3,"title":"Keep in mind","slug":"keep-in-mind","at":1700,"chars":929},{"level":2,"title":"Syntax","slug":"syntax","at":2629,"chars":1601},{"level":2,"title":"Related information","slug":"related-information","at":4230,"chars":200}],"text":"# Prompting using a prompt guide\n> NOTE\n> The prompt guide is a new feature in Business Central 2024 release wave 1 and runtime 13 and is part of the PromptDialog page type for Business Central introduced with runtime 12.1.\nLearn how to enhance user interactions with Copilot in Business Central by leveraging the prompt guide feature. A prompt guide is a predefined list of prompt texts that users can choose from when they open a PromptDialog page. The prompt guide helps users by providing one or more predefined prompt texts to use as input to generate content, rather than having to write up a prompt themselves. The user can choose a prompt text from the list, and the selected prompt is then inserted into the prompt input field so that the user can update it before sending to Copilot. Having prompt guides can help users to understand the different ways in which they can phrase their question or instruction to Copilot, reveal different categories of prompts, or inspire different ways of prompting to achieve similar outcomes.\n## Predefined prompts\nA prompt guide is implemented by using a specific action area on PromptDialog pages, called PromptGuide. The PromptGuide area is then defined by a list of predefined prompts that are shown to the user when the PromptDialog page is opened. You define these predefined prompts as questions or statements that the user can select from. Examples of predefined prompts could be \"How can I...?\" or \"Show me the latest...\" to inspire the user to ask for help or to get the latest information. The following example from the Analyze Bank Account Reconciliations shows how a prompt guide is implemented with the options to modify the analysis view.\n### Keep in mind\nThere are a couple of things to keep in mind when adding prompt guides to your PromptDialog pages:\n Prompt guides are optional but recommended. You can add one or many prompt guides to your prompt dialog as needed.\n Prompt texts might be organized into groups.\n When a user chooses a prompt text from the guide, this should insert the prompt text into the prompt input box. The prompt text isn't automatically sent, so that users have the opportunity to first adapt it to their unique needs.\n Using square brackets in the prompt text can be used to represent placeholders where users insert their preferred value to complete the prompt.\n The prompt text shown in the prompt guide menu might be different to the actual text that is inserted into the prompt input box.\n The AL logic for prompt guides must compute and insert the prompt text into the prompt input. This might include computed values such as dates.\n## Syntax\nThe syntax of the PromptGuide area is as illustrated in the following example. The PromptGuide is an area specific to the PromptDialog page type, and it's defined in the actions section of the page object. The PromptGuide area is defined by a list of predefined prompts that are shown to the user when the PromptDialog page is opened. The user can select a prompt from the list, and the selected prompt is then inserted into the prompt input field so that the user can update it before sending to Copilot.\n```al\nactions\n{\n    area(PromptGuide)\n    {\n        action(MyPromptAction)\n        {\n            Caption = 'How can I...?';\n            ToolTip = 'Ask Copilot for help with a specific task.';\n        }\n    }\n}\n```\nThe prompt guide can have groups of prompts, and each group can have a title. The following example shows how to define a group of prompts.\n```al\nactions\n{\n    area(PromptGuide)\n    {\n        group(\"Getting started\")\n        {\n            action(MyPromptAction)\n            {\n                Caption = 'How can I...?';\n                ToolTip = 'Ask Copilot for help with a specific task.';\n            }\n\n            action(MyNextPromptAction)\n            {\n                Caption = 'Find all [customers]?';\n                ToolTip = 'Ask Copilot to help find something.';\n            }\n        }\n    }\n}\n```\nFor a complete example of how to implement a prompt guide, learn more in devenv-page-type-promptdialog. For nudging users to use relevant Copilot built-in features, learn more in Prompting using a floating action bar<devenv-page-prompting-floating-actionbar>.\n## Related information\ndevenv-page-type-promptdialog\nPrompting using a floating action bar<devenv-page-prompting-floating-actionbar>\nError handling in prompt dialogs<devenv-page-prompt-error-handling>"}