All Collections
Steps
Writer Steps
Word Add ToC Writer Step
Word Add ToC Writer Step

The Word Add ToC Writer step is used to create a Table of Contents page to a Word document that has headings.

Praise Magidi avatar
Written by Praise Magidi
Updated over a week ago

The Word Add ToC Writer step is used to add a Table of Contents page on an existing Word document that has headings. The Combine step is used to combine records into a single output. A Run File destination step to deliver an output file that can be downloaded.

Adding a Word Add ToC Writer Step

To add a Word Add ToC Writer step in a flow, follow the below instructions:

1. Click on the highlighted icon as shown in the below image.

2. The below page will appear. Select or search for a Writer step to pull out the source data. Click on the Writer tab and select Word Add ToC as shown in the image below.

Configuring a Word Add ToC Writer Step

Illustrated in the below image is the configuration that is available in the Word Add ToC Writer step.

From Field – Retrieve a value from a field on the current record.

Is Base64 checkbox – Specify whether the retrieved value from the field on the current record is a Base64 string. This checkbox is not selected by default when the Word Add ToC Writer step is added.

Header Start Level – The start level of the headers to show in the Table of Contents. This is set at 1 by default when the Word Add ToC Writer step is added.

Header End Level – The end level of the headers to show in the Table of Contents. This is set at 3 by default when the Word Add ToC Writer step is added.

Using a Word Add ToC Writer Step

The image below shows the Word document with headings that will be used to add a Table of Contents.

The Run File step is shown below. The File Type has been selected as Docx.

Viewing the created Word file

1. Click the Execute Flow button shown in the image below:

2. Click on the Override Source checkbox.

3. Click on the highlighted section in the image below to upload the Word document to be converted.

4. Click the Create Run button.

5. Once the run has completed successfully, click on the processed run and then click the download button on the Run File step to download the output file as highlighted in the image below.

The image below illustrates that the Table of Contents page is added to the existing Word document.

Did this answer your question?