Generate Document (Docx) from Form Data (Workflow Task)
Docubee’s “Generate Document” feature makes it easy to populate Docx templates with data collected from user input. This feature supports all Docx editors, such as Google Docs, Word, and more.
Simply define the text you’d like to populate within your documents, convert them to variables, and start collecting. Here’s how.
Integrate Docx Forms
1. From your Documents Library, select the button reading, I’d like to create a new workflow or web form from scratch. See Create a Workflow for more information.
2. Select the workspace where you would like your new workflow stored from the dropdown menu, and click Start from scratch. You can either enter a name for your new workflow of press skip to enter one later.
3. You’ll want to open the document you’d like to convert and determine what text from your document you’d like to be populated from the workflow.
4. Any text you’d like populated through Docubee must be converted to variables. Doing this is easy, simply add {%(text)%} around the lines of text you’d like converted.
For example, if you’d like to pull in the “Project Name”, simply type {%Project Name%} in its place to make the text recognizable to Docubee.
5. Once you’ve identified and converted your text fields to variables, download your Docx file to your computer.
6. Next, go back into Docubee’s workflow builder and insert the first task by selecting Web Form.
7. You’ll need to edit this task so that you may collect an input for each variable in the document. To do this, go into the form fields area, and select your field type. You’ll also want to make sure to add a field label.
If we were using the “Proposal Date” as our example, we would select “Single-line text and the field type” and simply use “Proposal Date” as the field label, which will be automatically used in your property name.
8. Now that you’ve added in your web form fields, it’s time to add another step to your workflow. Insert a new task, and select Generate document from form data under the Document Processing task category.
9. You’ll be prompted to upload your Docx file. Once uploaded, you’ll be required to give your document a name.
10. Underneath your document name, you’ll see the data mapping selection. Docubee will automatically scan your document for fields (for example, {%Project Name%} and automatically list these options for you to select. Choose the corresponding variables for your fields.
11. Once that’s done, return to your workflow. From here, you can add any other steps you’d like in your workflow such as a fill & sign task or route for approval.
Related Information
All About Workflows (Quick Reference)
Types of Tasks (Workflows)
Need more help getting set up? Contact us for assistance from our customer support team or register for Office Hours.