Word - Split by Text

Power Automate Connector: Encodian – Word

Overview

The 'Word - Split by Text' flow action splits the Word document provided into multiple Word documents aligned to the configuration specified.

The following file types are supported:

  • Doc
  • Dot
  • Docm
  • Docx
  • Dotm
  • Dotx
  • RTF

Credit Count

This action consumes 1 credit per operation.

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

Parameters

The default 'Word - Split by Text' flow action parameters are detailed below:

  • Filename: The filename of the source Microsoft Word file, the file extension is mandatory: 'file.docx' and not 'file'
  • File Content: The file content of the source Microsoft Word file
  • Split Value: Specify either a text value or a regular expression
  • Is Expression: Set whether to evaluate the 'Split Value' as a string or regular expression
  • Prefix Filename: Set whether the expression value should be used within the output filename
  • Split Configuration: Select whether to split on the first instant, last instant, or all instances pertaining to the results provided from the 'Split Value'.
  • Split Action: Select a split action, whether to split on, before, after, or remove the page containing the split value.

Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action. 

Advanced Parameters

The advanced 'Word - Split' flow action parameters are detailed below:

  • 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

Return Parameters

The 'Word - Split by Text' flow action returns the following data:

Action Specific Return Values

  • Documents - The collection of Word documents created from the Word document supplied
    Each document within the document collection contains the following values:
    • Documents Filename - The filename of the file
    • Documents File Content - The file content of the file

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

Article is closed for comments.
Powered by Zendesk