Skip to main content

AI Variable Configuration

AI variables let you define a prompt that TurboDocx uses to generate content automatically when a document is created from a Wrike automation. Instead of pulling a static value from a Wrike field, AI interprets the project context and writes the content for you.

Prerequisites


Configure an AI Variable

Step 1: Select Your Template

Navigate to your templates and select the template you want to configure with an AI variable.

Select Template

Step 2: Open Template Preferences

Click Edit Template & Preferences to open the template configuration view.

Edit Template and Preferences

Step 3: Open Variable Settings

Click the settings icon on the variable you want to configure with AI.

Open Variable Settings

Step 4: Enable AI

Click "Use AI for variable" to switch the variable to AI mode. This tells TurboDocx to generate content using a prompt instead of expecting manual input or a static field value.

Use AI for variable

Step 5: Type in a Prompt

Enter the prompt that AI will use to generate content for this variable. Write a clear, specific instruction describing what the AI should produce — for example, "Write a professional project summary based on the task details and deliverables."

Type in a Prompt

tip

The more specific your prompt, the better the output. Include details like tone, length, and what information to focus on.

Step 6: Save Changes

Click "Save Changes" to persist the AI variable configuration.

Save Changes


How It Works at Generation Time

When a Wrike automation triggers document generation, TurboDocx sends the AI prompt along with the relevant Wrike project data to the AI model. The AI generates content based on your prompt and the project context, and the result is placed into the template variable.


This is different from static field mapping, which inserts exact Wrike field values with no interpretation. AI variables are ideal for generating summaries, descriptions, recommendations, and other narrative content that benefits from intelligent synthesis of project data.

tip

You can mix AI variables and static field mappings in the same template. Use static mappings for structured data (dates, amounts, codes) and AI variables for narrative content (summaries, descriptions, recommendations).