Convert Word

Overview

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

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, TXT, TIFF or PNG.
  • Filename: The filename (including file extension) of the file to be converted.
  • File Content: A Base64 encoded representation of the Excel 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.

mceclip0.png

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.
  • 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.
  • 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 fill-able PDF form (Legacy Microsoft Word controls only).

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

mceclip1.png

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 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