Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Alexaで365スケジュール読み上げ機能をAutomateで作る
Search
MiyakeMito
January 16, 2022
Technology
330
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Alexaで365スケジュール読み上げ機能をAutomateで作る
MiyakeMito
January 16, 2022
More Decks by MiyakeMito
See All by MiyakeMito
Power Automateアップデート情報
miyakemito
0
400
マルチステージとAI承認について
miyakemito
1
220
Copilot Studioについて
miyakemito
8
10k
Dataverseの検索列について
miyakemito
2
2.1k
AI Builder について
miyakemito
3
1.2k
Microsoft Copilot Studio についてざっくり説明
miyakemito
2
1.9k
Power Automateのデータ操作(Data Operation)について (Ver.モダンデザイナー)
miyakemito
5
4.2k
JSON攻略法.pdf
miyakemito
13
7.4k
ガンダムBotを1分でつくってみせろよ
miyakemito
1
940
Other Decks in Technology
See All in Technology
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
200
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
150
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
170
古い指輪から広がった JAVA コミュニティ とのつながり
yamad
0
110
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
hackers_champloo_2026_tidb
makocchi
0
160
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
継続的なAIコスト最適化
bgpat
1
340
大型犬好きによるPugの紹介
yamanoku
1
160
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
420
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Crafting Experiences
bethany
1
380
Visualization
eitanlees
153
17k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Building Applications with DynamoDB
mza
96
7.2k
The Invisible Side of Design
smashingmag
301
52k
Transcript
おうじゃさんといっしょ ハンズオン企画 Alexaで365スケジュール読み上げ機能を Automateで作る
Miyake Mito https://www.icsoft.jp/ @MiTo60448639 https://qiita.com/MiyakeMito 最近ずっとMVP
アジェンダ Alexa で Exchange Online のスケジュールを 読み上げる スキル を みんなで作ろう!
一人も脱落させないからね!
本日の内容 ▪ Alexaで365スケジュール読み上げ機能をAutomateで作る https://qiita.com/MiyakeMito/items/76024fb14f6ebf148643 マークのところは上記記事を参照です
しくみ ① Alexaスキルを作成し、AutomateへリクエストをPosting ② Automateフローでカレンダスケジュールを取得 ③ スキルに取得したスケジュールを読み上げるよう応答
ALEXA スキル を作成する
Alexa スキル? Alexaとは Echo などの Amazonスマートスピーカーとユーザーとの間を取り持つエンジン Alexaスキル そのAlexaが提供するさまざまな機能 おすすめのスキル ・「Alexa、NHKニュース
開いて」 ・「Alexa、ビストロミュージック 開いて」 ・「Alexa、快眠アシスト 開いて」 ・・・etc.
Alexa スキルを作ろう! ① Amazon 開発者アカウントを作成する https://developer.amazon.com/alexa/console/ask/ ② スキルの作成 カスタム -
ユーザー定義のプロビショニング- スクラッチで作成 ③ スキルの設定 スキルの呼び出し名 ④ 保存してビルド
POWER AUTOMATE でスケジュールを取得
Alexaとの送受信部分を作ろう! ① HTTP要求の受信時 要求本文のJSONスキーマ ② 応答 ヘッダー 本文 ③ HTTP
POST の URLをAlexaスキルの エンドポイントに貼付け “HTTPS” を選択 “証明機関が発行したワイルドカード証明書を~” を選択
Alexaとの送受信をテストしよう! ① Alexaシミュレータ ステージを「開発中」に変更 要求本文のJSONスキーマ ② スキルの呼び出し名を入力すると・・・
ここで Automate の設定変更 設定 ⇒すべての Power Automate 設定を表示 試験的な機能 をオン
スケジュールを取得しよう! ① イベントのカレンダービューの取得(v3) カレンダーID:予定表 開始時刻:utcNow() 終了時刻:addDays(utcNow(),1) 並び替え順:start/dateTime
データを整形しよう、の前に!! Apply to each は極力撲滅! ・・・遅いからね
データを整形しよう、の前に!! JSON配列の 全レコードから特定のカラム を取得する場合は 選択 ⇒ 結合 [開始]に含まれるカラムは item()?[‘カラム名’] で取得できる
データを整形しよう、の前に!! JSON配列の 特定のレコードから特定のカラム を取得する場合は JSON解析してKeyを指定する
データを整形しよう、の前に!! https://lab.syncer.jp/Tool/JSON-Viewer/ で解析して「Path」 object[2]['subject'] outputs(‘Action')?['value']? triggerBody()?['events']? [2]?['subject'] OR
データを整形しよう! ① 選択 開始:イベントカレンダービューの取得の「Value」 マップ左:イベントカレンダービューの「開始時刻」※要編集 マップ右:イベントカレンダービューの取得の「件名」 ② 参加(結合) 結合する配列:①選択の出力 次を使用して結合:と
③ 応答を修正 本文:[結合の出力]を、②結合の出力
注意!! Alexaスキルとの通信部分は 有償ライセンスが必要です 期限なし無償の学習/開発用(個人向けプラン)がおすすめ Power Apps Community Plan https://powerapps.microsoft.com/ja-jp
まとめ Alexa スキル と Power Automate の 組み合わせは強力です! ぜひ便利なスキルを作ってください
ありがとうございました