트위터 에고사 결과를 LINE WORKS 대화방에 채팅으로 알리기 Bot
Microsoft Power Automate로 코딩 없이 빨리 만들어 버립니다.
Microsoft Power Automate 흐름 만들기
트리거에 "Twitter"의 "새 트윗이 게시되면"을 선택.


에고사에 대한 키워드를 설정합니다.

채팅으로 대화방에 알리는 액션 추가.
액션에 "HTTP"의 "HTTP"를 선택.


LINE WORKS 토크 Bot API 메시지 보내기 문서를 참조하여 다음과 같이 HTTP 작업의 매개 변수를 설정합니다.
TITLE : 메시지 보내기 (text)
URL : ぇぺぺrs. rks 모비. 이 m/jp/도쿠멘 t/100500801?ぁ g = 그럼
방법: POST
URI: htps : // 아피 s. rks 모비. 코 m/r/{아피 ID}/message/v1/bot/{botNo}/message/push
API ID와 botNo는 Developer 콘솔에서 구성 가능한 값을 확인합니다.
헤더:
Content-Type application/json; charset=UTF-8
consumerKey Developer 콘솔 값
Authorization Bearer <토큰 문자열>
본문:
{
"accountId": "user@example",
"content": {
"type": "text",
"text": "@{triggerBody()?['TweetText']}\n by@{triggerBody()?['UserDetails']?['Id']}@{triggerBody()?['UserDetails']? ['UserName']}"
}
}


동작 확인
설정한 키워드와 관련된 트윗 내용이 LINE WORKS 토크룸으로 전송되는지 확인합니다.
Reference
이 문제에 관하여(트위터 에고사 결과를 LINE WORKS 대화방에 채팅으로 알리기 Bot), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/iwaohig/items/53cc7c8c8e1d2c8e8bff텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)