How to Setup Document Generation Automation
After setting up your Wrike automation with a trigger status and folder, follow these steps to configure it to automatically generate documents from a template.
Configure Document Generation
Step 1: Select Generate Document
Click the Generate Document action card in the automation step list to select it as the action to perform when the trigger fires.

Step 2: Advance to Template Selection
Click the Next button at the bottom-right of the Create Automation dialog to proceed to template selection.

Step 3: Browse Document Templates
Click the Browse button in the Document Template section to open the template selection interface.

Step 4: Choose a Template
Click on the template card you want to use for automated document generation.

Step 5: Confirm the Selected Template
Click the Select Template button at the bottom-right corner of the dialog to finalize your template selection.

Optional: Name the Generated File
On the same step, the Output Filename section builds the name of the generated file. Leave it empty to name the file after the template.
- Click Insert Field to add a value from the triggering Wrike item: Task Title, Folder Name (the parent folder or project), Status, Assignee (the first assigned user), Date (today, in your organization's date format), Wrike ID, or one of your Wrike custom fields.
- Click Add Separator or Add Text to put your own text between the fields. Drag the chips to reorder them.
Wrike ID is the number in the item's Wrike link. For a task at https://www.wrike.com/open.htm?id=1234567890, it is 1234567890. On a task trigger it is the task's own number, and on a folder or project trigger it is that folder's or project's number. If the link has no number, TurboDocx uses the item's Wrike API ID instead.
For example, Wrike ID, the text - and Task Title name the file 1234567890 - Acme Q2 Proposal.
Step 6: Proceed to Final Configuration
Click the Next button to advance to the final configuration step.

Step 7: Name Your Automation
Click inside the NAME YOUR AUTOMATION text input field and enter a descriptive name for your automation (e.g., "Project Delivery - Generate Proposal").

Step 8: Create and Activate the Automation
Click the Create Automation button to save and activate your automation workflow.

Test the Integration
Now that your automation is active, test it end-to-end:
- Open the Wrike folder you configured in the automation
- Create a new task with some project details and a description (the AI will use this data to populate your template)
- Change the task status to the trigger status you configured (e.g., "Generate Document")
- Wait 30 seconds to 2 minutes depending on document complexity
- Check the task attachments — your generated document should appear!
- Use descriptive task titles and descriptions — the AI uses this data to generate better documents
- Fill in custom fields with relevant project information for richer output
- Start with a simple template to verify the connection works before using complex ones
What's Next?
- How to Setup Static Field Mapping to template variables for static data like revenue and dates
- How to Add Signature Anchors to your template for digital signing
- Create multiple automations for different project types, templates, or trigger statuses
- If something isn't working, see Troubleshooting and FAQ