Convert Word

Overview

The 'Convert Word' Power Automate action allows you to convert DOC, DOT, DOCM, DOCX, DOTM, DOTX, RTF OR TXT file formats to either PDF, HTML, DOCX, DOC, DOTX, TXT, TIFF or PNG files:

Credit Count

This action consumes 1 credit per operation.

Note, different Encodian actions can consume different number credits. Please always check the action specific documentation and read What is an Encodian Action for a full description of how credits are consumed.

Default Parameters

The default 'Convert Word' flow action parameters are detailed below which are contextual based on the selected Output format:

  • Output Format: Select the output format: PDF, HTML, DOCX, DOC, DOTX, TXT, TIFF or PNG

  • Filename: The filename (including file extension) of the file to be converted.
  • File Content: A Base64 encoded representation of the Microsoft Word file to be processed.
  • Page Orientation: Set the page orientation for the source word document.
  • Page Size: The page size for the source word document.

Advanced Parameters

The advanced 'Convert Word' flow action parameters are detailed below:

All output formats:

  • Remove Markup: Sets whether comments and tracked changes should be removed from the document upon conversion.
  • Show Revisions in Balloons: Set the types of document markup / tracked changes which should be viewed within balloons
  • Tracked Changes - Inserted Text Color: For tracked changes set the inserted text color
  • Tracked Changes - Deleted Text Color: For tracked changes set the deleted text color
  • Tracked Changes - Moved To Text Color: For tracked changes set the 'moved to' text color
  • Tracked Changes - Moved From Text Color: For tracked changes set the 'moved from' text color
  • Tracked Changes - Comments Color: Set the comments color
  • Time Zone: Set a specific time zone for date and time processing.
  • Culture Name: This setting is used to set the culture for the document prior to conversion. Please refer to the Culture Names article for a list of supported cultures. 

Output format: PDF:

  • Generate Bookmarks: Set whether bookmarks should be automatically created.
  • Custom Properties: Set how custom properties should be exported
  • PDF/A Compliant: Sets whether the resulting document should conform to PDF/A format.
  • PDF/A Compliance Level: Sets the required level of PDF/A compliance.
  • Convert to PDF Form: Converts the output PDF document to a fillable PDF form (Legacy Microsoft Word controls only).
  • Enable OpenType: Enables the OpenType font format

Output format: PNG:

  • Page Index: Set the page within the document to convert to a PNG file. The first page is converted by default.

Output format: TIFF:

  • Compression: Select a compression algorithm, the default is 'LZW'

Example

Return Parameters

The 'Convert Word' flow action returns the following data. 

Action Specific Return Values

  • File Content - The converted file (Base64)

Standard Return Values

  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has been completed, has been queued or has failed.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk