Convert file Action in OneDrive For Business Connector.(Power Automate Cloud flows)

Japanese version.

This action to convert OneDrive files to another format. (Excel to PDF, etc.)

How to use

Select the "OneDrive For Business" connector when adding steps to the flow.

Select "Convert file" from the "Actions" menu.

Set parameters.

Parameters.

File

Specify the ID of the file stored in OneDrive.

Select a file with the directory icon on the right.

When selected, it looks like a file path, but it is only a display and the substance is an ID.

If you delete the specified file and then create a file with the same name, it will be treated as a different file.
In such a case, an error will occur that the file does not exist, so it must be re-specified in the flow.

Dynamic content.

Set the ID of the following triggers/actions dynamic content.

Those that retrieve file contents at the same time are excluded.

Triggers.

Actions.

Target type

This is the format after conversion. This pattern is available for conversion.

A typical example is shown in the following excerpt.

The main purpose of this conversion is to express the appearance of a file in a different file format without changing its appearance.

After conversion (Target type)Before conversion
PDFHTML
DOC
Excel
PowerPoint
HTMLE-mail message files
JPGHTML
Text
PowerPoint

Dynamic contents

This action only performs the file conversion, but does not save the result.

Therefore, it must be saved with the "Create file" action.

File content

Contents of the converted file.

File name

The file name after conversion.

The file extension is converted to the one after conversion.

---

Links

OneDrive For Business Connector(Power Automate Cloud flows)