1. 인증용 스크립트 기재한 GAS 준비 [SlackApp로 근태 기록하고 싶다]
2914 단어 GoogleSpreadSheetgas
문자를 엄청나게 검색하고 지정 단어가 있으면
Google 스프레드시트에 저장할 근태 기록하고 싶은 메모
작업 흐름




인증 스크립트를 포함한 GAS 준비
GoogleDrive에서 새 스프레드시트 만들기
툴 > 스크립트 에디터 아래의 코드를 기재

function doPost(e){
//バリデーション用
var params = JSON.parse(e.postData.getDataAsString());
return ContentService.createTextOutput(params.challenge);
}
function doGet(e){
doPost(e);
}

공개 > 웹 서플리케이션 공개 실행

빨간색 테두리를 Anyone으로 설정하면 Slack에서 액세스 할 수있는 것 같습니다.

Current web app URL: 메모
여기에서 생성된 URL을 SlackAPP의 Subscription으로 인증합니다.

Reference
이 문제에 관하여(1. 인증용 스크립트 기재한 GAS 준비 [SlackApp로 근태 기록하고 싶다]), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/mmt/items/c899ef5420b51227fbfe텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)