This page looks best with JavaScript enabled
⚠️

【GAS】休日の勉強会予定調整用のスクリプト

 ·  ☕ 1 分で読めます
✏️

もともとLambdaでたなしょーが作ってくれていたのを、GASで作り直しました。

処理フロー

毎月10日に、翌月の休日をSlackに投稿します。

Image
sequenceDiagram
  participant Googleカレンダー
  participant GAS
  participant Slack
  participant スプレッドシート

  Googleカレンダー-->>GAS: 祝日を取得
  GAS->>Slack: 翌月の休日を投稿
  Slack-->>GAS: 各投稿のタイムスタンプを取得
  GAS->>スプレッドシート: 投稿のタイムスタンプを記録

その月の20日に、集計結果から勉強会の日程とメンバーを確定します。

Image
sequenceDiagram
  participant GAS
  participant Slack
  participant スプレッドシート

  スプレッドシート-->>GAS: 投稿のタイムスタンプを取得
  Slack-->>GAS: 投稿のテキストとリアクションを取得
  GAS->>Slack: Slackから取得した情報から、決定した日付を通知

完成コード

https://github.com/aiandrox/gas/tree/main/runrun-script

参考

Share on

END
END
@aiandrox

 
目次