{"id":22688,"date":"2026-06-29T10:29:13","date_gmt":"2026-06-29T01:29:13","guid":{"rendered":"https:\/\/itport.cloud\/?p=22688"},"modified":"2026-06-29T10:46:21","modified_gmt":"2026-06-29T01:46:21","slug":"post-22688","status":"publish","type":"post","link":"https:\/\/itport.cloud\/?p=22688","title":{"rendered":"\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3068GAS\u3067Slack\u62c5\u5f53\u8005\u901a\u77e5Bot\u3092\u4f5c\u308b"},"content":{"rendered":"\n<p>\u30c1\u30fc\u30e0\u904b\u55b6\u3067\u3088\u304f\u3042\u308b\u8ab2\u984c\u306e\u3072\u3068\u3064\u304c\u3001<strong>\u300c\u4eca\u65e5\u306e\u62c5\u5f53\u8005\u306f\u8ab0\u304b\u300d<\/strong>\u3092\u3059\u3050\u306b\u5171\u6709\u3067\u304d\u306a\u3044\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u62c5\u5f53\u60c5\u5831\u3092\u7ba1\u7406\u3057\u3001Google Apps Script\uff08GAS\uff09\u3092\u4f7f\u3063\u3066Slack\u3078\u81ea\u52d5\u901a\u77e5\u3059\u308c\u3070\u3001\u3053\u306e\u8ab2\u984c\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e38193e38293e381aae794a8e98094e381abe59091e38184e381a6e38184e3828b-1\">\u3053\u3093\u306a\u7528\u9014\u306b\u5411\u3044\u3066\u3044\u308b<\/h3>\n\n\n\n<p>\u3053\u306e\u4ed5\u7d44\u307f\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5834\u9762\u306b\u7279\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u65e5\u66ff\u308f\u308a\u62c5\u5f53\u8005\u306e\u81ea\u52d5\u5171\u6709\uff08\u4f8b\uff1a\u4f5c\u696d\u62c5\u5f53\u306e\u901a\u77e5\uff09<\/li>\n\n\n\n<li>\u8907\u6570\u30e1\u30f3\u30d0\u30fc\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u7ba1\u7406<\/li>\n\n\n\n<li>\u795d\u65e5\u30fb\u4f11\u65e5\u306f\u81ea\u52d5\u3067\u30b9\u30ad\u30c3\u30d7\u3057\u305f\u3044\u5834\u5408<\/li>\n<\/ul>\n\n\n\n<p>\u5c0f\u898f\u6a21\u306a\u30c1\u30fc\u30e0\u3084\u3001\u307e\u305a\u306f\u7c21\u5358\u306b\u81ea\u52d5\u5316\u3092\u59cb\u3081\u305f\u3044\u5834\u5408\u306b\u3068\u3066\u3082\u76f8\u6027\u306e\u3088\u3044\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e585a8e4bd93e381aee4bb95e7b584e381bf-2\">\u5168\u4f53\u306e\u4ed5\u7d44\u307f<\/h3>\n\n\n\n<p>\u6d41\u308c\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u3001\u9031\u3054\u3068\u306e\u62c5\u5f53\u8005\u3092\u66dc\u65e5\u5225\u306b\u5165\u529b\u3059\u308b<\/li>\n\n\n\n<li>GAS\u304c\u6bce\u671d\u6c7a\u307e\u3063\u305f\u6642\u9593\u306b\u30b7\u30fc\u30c8\u3092\u8aad\u307f\u53d6\u308b<\/li>\n\n\n\n<li>\u5f53\u65e5\u306e\u65e5\u4ed8\u3068\u7167\u5408\u3057\u3066\u62c5\u5f53\u8005\u3092\u7279\u5b9a\u3059\u308b<\/li>\n\n\n\n<li>\u795d\u65e5\u30ea\u30b9\u30c8\u3092\u53c2\u7167\u3057\u3001\u4f11\u65e5\u3067\u3042\u308c\u3070\u901a\u77e5\u3092\u30b9\u30ad\u30c3\u30d7\u3059\u308b<\/li>\n\n\n\n<li>\u62c5\u5f53\u8005\u540d\u3092\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u3057\u3066\u6574\u5f62\u3057\u3001Slack\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3078\u81ea\u52d5\u9001\u4fe1\u3059\u308b<\/li>\n<\/ol>\n\n\n\n<p>\u3064\u307e\u308a\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u66f4\u65b0\u3059\u308b\u3060\u3051\u3067\u3001\u305d\u306e\u5185\u5bb9\u304c\u7fcc\u65e5\u4ee5\u964d\u306eSlack\u901a\u77e5\u306b\u81ea\u52d5\u3067\u53cd\u6620\u3055\u308c\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e6ba96e58299e38199e3828be38282e381ae-3\">\u6e96\u5099\u3059\u308b\u3082\u306e<\/h3>\n\n\n\n<p>\u4e8b\u524d\u306b\u6b21\u306e3\u3064\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Google\u30a2\u30ab\u30a6\u30f3\u30c8<\/li>\n\n\n\n<li>Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8<\/li>\n\n\n\n<li>Slack\u306e\u901a\u77e5\u5148\u30c1\u30e3\u30f3\u30cd\u30eb<\/li>\n<\/ul>\n\n\n\n<p>Slack\u5074\u306f\u3001Incoming Webhook \u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3082\u3063\u3068\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3088\u308a\u67d4\u8edf\u306a\u9023\u643a\u3092\u3057\u305f\u3044\u5834\u5408\u306f\u3001Slack App\u3092\u4f5c\u6210\u3057\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1API\u3092\u4f7f\u3046\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e382b9e38397e383ace38383e38389e382b7e383bce38388e381aee8a8ade8a888e4be8b-4\">\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u8a2d\u8a08\u4f8b<\/h3>\n\n\n\n<p>\u3053\u306e\u30b7\u30fc\u30c8\u306f\u3001<strong>\u9031\u30ab\u30ec\u30f3\u30c0\u30fc\u5f62\u5f0f<\/strong>\u3067\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"e59fbae69cace6a78be68890-5\">\u57fa\u672c\u69cb\u6210<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th class=\"has-text-align-left\" data-align=\"left\">\u30bb\u30eb<\/th><th class=\"has-text-align-left\" data-align=\"left\">\u5185\u5bb9<\/th><\/tr><tr><td>A1<\/td><td>\u5e74\uff08\u4f8b\uff1a2026\uff09<\/td><\/tr><tr><td>B1<\/td><td>\u6708\uff08\u4f8b\uff1a4\uff09<\/td><\/tr><tr><td>A2\u301cG2<\/td><td>\u66dc\u65e5\u30d8\u30c3\u30c0\u30fc\uff08\u6708\u30fb\u706b\u30fb\u6c34\u30fb\u6728\u30fb\u91d1\u30fb\u571f\u30fb\u65e5\uff09<\/td><\/tr><tr><td>\u5947\u6570\u884c\uff083\u884c\u76ee\u4ee5\u964d\uff09<\/td><td>\u5404\u66dc\u65e5\u306e\u65e5\u4ed8\uff08\u4f8b\uff1a2026\/04\/01\uff09<\/td><\/tr><tr><td>\u5076\u6570\u884c\uff084\u884c\u76ee\u4ee5\u964d\uff09<\/td><td>\u5404\u66dc\u65e5\u306e\u62c5\u5f53\u8005\u540d\uff08\u4f8b\uff1aA\u3055\u3093\u3001B\u3055\u3093\u3001C\u3055\u3093\uff09<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u9031\u3054\u3068\u306b\u300c\u65e5\u4ed8\u884c \u2192 \u62c5\u5f53\u8005\u884c \u2192 \u7a7a\u767d\u884c\u300d\u306e3\u884c\u30bb\u30c3\u30c8\u3067\u7e70\u308a\u8fd4\u3059\u69cb\u6210\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"e68b85e5bd93e88085e4b880e8a6a7e383bbe7a59de697a5e383aae382b9e38388-6\">\u62c5\u5f53\u8005\u4e00\u89a7\u30fb\u795d\u65e5\u30ea\u30b9\u30c8<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th class=\"has-text-align-left\" data-align=\"left\">\u5217<\/th><th class=\"has-text-align-left\" data-align=\"left\">\u5185\u5bb9<\/th><\/tr><tr><td>I\u5217<\/td><td>\u62c5\u5f53\u8005\u4e00\u89a7\uff08A\u3055\u3093\u3001B\u3055\u3093\u3001C\u3055\u3093\uff09<\/td><\/tr><tr><td>J\u5217<\/td><td>\u795d\u65e5\u306e\u65e5\u4ed8\u30ea\u30b9\u30c8<\/td><\/tr><tr><td>K\u5217<\/td><td>\u795d\u65e5\u540d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"gase381aee59fbae69cace382b3e383bce38389e4be8b-7\">GAS\u306e\u57fa\u672c\u30b3\u30fc\u30c9\u4f8b<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306f\u3001Slack\u3078\u901a\u77e5\u3092\u9001\u308b\u6700\u5c0f\u69cb\u6210\u306e\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u95a2\u6570\u306b\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u304b\u3089\u8aad\u307f\u53d6\u3063\u305f\u62c5\u5f53\u8005\u60c5\u5831\u3092\u6e21\u305b\u3070\u3001Slack\u306b\u81ea\u52d5\u6295\u7a3f\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-5e6bc1623674db0be30cbc50ccc8360f\">\/\/ Webhook URL\u306f\u3054\u81ea\u8eab\u306e\u3082\u306e\u306b\u5dee\u3057\u66ff\u3048\u3066\u304f\u3060\u3055\u3044<br>const SLACK_WEBHOOK_URL = 'https:\/\/hooks.slack.com\/services\/XXXXXXXXX\/XXXXXXXXX\/XXXXXXXXXXXXXXXXXXXXXXXX';<br><br>const SHEET_NAME = '\u30b7\u30fc\u30c81';<br><br>function sendDutyNotificationToSlack() {<br><br>  const timezone = 'Asia\/Tokyo';<br>  const today = new Date();<br>  const todayStr = Utilities.formatDate(today, timezone, 'yyyy\/MM\/dd');<br><br>  console.log('=== \u901a\u77e5\u30b9\u30af\u30ea\u30d7\u30c8\u958b\u59cb ===');<br>  console.log(`\u4eca\u65e5: ${todayStr}`);<br><br>  \/\/ \u2705 \u9031\u672b\u5224\u5b9a\uff080=\u65e5\u66dc, 6=\u571f\u66dc\uff09<br>  const dayOfWeek = today.getDay();<br>  if (dayOfWeek === 0 || dayOfWeek === 6) {<br>    console.log('\u23ed\ufe0f  \u9031\u672b\u306e\u305f\u3081\u901a\u77e5\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059');<br>    return;<br>  }<br><br>  const ss = SpreadsheetApp.getActiveSpreadsheet();<br>  const sheet = ss.getSheetByName(SHEET_NAME);<br><br>  if (!sheet) {<br>    console.error('\u30b7\u30fc\u30c8\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: ' + SHEET_NAME);<br>    return;<br>  }<br><br>  \/\/ \u2705 \u30c7\u30fc\u30bf\u304c\u3042\u308b\u884c\u3060\u3051\u3092\u53d6\u5f97<br>  const lastRow = sheet.getLastRow();<br>  if (lastRow === 0) {<br>    console.log('\u26a0\ufe0f  \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u30c7\u30fc\u30bf\u304c\u3042\u308a\u307e\u305b\u3093');<br>    return;<br>  }<br><br>  const range = sheet.getRange(1, 1, lastRow, 7);<br>  const data = range.getValues();<br><br>  let dutyPerson = null;<br>  let foundDate = null;<br><br>  for (let i = 0; i &lt; data.length; i++) {<br>    for (let j = 0; j &lt; data[i].length; j++) {<br>      let cellValue = data[i][j];<br>      if (!cellValue) continue;<br><br>      const cellDateStr = cellValue.toString().trim();<br><br>      \/\/ \u4eca\u65e5\u306e\u65e5\u4ed8\u3068\u4e00\u81f4\u3059\u308b\u304b\u78ba\u8a8d<br>      if (cellDateStr === todayStr) {<br>        console.log(`\u2705 \u65e5\u4ed8\u767a\u898b: \u884c ${i + 1}, \u5217 ${String.fromCharCode(65 + j)} = \"${cellDateStr}\"`);<br>        foundDate = cellDateStr;<br><br>        \/\/ \u540c\u3058\u5217\u306e1\u884c\u4e0b\u304c\u62c5\u5f53\u8005<br>        if (data[i + 1] &amp;&amp; data[i + 1][j] !== undefined) {<br>          dutyPerson = data[i + 1][j];<br>          console.log(`\u62c5\u5f53\u8005: \"${dutyPerson}\"`);<br>        }<br>        break;<br>      }<br>    }<br>    if (foundDate) break;<br>  }<br><br>  const todayDisplay = Utilities.formatDate(today, timezone, 'MM\/dd');<br><br>  \/\/ \u2705 \u62c5\u5f53\u8005\u5224\u5b9a<br>  const dutyPersonStr = dutyPerson ? dutyPerson.toString().trim() : '';<br>  const hasValidDuty = dutyPersonStr !== '' &amp;&amp; dutyPersonStr !== '\u30fc' &amp;&amp; dutyPersonStr !== '\u2014';<br><br>  if (hasValidDuty) {<br>    const message = `${todayDisplay} \u62c5\u5f53\u8005\u306f ${dutyPersonStr}\u3055\u3093\u3067\u3059\u3002\\n\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002\\n\u672c\u65e5\u306e\u5bfe\u5fdc\u7a93\u53e3\u3092\u304a\u9858\u3044\u3057\u307e\u3059\u3002`;<br><br>    const payload = {<br>      'text': message,<br>      'username': '\u4f5c\u696d\u62c5\u5f53\u306e\u5f53\u756a\u901a\u77e5',<br>      'icon_emoji': ':calendar:'<br>    };<br><br>    try {<br>      const options = {<br>        'method': 'post',<br>        'contentType': 'application\/json',<br>        'payload': JSON.stringify(payload),<br>        'muteHttpExceptions': true<br>      };<br><br>      const response = UrlFetchApp.fetch(SLACK_WEBHOOK_URL, options);<br><br>      if (response.getResponseCode() === 200) {<br>        console.log(`\u2705 Slack\u901a\u77e5\u3092\u9001\u4fe1\u3057\u307e\u3057\u305f: ${dutyPersonStr}`);<br>      } else {<br>        console.error(`\u274c Slack\u9001\u4fe1\u30a8\u30e9\u30fc: ${response.getResponseCode()}`);<br>      }<br>    } catch (e) {<br>      console.error(`\u274c Slack\u9001\u4fe1\u30a8\u30e9\u30fc: ${e.toString()}`);<br>    }<br><br>  } else {<br>    if (foundDate) {<br>      console.log('\u23ed\ufe0f  \u901a\u77e5\u3092\u30b9\u30ad\u30c3\u30d7 - \u672c\u65e5\u306e\u62c5\u5f53\u8005\u306f\u3044\u307e\u305b\u3093');<br>    } else {<br>      console.log('\u26a0\ufe0f  \u672c\u65e5\u306e\u65e5\u4ed8\u304c\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u898b\u3064\u304b\u308a\u307e\u305b\u3093');<br>    }<br>  }<br><br>  console.log('=== \u901a\u77e5\u30b9\u30af\u30ea\u30d7\u30c8\u7d42\u4e86 ===');<br>}<\/pre>\n\n\n\n<p>\u5b9f\u969b\u306b\u306f\u3001\u5bfe\u8c61\u884c\u3092\u56fa\u5b9a\u3059\u308b\u306e\u3067\u306f\u306a\u304f <code>onEdit<\/code> \u30c8\u30ea\u30ac\u30fc\u3084\u5b9a\u671f\u5b9f\u884c\u3067\u67d4\u8edf\u306b\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e38388e383aae382ace383bce381aee8a8ade5ae9a-8\">\u30c8\u30ea\u30ac\u30fc\u306e\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u3053\u306e\u30b7\u30fc\u30c8\u3067\u306f\u3001<strong>\u6642\u9593\u4e3b\u5c0e\u30c8\u30ea\u30ac\u30fc<\/strong>\u304c\u6700\u3082\u5b9f\u904b\u7528\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6bce\u671d9\u6642\u306a\u3069\u3001\u696d\u52d9\u958b\u59cb\u524d\u306e\u6c7a\u307e\u3063\u305f\u6642\u9593\u306b <code>sendDutyNotificationToSlack()<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u62c5\u5f53\u8005\u304c\u51fa\u793e\u524d\u306bSlack\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>GAS\u306e\u30c8\u30ea\u30ac\u30fc\u8a2d\u5b9a\u624b\u9806\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>GAS\u30a8\u30c7\u30a3\u30bf\u306e\u5de6\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30c8\u30ea\u30ac\u30fc\uff08\u6642\u8a08\u30a2\u30a4\u30b3\u30f3\uff09\u300d\u3092\u958b\u304f<\/li>\n\n\n\n<li>\u300c\uff0b\u30c8\u30ea\u30ac\u30fc\u3092\u8ffd\u52a0\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\n\n\n\n<li>\u5b9f\u884c\u3059\u308b\u95a2\u6570\uff1a<code>sendDutyNotificationToSlack<\/code><\/li>\n\n\n\n<li>\u30a4\u30d9\u30f3\u30c8\u306e\u30bd\u30fc\u30b9\uff1a\u6642\u9593\u4e3b\u5c0e\u578b<\/li>\n\n\n\n<li>\u6642\u9593\u306e\u7a2e\u985e\uff1a\u65e5\u30bf\u30a4\u30de\u30fc<\/li>\n\n\n\n<li>\u6642\u523b\uff1a\u5348\u524d9\u6642\u301c10\u6642\u306a\u3069\u3092\u9078\u629e<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e9809ae79fa5e69687e381aee4be8b-9\">\u901a\u77e5\u6587\u306e\u4f8b<\/h3>\n\n\n\n<p>Slack\u306b\u5c4a\u304f\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30a4\u30e1\u30fc\u30b8\u306f\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u3010\u62c5\u5f53\u901a\u77e5\u3011<\/strong><br>05\/20 \u62c5\u5f53\u8005\u306f A \u3055\u3093\u3067\u3059\u3002<br>\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002<br>\u672c\u65e5\u306e\u5bfe\u5fdc\u7a93\u53e3\u3092\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n<\/blockquote>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3001Slack\u4e0a\u3067\u3082\u3059\u3050\u5185\u5bb9\u3092\u628a\u63e1\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e9818be794a8e381aee3839de382a4e383b3e38388-10\">\u904b\u7528\u306e\u30dd\u30a4\u30f3\u30c8<\/h3>\n\n\n\n<p>\u5b9f\u904b\u7528\u3067\u306f\u3001\u6b21\u306e\u70b9\u306b\u6ce8\u610f\u3059\u308b\u3068\u5b89\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Webhook URL \u3092\u516c\u958b\u3057\u306a\u3044\u3002<\/strong><\/li>\n\n\n\n<li>\u30c6\u30b9\u30c8\u7528\u30c1\u30e3\u30f3\u30cd\u30eb\u3067\u4e8b\u524d\u78ba\u8a8d\u3059\u308b\u3002<\/li>\n\n\n\n<li>\u62c5\u5f53\u8005\u304c\u5909\u308f\u3063\u305f\u5834\u5408\u306f\u30b7\u30fc\u30c8\u306eI\u5217\u306e\u62c5\u5f53\u8005\u4e00\u89a7\u3082\u66f4\u65b0\u3059\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u6700\u521d\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u4f5c\u3063\u3066\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u6761\u4ef6\u5206\u5c90\u3084\u4f8b\u5916\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\u306e\u304c\u3088\u3044\u9032\u3081\u65b9\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e381bee381a8e38281-11\">\u307e\u3068\u3081<\/h3>\n\n\n\n<p>Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3068GAS\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001\u4f4e\u30b3\u30b9\u30c8\u3067\u5b9f\u7528\u7684\u306aSlack\u901a\u77e5Bot\u3092\u4f5c\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30b7\u30fc\u30c8\u306e\u3088\u3046\u306b\u300c\u9031\u30ab\u30ec\u30f3\u30c0\u30fc\u5f62\u5f0f \u00d7 \u62c5\u5f53\u8005\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3 \u00d7 \u795d\u65e5\u30ea\u30b9\u30c8\u300d\u306e\u69cb\u6210\u306b\u3057\u3066\u304a\u304f\u3068\u3001GAS\u5074\u3067\u300c\u4eca\u65e5\u306e\u62c5\u5f53\u8005\u304c\u8ab0\u304b\u300d\u3092\u81ea\u52d5\u7684\u306b\u7279\u5b9a\u3067\u304d\u3001\u624b\u52d5\u3067\u306e\u9023\u7d61\u4f5c\u696d\u3092\u307b\u307c\u30bc\u30ed\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u300c\u30b7\u30fc\u30c8\u8aad\u307f\u53d6\u308a \u2192 \u62c5\u5f53\u8005\u7279\u5b9a \u2192 Slack\u901a\u77e5\u300d\u306e\u6700\u5c0f\u69cb\u6210\u304b\u3089\u59cb\u3081\u308b\u306e\u304c\u6210\u529f\u3057\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u30c1\u30fc\u30e0\u904b\u55b6\u3067\u3088\u304f\u3042\u308b\u8ab2\u984c\u306e\u3072\u3068\u3064\u304c\u3001\u300c\u4eca\u65e5\u306e\u62c5\u5f53\u8005\u306f\u8ab0\u304b\u300d\u3092\u3059\u3050\u306b\u5171\u6709\u3067\u304d\u306a\u3044\u3053\u3068\u3067\u3059\u3002 Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u62c5\u5f53\u60c5\u5831\u3092\u7ba1\u7406\u3057\u3001Google Apps Script\uff08GAS\uff09\u3092\u4f7f\u3063\u3066Slack\u3078\u81ea\u52d5\u901a\u77e5\u3059\u308c\u3070\u3001\u3053\u306e\u8ab2\u984c\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002 \u3053\u3093\u306a\u7528\u9014\u306b\u5411\u3044\u3066\u3044\u308b \u3053\u306e\u4ed5\u7d44\u307f\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5834\u9762\u306b\u7279\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002 \u65e5\u66ff\u308f\u308a\u62c5\u5f53\u8005\u306e\u81ea\u52d5\u5171\u6709\uff08\u4f8b\uff1a\u4f5c\u696d\u62c5\u5f53\u306e\u901a\u77e5\uff09 \u8907\u6570\u30e1\u30f3\u30d0\u30fc\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u7ba1\u7406 \u795d\u65e5\u30fb\u4f11\u65e5\u306f\u81ea\u52d5\u3067\u30b9\u30ad\u30c3\u30d7\u3057\u305f\u3044\u5834\u5408 \u5c0f\u898f\u6a21\u306a\u30c1\u30fc\u30e0\u3084\u3001\u307e\u305a\u306f\u7c21\u5358\u306b\u81ea\u52d5\u5316\u3092\u59cb\u3081\u305f\u3044\u5834\u5408\u306b\u3068\u3066\u3082\u76f8\u6027\u306e\u3088\u3044\u65b9\u6cd5\u3067\u3059\u3002 \u5168\u4f53\u306e\u4ed5\u7d44\u307f \u6d41\u308c\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002 Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u3001\u9031\u3054\u3068\u306e\u62c5\u5f53\u8005\u3092\u66dc\u65e5\u5225\u306b\u5165\u529b\u3059\u308b GAS&hellip;","protected":false},"author":48,"featured_media":22928,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[177,157,182],"tags":[40],"class_list":{"0":"post-22688","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-gas","8":"category-google","9":"category-slack","10":"tag-article"},"_links":{"self":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/22688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/users\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22688"}],"version-history":[{"count":6,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/22688\/revisions"}],"predecessor-version":[{"id":22694,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/22688\/revisions\/22694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/media\/22928"}],"wp:attachment":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}