0
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?

データ連携に奮闘中の皆様、いかがお過ごしでしょうか。

あと最後1つ、マッピングを修正しましょう!

■HULFT Squareのスクリプト修正
・リクエスト投入

1.「リクエスト投入」をダブルクリックします。
image.png

2.マッピングを修正します。
2-1.「object」と「root」の「type」をつなぎます。
image.png
image.png

2-2.「宛先グループ」と「to」をつなぎます。
image.png
「宛先グループ」の中身は、事前に取得した「グループID」です。
image.png

2-3.「string」と「to」の「type」をつなぎます。
image.png
image.png

2-4.「array」と「messages」の「type」をつなぎます。
image.png
image.png

2-5.「object」と「element」の「type」をつなぎます。
image.png
image.png

2-6.「text」と「type」をつなぎます。
image.png
image.png

2-7.「string」と「type」の「type」をつなぎます。
image.png
image.png

2-8.「メッセージ連結」をクリックします。
image.png

2-9.「入力数」に「2」を入力し、「完了」を押します。
image.png

2-9-1.変数「msg_Chatwork」と「メッセージ連結」をつなぎます。
image.png

2-9-2.変数「mention」と「メッセージ連結」をつなぎます。
image.png

2-9-3.「User後」を右クリックして、削除します。
image.png

2-10.「メッセージ連結」と「text」をつなぎます。
image.png

2-11.「string」と「text」の「type」をつなぎます。
image.png

2-12.「保存」を押します。

■HULFT Squareのスクリプトテスト

「デバッグ実行」を押します。
image.png

成功しました!
image.png

LINEの該当グループにも通知がされています:v:
image.png

ポイント
メッセージ送信時に、送信するリクエストがJSON形式でしたが、形式を読み取って、マッピング時に適切に配置しましょう。

0
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
0
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?