1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Power Automate(クラウドフロー)でWordファイルの中身を読み取る

Posted at

なぜかPower AutomateのクラウドフローにWordファイルを読み込むアクションが無い模様です。

encodianというサービスを利用することでWordファイルを読み込み中身を取得できます。

1. encodianのアカウントを作りAPIキーを取得

トライアルは30日らしいです。Gmailとhotmailでは登録できない模様なので注意しましょう。

https://www.encodian.com/product/flowr/#pre-anchor-form

登録するとAPIキーを取得できます。

2. Power AutomateでencodianのAPIキーを設定

Power Automateのアクションでencodian -> Wordからテキストを取得するを選択します。

3. シェアポイントなどからファイルを取得して読み込み

シェアポイントやOneDriveにWordファイル(.docxなど)を置いておき、

encodianのアクションでファイルコンテンツを選択します。

これで完了です。シンプルですね。

4. 実行

実行するとWordファイルの中身が取得できます。

5. おまけ

抽出された文字列はテキストの動的コンテンツにあります。

スクリーンショット 2024-06-05 8.35.43.png

そのままテキストで利用できるのでTeamsに投げたり加工したりと色々できますね

Teamsに投げてみた
スクリーンショット 2024-06-05 8.39.22.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?