Arigato Automtion(Shopify)から、PowerAutomateへの、JSONデータの渡し方について、需要あるかもと思い、書いてみる。
自分がやっていた以前のやり方(これだと日本語が文字化けする。Headerに引数を記入)
(Headers)
key: {{ order.name }}
key2:{{ order.customer.last_name }}{{ order.customer.first_name }}
今回のやり方(Bodyに引数を記入)
(Headers)
Content-Type: application/json
(Body Data)
{
“key”: “{{ order.name }}”,
“key2”: “{{ order.customer.last_name }}{{ order.customer.first_name }}”
}
参考:Arigato Automtion(Shopify)の画面

参考:PowerAutomateの画面
「本文」を「JSONの解析」で使う。

受注番号の#が特殊文字として解釈されるのでエンコードして使う。
最後のHTTP Webhookで、URLに作成した変数をセットする。
