Read text from file Action(Power Automate Desktop)

Japanese version.

This action reads text from a file.

There is the ability to read the entire text into a string variable and the ability to split the text at line breaks and take it into a list variable.

How to use.

Read text from file Action from File onto the workspace.

Set parameters.

Parameters

File path

Specifies the file to be read.

If there is a possibility that the file does not exist in the specified path, you should check for its exists and take care of it.

Store content as

Choose whether to capture in a single string variable or in a list variable separated by newlines.

Encoding

Select the character encoding of the file.

For SJIS, specify the "System default".

Variables produced

FileContents

The contents of the file are stored. For full text, it is a text variable; for multiple lines, it is a list variable.

For those who want to learn Power Automate Desktop effectively


The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.

Links

File Actions

Examples of Use

Automated basic text file operations.

How to use tab characters