What is a Task Template?
A task template is a project-scoped configuration that acts as a blueprint for tasks. When a user creates a new task, they select a template which pre-configures the task with:- Name and description patterns
- Data forms for structured data entry and review
- Actions (buttons) for status transitions and data mutations
- Document groups with file type filters, limits, and auto-population rules
- Default team assignment
- Default priority
- Custom options (configurable form fields)
- AI chat prompt for automatic AI assistance when a task is opened
- AI naming to auto-generate task titles from document content
- Planning mode for automated multi-step workflows
Managing Task Templates
Viewing Templates
Navigate to your project and select Task Templates from the sidebar. The grid displays all templates with their names and descriptions. Click a template to open the editor.Creating a Template
Click the add button to create a new task template. You will need to provide:- Name — A human-readable name (e.g., “Invoice Review”)
- Slug — A URL-safe identifier used in API references and plan configurations
- Description — What this template is for
Template Editor Tabs
The template editor provides several tabs for configuring different aspects:| Tab | Purpose |
|---|---|
| Details | Name, slug, description, AI naming, sub-task settings, and planned sub-tasks toggle |
| Forms | Attach data forms for structured data display and editing |
| Options | Custom task options, panel visibility, alert configuration, and LLM processing settings |
| Actions | Define action buttons with status transitions and keyboard shortcuts |
| Chat Prompt | Configure an automatic AI chat prompt when tasks are opened |
| Documents | Configure how documents are organized and filtered within tasks |
| Planned | Visual flow editor for automated plan workflows (visible when planned sub-tasks are enabled) |
| YAML | Raw YAML view of the full template configuration |
When Enable Planned Sub-Tasks is checked on the Details tab, the Forms, Actions, and Chat Prompt tabs are hidden because planned workflows manage their own sub-tasks with separate templates. The Planned tab appears instead, providing the visual flow editor.
Template Metadata
Actions
Actions define the buttons that appear in a task’s toolbar. Each action can:- Change task status — Transition to a target status when clicked
- Set attributes — Mutate data properties on the task
- Trigger keyboard shortcuts — Bind to key combinations for fast review workflows
- Display with icons and colors — Visual differentiation for different action types
Data Forms
Task templates can attach one or more data forms that define the structured data interface shown to users working on the task. Forms are configured with:- Data form reference — Which data form to use
- Available panels — Which panels are visible
- Custom properties — Form-specific configuration
Document Groups
Document groups control how documents are organized within a task:| Property | Description |
|---|---|
name | Display name for the document group tab |
documentFamilyFilter | File extension filter (e.g., *.pdf OR *.xlsx) |
maxHits | Maximum number of documents allowed |
maxPages | Maximum pages per document |
maxSize | Maximum file size in bytes |
automaticallyAdd | Auto-populate matching documents from the project store |
editable | Whether users can add/remove documents |
uploadOnly | Restrict to uploading new files only (no existing file selection) |
uniqueFilenames | Prevent duplicate filenames |
titlePrompt | LLM prompt template for auto-generating task titles from document content (see AI Task Naming below) |
hardMaxPages | Hard maximum page count — documents exceeding this limit are rejected at upload |
Custom Options
Theoptions array defines configurable form fields that appear during task creation or editing:
- Conditional visibility via
showIfexpressions - Feature flag gating via
featureFlag - Developer-only fields via
developerOnly - Popup display via
showOnPopup(shown in the creation dialog)
Default Team
Task templates can specify a default team via theteamSlug field. When a user creates a task from this template, the team dropdown is automatically pre-populated with the matching team. The user can override this selection. See Teams and Task Assignment for details.
AI Chat Prompt
Task templates can configure an automatic chat prompt that fires when a user opens a task. This provides immediate AI assistance tailored to the task’s context, guiding users through document review, data validation, or any task-specific workflow.How It Works
When a user opens a task created from a template with the chat prompt enabled:- The platform checks if a chat session already exists for this task
- If no chat exists, it automatically:
- Opens the chat panel on the right side of the workspace
- Creates a new channel scoped to the task
- Substitutes template variables into the configured prompt
- Sends the prompt to the project’s AI assistant
- The message appears collapsed as “Requesting task assistance…” with an expand icon to view the full prompt text
- The AI assistant responds with context-aware guidance
Configuring the Chat Prompt
Navigate to the Chat Prompt tab in the task template editor:Enable the feature
Check Enable automatic chat prompt when task is opened. This reveals the prompt editor.
Write the prompt template
Use the prompt editor to write your prompt. Click the variable buttons above the editor to insert template variables at the cursor position.
Template Variables
The prompt supports variable substitution using{variableName} syntax. These are replaced with actual task data when the prompt is sent:
| Variable | Description |
|---|---|
{taskTitle} | The task’s title |
{taskDescription} | The task’s description |
{assignee} | The display name of the assigned user |
{templateName} | The task template name |
{documentFamilyPaths} | Comma-separated list of document file paths |
{knowledgeFeatures} | Comma-separated list of knowledge feature names |
{documentFamilyCount} | Number of documents attached to the task |
Example Prompts
Document review guidance:AI Task Naming
Task templates can configure automatic AI-powered naming so that tasks receive descriptive titles based on their document content instead of generic names like “Task 1”.Configuring AI Naming
In the task template editor, the AI Naming section on the Details tab lets you define:- Prompt template — An LLM prompt with variable placeholders that will be replaced with task context. The prompt instructs the model how to generate a concise task title.
- Enabled toggle — Turn AI naming on or off without deleting the prompt configuration.
| Variable | Description |
|---|---|
{templateName} | The task template name |
{documentFamilyPaths} | Comma-separated document paths |
{knowledgeFeatures} | Comma-separated knowledge feature names |
{documentFamilyCount} | Number of document families |
- Gathers the task context (template name, documents, features)
- Substitutes the values into the configured prompt template
- Sends the prompt to the configured LLM
- Uses the response as the task title
Example Prompt
Sub-Task Templates
Templates can be marked as sub-task-only by settingproperties.subTaskOnly: true in the metadata. These templates are hidden from the main task creation dialog and are only used when a Planning Mode plan creates child tasks.
