Documentation Index
Fetch the complete documentation index at: https://docs.maadify.com/llms.txt
Use this file to discover all available pages before exploring further.
What prompt templates do
Prompt templates are reusable system prompts for sub-agents. Use them to standardize instructions, insert runtime variables, and keep a version history as your prompts change.
Browse prompt templates
Open Prompt Templates from the sidebar. The page lists the latest version of each available template as a card. Each card shows:- Version: the active version number.
- System: a badge for built-in, read-only templates that are available to all tenants.
- Name: the template name.
- Description: a short summary. Hover to view longer descriptions.
- Last Updated: the most recent update time.
- Tags: labels that help you group related templates.
- View Content: a hover preview of the template content.
The Create New Prompt Template button appears only when your role includes the prompt_templates.create permission.
Create a prompt template
Open the create dialog
Select Create New Prompt Template. The Prompt Template dialog opens on the Current tab.
Add a description and tags
Write a Description that explains when to use the template. Add tags if you want to group templates by workflow, team, or use case.
Write the template content
Add the system prompt in Template Content. You can write plain Markdown and insert variables with Jinja syntax.

Template Name, Description, and Template Content are required before you can save.
Edit a prompt template
Click a template card to open it. Templates owned by your tenant open in edit mode when your role includes prompt_templates.update. System templates and templates owned by another tenant open in view-only mode. When you edit a tenant-owned template, use Create New Version to decide how the save behaves:- Turn Create New Version on to keep the selected version in history and save your changes as the next version.
- Turn Create New Version off to update the existing version directly.
0.1 when you create a new version. For example, version 0.1 becomes 0.2.
Insert variables
Prompt templates support Jinja-style variables inside double braces.- Inputs: runtime inputs such as
input.question,input.history,input.files, andinput.element_ids. - Trigger Inputs: values passed by the trigger that started the workflow.
- System: system values such as
system.current_datetime. - Tool Models: tool input and output schemas or examples, such as
tool_model.{tool}.input_schema. - Tool Configs: configured tool properties, such as
tool_config.{tool}.{property}. - Context variables: outputs from trigger tools, execute tools, code execution stubs, or structured-output sub-agents.
Preview example inputs
Use View Input Example to inspect the sample JSON available to the template. Use Render Example Inputs to render the template with those example values. This helps you catch missing variables or formatting issues before saving.- Template Content
- Example Inputs
- Render Template Content

Review version history
Open the History tab in the dialog to review previous versions for the selected template. Select a version card to preview it. The preview area includes:- Preview: renders the selected version as Markdown.
- Diff: compares the current content with the selected version.
- Use this version: copies the selected version back into the editor. Saving after this creates or updates the active template based on your permissions and Create New Version setting.

Delete a prompt template
If your role includes prompt_templates.delete, a Delete button appears for templates owned by your tenant. Select Delete, then confirm the deletion in the confirmation dialog.Example prompt template
agent_summary.txt


