{"id":5721,"date":"2019-08-13T09:00:05","date_gmt":"2019-08-13T00:00:05","guid":{"rendered":"https:\/\/cg-method.com\/?p=5721"},"modified":"2026-10-24T19:30:32","modified_gmt":"2026-10-24T10:30:32","slug":"slack-gas-scraping","status":"publish","type":"post","link":"https:\/\/cg-method.com\/work-tools\/slack-gas-scraping\/","title":{"rendered":"GAS\u3067HTML\u306e\u5024\u3092\u62bd\u51fa\u3057\u3066Slack\u3078\u9001\u308b\u7df4\u7fd2\uff5c\u67b6\u7a7a\u306e\u682a\u4fa1\u30c7\u30fc\u30bf\u3092\u4f7f\u7528"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">HTML\u304b\u3089\u5024\u3092\u53d6\u308a\u51fa\u3057\u3066Slack\u3078\u9001\u308b\u51e6\u7406\u3092\u3001\u67b6\u7a7a\u306e\u682a\u4fa1\u30c7\u30fc\u30bf\u3067\u7df4\u7fd2\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a18\u4e8b\u5185\u306e\u56fa\u5b9aHTML\u304b\u3089\u5024\u3092\u62bd\u51fa\u3059\u308b\u7df4\u7fd2\u3067\u3059\u3002\u5b9f\u969b\u306e\u682a\u4fa1\u30b5\u30a4\u30c8\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u30b3\u30fc\u30c9\u306f\u542b\u307f\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9759\u7684HTML\u304b\u3089\u6570\u5024\u3092\u53d6\u308a\u51fa\u3059\u7df4\u7fd2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2026\/10\/cgm-notification-practice-20261002.zip\">\u901a\u77e5\u9023\u643a\u306e\u7df4\u7fd2\u30b3\u30fc\u30c9\u3068\u30ed\u30fc\u30ab\u30eb\u30c6\u30b9\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff08ZIP\uff09<\/a>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5404article-\u756a\u53f7.js\u3092\u5225\u3005\u306eApps Script\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">article-5721.js\u3092\u5225\u306eApps Script\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u4fdd\u5b58\u3057\u3001demoSlack\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PRACTICE_HTML\u306b\u3042\u308b\u7df4\u7fd2\u5de5\u696d\u30681,234.50\u304b\u3089\u3001\u67b6\u7a7a\u306e\u901a\u77e5\u6587\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5916\u90e8\u30da\u30fc\u30b8\u306e\u53d6\u5f97\u3082Slack\u3078\u306e\u6295\u7a3f\u3082\u884c\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\"><code>\/\/ \u5404\u8a18\u4e8b\u306e\u4f8b\u306f\u5225\u3005\u306eApps Script\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u4fdd\u5b58\u3057\u307e\u3059\u3002\nfunction props_() { return PropertiesService.getScriptProperties(); }\nfunction required_(key) {\n  const value = props_().getProperty(key);\n  if (!value) throw new Error(key + &#x27;\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3078\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044&#x27;);\n  return value;\n}\nfunction plain_(text) {\n  return String(text).replace(\/\\[\/g, &#x27;\uff3b&#x27;).replace(\/\\]\/g, &#x27;\uff3d&#x27;);\n}\nfunction stateKey_(kind, destination, id) {\n  const digest = Utilities.computeDigest(Utilities.DigestAlgorithm.SHA_256,\n    kind + &#x27;:&#x27; + destination + &#x27;:&#x27; + id, Utilities.Charset.UTF_8);\n  return &#x27;CGM_JOB_&#x27; + Utilities.base64EncodeWebSafe(digest);\n}\nfunction preview_(plans) {\n  \/\/ \u5b9f\u30e1\u30fc\u30eb\u3084\u4e88\u5b9a\u306e\u672c\u6587\u306f\u30ed\u30b0\u3078\u51fa\u3055\u306a\u3044\u3002demo\u95a2\u6570\u3067\u67b6\u7a7a\u306e\u672c\u6587\u3092\u78ba\u8a8d\u3002\n  Logger.log(JSON.stringify(plans.map(p =&gt; ({id: p.id, characters: p.text.length}))));\n  return plans;\n}\nfunction sendControlled_(kind, destination, buildPlans, transport) {\n  if (props_().getProperty(&#x27;SEND_ENABLED&#x27;) !== &#x27;true&#x27;) throw new Error(&#x27;\u9001\u4fe1\u306f\u7121\u52b9\u3067\u3059\u3002\u307e\u305a\u30d7\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u304f\u3060\u3055\u3044&#x27;);\n  const lock = LockService.getScriptLock();\n  if (!lock.tryLock(1000)) throw new Error(&#x27;\u5225\u306e\u5b9f\u884c\u304c\u51e6\u7406\u4e2d\u3067\u3059&#x27;);\n  try {\n    const plans = buildPlans();\n    for (const plan of plans) {\n      const key = stateKey_(kind, destination, plan.id);\n      const state = props_().getProperty(key);\n      if (state === &#x27;done&#x27;) continue;\n      if (state) throw new Error(&#x27;\u7d50\u679c\u4e0d\u660e\u306e\u51e6\u7406\u304c\u3042\u308a\u307e\u3059\u3002\u6295\u7a3f\u5148\u3068\u8a18\u9332\u3092\u7167\u5408\u3057\u3066\u304f\u3060\u3055\u3044&#x27;);\n      \/\/ \u901a\u4fe1\u524d\u306b\u8a18\u9332\u3002\u901a\u4fe1\u6210\u529f\u5f8c\u306e\u8a18\u9332\u5931\u6557\u3067\u3082\u81ea\u52d5\u3067\u518d\u9001\u3057\u306a\u3044\u3002\n      props_().setProperty(key, &#x27;sending&#x27;);\n      try {\n        transport(plan.text);\n        props_().setProperty(key, &#x27;done&#x27;);\n      } catch (error) {\n        props_().setProperty(key, &#x27;unknown&#x27;);\n        throw new Error(&#x27;\u9001\u4fe1\u7d50\u679c\u3092\u78ba\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002\u81ea\u52d5\u518d\u9001\u305b\u305a\u6295\u7a3f\u5148\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044&#x27;);\n      }\n    }\n  } finally { lock.releaseLock(); }\n}\nconst PRACTICE_HTML = &#x27;&lt;h1 id=&quot;company&quot;&gt;\u7df4\u7fd2\u5de5\u696d&lt;\/h1&gt;&lt;span class=&quot;price&quot;&gt;1,234.50&lt;\/span&gt;&#x27;;\nfunction parseQuote_(html) {\n  \/\/ \u3053\u306e\u69cb\u9020\u306e\u9759\u7684HTML\u5c02\u7528\u3002\u5b9f\u30b5\u30a4\u30c8\u306e\u6c4e\u7528HTML\u30d1\u30fc\u30b5\u30fc\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\n  const name = html.match(\/&lt;h1 id=&quot;company&quot;&gt;([^&lt;&gt;]+)&lt;\\\/h1&gt;\/);\n  const price = html.match(\/&lt;span class=&quot;price&quot;&gt;([0-9,]+(?:\\.[0-9]+)?)&lt;\\\/span&gt;\/);\n  if (!name || !price) throw new Error(&#x27;\u60f3\u5b9a\u3057\u305fHTML\u8981\u7d20\u304c\u3042\u308a\u307e\u305b\u3093&#x27;);\n  if (!\/^(?:[0-9]+|[0-9]{1,3}(?:,[0-9]{3})+)(?:\\.[0-9]+)?$\/.test(price[1])) throw new Error(&#x27;\u4fa1\u683c\u5f62\u5f0f\u304c\u9055\u3044\u307e\u3059&#x27;);\n  const number = Number(price[1].replace(\/,\/g,&#x27;&#x27;));\n  if (!Number.isFinite(number)) throw new Error(&#x27;\u6570\u5024\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093&#x27;);\n  return {name:name[1].trim(),price:number};\n}\nfunction practiceSlackPlans_() {\n  const quote = parseQuote_(PRACTICE_HTML);\n  return [{id:&#x27;practice-quote-20261002&#x27;,text:&#x27;\u3010\u67b6\u7a7a\u30c7\u30fc\u30bf\u30fb\u7df4\u7fd2\u3011&#x27; + quote.name + &#x27;: &#x27; + quote.price}];\n}\nfunction demoSlack() { const p = practiceSlackPlans_(); Logger.log(JSON.stringify(p)); return p; }\nfunction sendPracticeToSlack() {\n  const webhook = required_(&#x27;SLACK_WEBHOOK_URL&#x27;);\n  if (!\/^https:\\\/\\\/hooks\\.slack\\.com\\\/services\\\/[^\/?#]+\\\/[^\/?#]+\\\/[^\/?#]+$\/.test(webhook)) throw new Error(&#x27;Webhook\u306e\u5f62\u5f0f\u304c\u9055\u3044\u307e\u3059&#x27;);\n  sendControlled_(&#x27;slack-practice&#x27;, webhook, practiceSlackPlans_, text =&gt; {\n    const response = UrlFetchApp.fetch(webhook,{method:&#x27;post&#x27;,contentType:&#x27;application\/json&#x27;,\n      payload:JSON.stringify({text:text}),muteHttpExceptions:true});\n    if (response.getResponseCode() !== 200 || response.getContentText().trim() !== &#x27;ok&#x27;) throw new Error(&#x27;Slack\u304c\u6210\u529f\u5fdc\u7b54\u3092\u8fd4\u3057\u307e\u305b\u3093\u3067\u3057\u305f&#x27;);\n  });\n}\n<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u62bd\u51fa\u3068Webhook\u5fdc\u7b54\u306e\u78ba\u8a8d\u7d50\u679c<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th style=\"min-width:8em !important\">\u30ed\u30fc\u30ab\u30eb\u6a21\u64ec\u30c6\u30b9\u30c8\u306e\u6761\u4ef6<\/th><th style=\"min-width:8em !important\">\u78ba\u8a8d\u3057\u305f\u7d50\u679c<\/th><\/tr><\/thead><tbody><tr><td>\u8a18\u4e8b\u5185\u306e\u9759\u7684HTML<\/td><td>\u7df4\u7fd2\u5de5\u696d: 1234.5\u306e\u901a\u77e5\u6587\u3092\u4f5c\u308b<\/td><\/tr><tr><td>\u8981\u7d20\u304c\u306a\u3044\u3001\u6570\u5024\u304c1,2\u306e\u3088\u3046\u306a\u4e0d\u6b63\u5f62\u5f0f<\/td><td>\u7a7a\u306e\u5024\u3092\u9001\u3089\u305a\u30a8\u30e9\u30fc\u3067\u6b62\u307e\u308b<\/td><\/tr><tr><td>Webhook\u3078\u6295\u7a3f\u3059\u308b\u8981\u6c42<\/td><td>JSON\u306eContent-Type\u3092\u8a2d\u5b9a\u3057\u3001\u672c\u6587\u3060\u3051\u3092\u6e21\u3059<\/td><\/tr><tr><td>200\u304b\u3064\u672c\u6587ok\u4ee5\u5916\u306e\u5fdc\u7b54<\/td><td>\u7d50\u679c\u3092\u6210\u529f\u3068\u6271\u308f\u305a\u3001\u81ea\u52d5\u518d\u8a66\u884c\u3092\u6b62\u3081\u308b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a31\u53ef\u3055\u308c\u305f\u9001\u4fe1\u5148\u3078\u7df4\u7fd2\u30c7\u30fc\u30bf\u3092\u9001\u308b\u8a2d\u5b9a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u5b58\u306eSlack\u30a2\u30d7\u30ea\u3067\u8a31\u53ef\u3055\u308c\u305f\u7df4\u7fd2\u7528\u30c1\u30e3\u30f3\u30cd\u30eb\u306eIncoming Webhook\u3092\u4f7f\u3044\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3078SLACK_WEBHOOK_URL\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Webhook URL\u306f\u79d8\u5bc6\u60c5\u5831\u3068\u3057\u3066\u6271\u3044\u3001\u8a18\u4e8b\u3001\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u3001\u30ed\u30b0\u306b\u63b2\u8f09\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9001\u4fe1\u95a2\u6570\u306fsendPracticeToSlack\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9001\u4fe1\u5148\u3001\u8868\u793a\u540d\u3001\u30a2\u30a4\u30b3\u30f3\u306fWebhook\u3092\u767a\u884c\u3057\u305f\u30a2\u30d7\u30ea\u5074\u306e\u8a2d\u5b9a\u306b\u5f93\u3046\u305f\u3081\u3001\u672c\u6587\u306echannel\u3001username\u3001icon_emoji\u3067\u4e0a\u66f8\u304d\u3059\u308b\u65e7\u4f8b\u3092\u4f7f\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u5728\u306e\u4ed5\u69d8\u3068\u30a8\u30e9\u30fc\u306f<a href=\"https:\/\/docs.slack.dev\/messaging\/sending-messages-using-incoming-webhooks\/\">Slack\u306e\u516c\u5f0fWebhook\u8aac\u660e<\/a>\u3067\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP 200\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u5fdc\u7b54\u672c\u6587ok\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u30b3\u30fc\u30c9\u306f\u56fa\u5b9a\u306e\u7df4\u7fd2\u30c7\u30fc\u30bf\u30921\u56de\u9001\u308b\u4f8b\u3067\u3001\u540c\u3058Webhook URL\u3068\u56fa\u5b9aID\u306b\u5bfe\u3059\u308b\u9001\u4fe1\u6e08\u307f\u8a18\u9332\u304c\u3042\u308c\u3070\u518d\u6295\u7a3f\u3057\u307e\u305b\u3093\u3002HTML\u306e\u5024\u3060\u3051\u3092\u5909\u3048\u3066\u3082\u56fa\u5b9aID\u306f\u5909\u308f\u3089\u306a\u3044\u305f\u3081\u3001\u518d\u9001\u3055\u308c\u307e\u305b\u3093\u3002\u4e00\u65b9\u3001Webhook URL\u306e\u5909\u66f4\u3084\u8a18\u9332\u524a\u9664\u3067\u306f\u5225\u9001\u4fe1\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9a\u671f\u7684\u306b\u5b9f\u30c7\u30fc\u30bf\u3092\u901a\u77e5\u3059\u308b\u306b\u306f\u3001\u53d6\u5f97\u5143\u3001\u53d6\u5f97\u65e5\u6642\u3001\u30c7\u30fc\u30bf\u306e\u8b58\u5225\u65b9\u6cd5\u3092\u6c7a\u3081\u3066\u304b\u3089\u5b9f\u88c5\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u62bd\u51fa\u7528\u306e\u6b63\u898f\u8868\u73fe\u306f\u8a18\u4e8b\u5185\u306e\u9759\u7684HTML\u5c02\u7528\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u30b5\u30a4\u30c8\u306e\u30bf\u30b0\u69cb\u9020\u3001JavaScript\u3067\u63cf\u753b\u3055\u308c\u308b\u5024\u3001HTML\u306e\u6587\u5b57\u53c2\u7167\u306a\u3069\u3092\u6c4e\u7528\u7684\u306b\u6271\u3046\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u5229\u7528\u6761\u4ef6\u3068\u8a31\u53ef\u3092\u78ba\u8a8d\u3057\u3001\u63d0\u4f9bAPI\u304c\u3042\u308c\u3070\u305d\u306e\u4ed5\u69d8\u306b\u5408\u308f\u305b\u3066\u5225\u9014\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u62bd\u51fa\u306e\u7df4\u7fd2\u3068Slack\u9001\u4fe1\u3092\u5206\u3051\u3066\u78ba\u8a8d\u3059\u308b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u7df4\u7fd2\u306e\u6bb5\u968e\u304b\u3089\u9806\u306b\u5f53\u3066\u306f\u3081\u308b\u3068\u3001\u5b9f\u30c7\u30fc\u30bf\u3092\u9001\u308b\u524d\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u6c7a\u307e\u308a\u307e\u3059\u30022026\u5e7410\u67082\u65e5\u306e\u8a18\u4e8b\u306e\u78ba\u8a8d\u5185\u5bb9\u3068\u3001Slack\u306e\u516c\u5f0fWebhook\u306e\u8aac\u660e\u306b\u3082\u3068\u3065\u304f\u76ee\u5b89\u3067\u3059\u3002demoSlack\u306f\u67b6\u7a7a\u30c7\u30fc\u30bf\u306e\u901a\u77e5\u6587\u3092\u4f5c\u308b\u3060\u3051\u3067\u3059\u3002sendPracticeToSlack\u306f\u3001\u8a2d\u5b9a\u3068\u9001\u4fe1\u8a31\u53ef\u30d5\u30e9\u30b0\u304c\u63c3\u3046\u3068\u5b9f\u969b\u306bSlack\u3078\u6295\u7a3f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>\u307e\u305a\u3001\u67b6\u7a7a\u306e\u7df4\u7fd2\u304b\u3089\u59cb\u3081\u308b\u3002\u8a18\u4e8b\u306e\u30b3\u30fc\u30c9\u3092\u5225\u306eApps Script\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u4fdd\u5b58\u3057\u3001demoSlack\u3092\u5b9f\u884c\u3059\u308b\u3002\u8a18\u4e8b\u5185\u306e\u9759\u7684HTML\u304b\u3089\u3001\u7df4\u7fd2\u5de5\u696d\u30681,234.50\u3092\u53d6\u308a\u51fa\u3057\u3001\u901a\u77e5\u6587\u3092\u4f5c\u308b\u3002<\/li>\n\n\n\n<li>\u9001\u4fe1\u3059\u308b\u306a\u3089\u3001\u65e2\u5b58\u306eSlack\u30a2\u30d7\u30ea\u3067\u8a31\u53ef\u3055\u308c\u305f\u7df4\u7fd2\u7528\u30c1\u30e3\u30f3\u30cd\u30eb\u306eIncoming Webhook\u3092\u4f7f\u3044\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306bSLACK_WEBHOOK_URL\u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/li>\n\n\n\n<li>Webhook URL\u306f\u79d8\u5bc6\u60c5\u5831\u3068\u3057\u3066\u6271\u3044\u3001\u8a18\u4e8b\u3001\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u3001\u30ed\u30b0\u306b\u8f09\u305b\u306a\u3044\u3002<\/li>\n\n\n\n<li>\u9001\u4fe1\u5148\u3001\u8868\u793a\u540d\u3001\u30a2\u30a4\u30b3\u30f3\u306f\u3001Webhook\u3092\u767a\u884c\u3057\u305f\u30a2\u30d7\u30ea\u5074\u306e\u8a2d\u5b9a\u306b\u5f93\u3046\u3002\u672c\u6587\u306echannel\u3001username\u3001icon_emoji\u3067\u4e0a\u66f8\u304d\u3059\u308b\u65e7\u4f8b\u306f\u4f7f\u308f\u306a\u3044\u3002<\/li>\n\n\n\n<li>\u5fdc\u7b54\u306f\u3001HTTP 200\u3060\u3051\u3067\u306a\u304f\u3001\u5fdc\u7b54\u306e\u672c\u6587\u304cok\u304b\u3082\u78ba\u8a8d\u3059\u308b\u3002200\u3067\u3082\u672c\u6587\u304cok\u4ee5\u5916\u306a\u3089\u3001\u6210\u529f\u3068\u6271\u308f\u305a\u3001\u81ea\u52d5\u306e\u518d\u8a66\u884c\u3092\u6b62\u3081\u308b\u3002<\/li>\n\n\n\n<li>\u5b9f\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u3001\u53d6\u5f97\u5143\u306e\u5229\u7528\u6761\u4ef6\u3068\u8a31\u53ef\u3092\u78ba\u8a8d\u3057\u3001\u63d0\u4f9bAPI\u304c\u3042\u308c\u3070\u3001\u305d\u306e\u4ed5\u69d8\u306b\u5408\u308f\u305b\u3066\u5225\u306b\u691c\u8a3c\u3059\u308b\u3002<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u30b3\u30fc\u30c9\u306f\u3001\u56fa\u5b9a\u306e\u7df4\u7fd2\u30c7\u30fc\u30bf\u30921\u56de\u9001\u308b\u4f8b\u3067\u3059\u3002\u5b9a\u671f\u7684\u306b\u5b9f\u30c7\u30fc\u30bf\u3092\u901a\u77e5\u3059\u308b\u306b\u306f\u3001\u53d6\u5f97\u5143\u3001\u53d6\u5f97\u65e5\u6642\u3001\u30c7\u30fc\u30bf\u306e\u8b58\u5225\u65b9\u6cd5\u3092\u6c7a\u3081\u3066\u304b\u3089\u5b9f\u88c5\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9001\u4fe1\u3092\u6709\u52b9\u306b\u3059\u308b\u524d\u306e\u78ba\u8a8d\u3068\u6b62\u3081\u65b9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9001\u4fe1\u5148\u3092\u7ba1\u7406\u3059\u308b\u672c\u4eba\u306e\u8a31\u53ef\u3092\u5f97\u3066\u3001\u7df4\u7fd2\u7528\u306e\u81ea\u5206\u5b9b\u3066\u306b\u9001\u308b\u5185\u5bb9\u3068\u9001\u4fe1\u5148\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306eSEND_ENABLED\u3092true\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c7\u30e2\u3084\u30d7\u30ec\u30d3\u30e5\u30fc\u306e\u95a2\u6570\u306b\u9001\u4fe1\u30c8\u30ea\u30ac\u30fc\u3092\u4ed8\u3051\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u56fa\u5b9a\u30c7\u30fc\u30bf\u306e\u7df4\u7fd2\u3067\u306fsendPracticeToSlack\u3092\u624b\u52d5\u30671\u56de\u5b9f\u884c\u3057\u3001\u6295\u7a3f\u5148\u30fb\u5185\u5bb9\u30fb\u4fdd\u5b58\u72b6\u614b\u3092\u7167\u5408\u3057\u307e\u3059\u3002\u5b9a\u671f\u5b9f\u884c\u306e\u30c8\u30ea\u30ac\u30fc\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u5225\u306e\u30c8\u30ea\u30ac\u30fc\u304c\u540c\u6642\u306b\u9001\u308b\u3068\u3001\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30ed\u30c3\u30af\u3060\u3051\u3067\u306f\u4e8c\u91cd\u6295\u7a3f\u3092\u9632\u3052\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u4fe1\u524d\u306bsending\u3001\u6210\u529f\u5fdc\u7b54\u5f8c\u306bdone\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u4fe1\u3084\u8a18\u9332\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u306funknown\u306a\u3069\u306e\u72b6\u614b\u3092\u6b8b\u3057\u3066\u6b62\u307e\u308a\u3001\u81ea\u52d5\u3067\u518d\u9001\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d50\u679c\u304c\u4e0d\u660e\u306a\u5834\u5408\u306fSEND_ENABLED\u3092false\u306b\u3057\u3001\u30c8\u30ea\u30ac\u30fc\u3082\u505c\u6b62\u3057\u3066\u3001\u6295\u7a3f\u5148\u306b\u540c\u3058\u5185\u5bb9\u304c\u5c4a\u3044\u3066\u3044\u306a\u3044\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9001\u4fe1\u304c\u78ba\u8a8d\u3067\u304d\u305f\u8a18\u9332\u306fdone\u3078\u6574\u3048\u3001\u672a\u9001\u4fe1\u3092\u78ba\u8a8d\u3067\u304d\u305f\u5834\u5408\u3060\u3051\u518d\u5b9f\u884c\u306e\u6e96\u5099\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9001\u4fe1\u6e08\u307f\u306e\u8a18\u9332\u3092\u6d88\u3059\u3068\u540c\u3058\u5bfe\u8c61\u3092\u518d\u9001\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9577\u671f\u904b\u7528\u3067\u306f\u8a18\u9332\u5bb9\u91cf\u3068\u6574\u7406\u65b9\u6cd5\u3092\u6c7a\u3081\u3001\u65e7\u30b3\u30fc\u30c9\u30fb\u8a2d\u5b9a\u3092\u63a7\u3048\u3066\u304b\u3089\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u623b\u3059\u969b\u306f\u65b0\u3057\u3044\u30c8\u30ea\u30ac\u30fc\u3092\u6b62\u3081\u3001\u4fdd\u5b58\u3057\u305f\u30b3\u30fc\u30c9\u3068\u8a2d\u5b9a\u3078\u623b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7df4\u7fd2\u30b3\u30fc\u30c9\u306e\u691c\u8a3c\u7bc4\u56f2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">2026\u5e7410\u67082\u65e5\u306b\u3001\u914d\u5e03ZIP\u5168\u4f53\u306b\u3064\u3044\u3066\u3001Node.js\u3067Google Apps Script\u30fbHTTP\u5fdc\u7b54\u30fb\u30b7\u30fc\u30c8\u30fb\u30ed\u30c3\u30af\u30fb\u4fdd\u5b58\u72b6\u614b\u3092\u6a21\u3057\u305f55\u30b1\u30fc\u30b9\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ZIP\u3092\u65b0\u3057\u3044\u30d5\u30a9\u30eb\u30c0\u30fc\u3078\u5c55\u958b\u3057\u3001node test_integration.cjs\u3067\u3082\u540c\u3058\u7d50\u679c\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u306eGoogle\u8a8d\u53ef\u3001API\u3078\u306e\u6295\u7a3f\u3001\u30b7\u30fc\u30c8\u66f8\u304d\u8fbc\u307f\u3001\u6642\u9593\u4e3b\u5c0e\u30c8\u30ea\u30ac\u30fc\u3001\u53d7\u4fe1\u5074\u306e\u901a\u77e5\u97f3\u306f\u672a\u691c\u8a3c\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ed\u30fc\u30ab\u30eb\u3067\u306e\u6210\u529f\u3092\u3001\u5b9f\u30b5\u30fc\u30d3\u30b9\u3067\u306e\u914d\u4fe1\u6210\u529f\u3068\u6271\u308f\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -external\" data-type=\"type3\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">Qiita<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qiita-user-contents.imgix.net\/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-afbab5eb44e0b055cce1258705637a91.png%3Fixlib%3Drb-4.1.1%26w%3D1200%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLXByb2ZpbGUtaW1hZ2VzLmltZ2l4Lm5ldC9odHRwcyUzQSUyRiUyRnFpaXRhLWltYWdlLXN0b3JlLnMzLmFtYXpvbmF3cy5jb20lMkYwJTJGMTA3NTM3JTJGcHJvZmlsZS1pbWFnZXMlMkYxNDczNzEwMjc3P2l4bGliPXJiLTQuMS4xJmFyPTElM0ExJmZpdD1jcm9wJm1hc2s9ZWxsaXBzZSZiZz1GRkZGRkYmZm09cG5nMzImcz0wNzJlNmEyODEzNWE2NzBiZmYyYjFhMTBhNjhhMDk5OA%26blend-x%3D120%26blend-y%3D467%26blend-w%3D82%26blend-h%3D82%26blend-mode%3Dnormal%26s%3D2faee5c17dd5a3029968307cdc712e09?ixlib=rb-4.1.1&#038;w=1200&#038;fm=jpg&#038;mark64=aHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjEuMSZ3PTk2MCZoPTMyNCZ0eHQ9U2xhY2slRTMlODElQUVXZWJob29rJTIwVVJMJUU1JThGJTk2JUU1JUJFJTk3JUU2JTg5JThCJUU5JUEwJTg2JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnR4dC1jb2xvcj0lMjMxRTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmdHh0LXBhZD0wJnM9ZDZlNGM5NGJkZmM1ZGI4M2E0YzY3MmQ3NGZhMGFlMWM&#038;mark-x=120&#038;mark-y=112&#038;blend64=aHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjEuMSZ3PTgzOCZoPTU4JnR4dD0lNDB2bW1oeXBlcnZpc29yJnR4dC1jb2xvcj0lMjMxRTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9MzYmdHh0LXBhZD0wJnM9OTA0M2Y5OGRiOTRjYzczZGM1YTFiYzgxNGExZjk4NzQ&#038;blend-x=242&#038;blend-y=480&#038;blend-w=838&#038;blend-h=46&#038;blend-fit=crop&#038;blend-crop=left%2Cbottom&#038;blend-mode=normal&#038;s=6bac21002760a9a07e588f405d44f22e\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/qiita.com\/vmmhypervisor\/items\/18c99624a84df8b31008\" target=\"_blank\" rel=\"noopener noreferrer\">Slack\u306eWebhook URL\u53d6\u5f97\u624b\u9806 &#8211; Qiita<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Slack\u306eWebhook URL\u3092\u53d6\u5f97\u3059\u308b\u307e\u3067\u306e\u624b\u9806\u3092\u793a\u3059\u3002 \u6700\u7d42\u7684\u306b\u3084\u308a\u305f\u3044\u3053\u3068 Chat\u306bWeb\u30b5\u30fc\u30d3\u30b9\u306e\u7d50\u679c\u3092\u901a\u77e5\u3059\u308bChatOps\u7684\u306a\u3053\u3068\u3092\u3057\u305f\u3044\u3002 \u901a\u77e5\u5148\u306eChat\u30c4\u30fc\u30eb\u3068\u3057\u3066Slack\u3092\u4f7f&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2018\/04\/chatwork-to-google-calender-notify-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/chatwork-to-google-calender-notify\/\">Chatwork\u2502Google\u30ab\u30ec\u30f3\u30c0\u30fc\u306e\u4e88\u5b9a\u3092\u901a\u77e5\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Google\u30ab\u30ec\u30f3\u30c0\u30fc\u306e\u4e88\u5b9a\u3092Chatwork\u3078\u901a\u77e5\u3059\u308b\u4f8b\u3067\u3059\u3002 \u6539\u8a02\u7248\u306f\u4e8c\u91cd\u306e\u6295\u7a3f\u547c\u3073\u51fa\u3057\u3068\u58ca\u308c\u305f\u69cb\u6587\u3092\u9664\u304d\u3001\u4e88\u5b9aID\u3068\u958b\u59cb\u6642\u523b\u3092\u7d44\u306b\u3057\u3066\u3001\u540c\u3058\u9001\u4fe1\u5148\u3078\u51e6\u7406\u6e08\u307f\u306e\u4e88\u5b9a\u3092\u518d\u6295&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2018\/10\/chatwork-notify-duty-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/chatwork-notify-duty\/\">Chatwork\u2502\u5e73\u65e5\u306e\u7279\u5b9a\u306e\u6642\u9593\u5e2f\u306b\u5f53\u756a\u306e\u4eba\u3078\u901a\u77e5\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u5f53\u756a\u306e\u901a\u77e5\u306f\u3001\u62c5\u5f53\u8005\u30fb\u55b6\u696d\u65e5\u30fb\u9001\u4fe1\u3059\u308b\u6642\u9593\u5e2f\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u6295\u7a3f\u3057\u307e\u3059\u3002 \u3053\u306e\u30b3\u30fc\u30c9\u306f\u5f53\u756a\u8868\u3092\u8aad\u307f\u3001\u901a\u77e5\u306e\u6210\u529f\u5f8c\u306b\u9806\u756a\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002\u30bf\u30b9\u30af\u8ffd\u52a0\u3092\u6709\u52b9\u306b\u3057\u305f\u5834\u5408\u306f&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2018\/10\/Canva-25-300x300.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/slack-delete-all-posts\/\">Slack\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u524a\u9664\u3068GAS\u65e7\u30b3\u30fc\u30c9\u306e\u6ce8\u610f\u70b9\uff5c\u5ec3\u6b62API\u30fb\u6a29\u9650\u30fb\u5bfe\u8c61\u7bc4\u56f2<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Chatwork\u304b\u3089Slack\u306b\u8ee2\u9001\u3057\u305f\u969b\u306b#general\u306b\u5927\u91cf\u306e\u30ed\u30b0\u304c\u8ee2\u9001\u3055\u308c\u3066\u3057\u307e\u3063\u305f\u305f\u3081\u3001Google Apps Script\uff08GAS\uff09\u3092\u4f7f\u3063\u3066\u4e00\u62ec\u524a\u9664\u3057\u307e\u3057\u305f\u3002 \u65e7\u30b3\u30fc\u30c9\u306f\u305d\u306e\u307e\u307e\u5b9f\u884c\u3067\u304d\u307e&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2018\/11\/EyeCatch-\u2013-4-300x300.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/slack-gas-snalytics\/\">Slack\u2502\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u6642\u9593\u5225\u306b\u901a\u77e5\u3059\u308b\u65b9\u6cd5\u2502GAS<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u7528\u610f\u3057\u305f\u96c6\u8a08\u5024\u3092\u3001\u5bfe\u8c61\u6642\u523b\u3068\u66f4\u65b0\u6642\u523b\u3092\u78ba\u8a8d\u3057\u3066Slack\u3078\u9001\u308b\u4f8b\u3067\u3059\u3002 \u65e7Google Analytics\u30a2\u30c9\u30aa\u30f3\u3084SlackApp\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u753b\u9762\u624b\u9806\u3092\u7f6e\u304d\u63db\u3048\u3001\u307e\u305a&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2018\/12\/gas-300x300.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/slack-gas-weather\/\">Slack\u2502\u4eca\u65e5\u306e\u5929\u6c17\u3068\u6c17\u6e29\u3092\u6295\u7a3f\u3059\u308b\u65b9\u6cd5\u2502GAS<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u4eca\u65e5\u306e\u5929\u6c17\u3092Slack\u3078\u9001\u308b\u51e6\u7406\u3092\u3001\u4e88\u5831\u306e\u53d6\u5f97\u30fb\u901a\u77e5\u6587\u306e\u4f5c\u6210\u30fb\u9001\u4fe1\u306b\u5206\u3051\u307e\u3059\u3002 \u516c\u958bJSON\u304b\u3089\u6771\u4eac\u5730\u65b9\u3068\u6771\u4eac\u306e\u6c17\u6e29\u5730\u70b9\u3092\u30b3\u30fc\u30c9\u3067\u9078\u3073\u3001\u5bfe\u8c61\u65e5\u3068\u767a\u8868\u65e5\u6642\u3092\u78ba\u8a8d\u3059\u308b\u7df4\u7fd2&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u8cea\u554f\uff1aGAS\u304b\u3089Slack\u3078\u6295\u7a3f\u3059\u308b\u3068\u304d\u306e\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c8<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u8a18\u4e8b\u306e\u30b3\u30fc\u30c9\u306f\u3001\u5b9f\u969b\u306bSlack\u3078\u6295\u7a3f\u3057\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u521d\u306b\u5b9f\u884c\u3059\u308bdemoSlack\u306f\u3001\u67b6\u7a7a\u306e\u7df4\u7fd2\u30c7\u30fc\u30bf\u304b\u3089\u901a\u77e5\u6587\u3092\u4f5c\u308b\u3060\u3051\u3067\u3001\u5916\u90e8\u30da\u30fc\u30b8\u306e\u53d6\u5f97\u3082Slack\u3078\u306e\u6295\u7a3f\u3082\u884c\u3044\u307e\u305b\u3093\u3002\u9001\u4fe1\u3059\u308b\u306e\u306f\u3001sendPracticeToSlack\u3067\u3001\u8a31\u53ef\u3055\u308c\u305f\u7df4\u7fd2\u7528\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u9650\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Webhook URL\u306f\u3001\u3069\u3046\u6271\u3044\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u79d8\u5bc6\u60c5\u5831\u3068\u3057\u3066\u6271\u3044\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u8a18\u4e8b\u3001\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u3001\u30ed\u30b0\u306b\u306f\u8f09\u305b\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u672c\u6587\u3067channel\u3084username\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u4f8b\u3067\u306f\u6307\u5b9a\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u9001\u4fe1\u5148\u3001\u8868\u793a\u540d\u3001\u30a2\u30a4\u30b3\u30f3\u306f\u3001Webhook\u3092\u767a\u884c\u3057\u305f\u30a2\u30d7\u30ea\u5074\u306e\u8a2d\u5b9a\u306b\u5f93\u3046\u305f\u3081\u3001\u4e0a\u66f8\u304d\u3059\u308b\u65e7\u4f8b\u306f\u4f7f\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u9001\u4fe1\u304c\u6210\u529f\u3057\u305f\u304b\u3069\u3046\u304b\u306f\u3001\u3069\u3046\u78ba\u8a8d\u3057\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP 200\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u5fdc\u7b54\u306e\u672c\u6587\u304cok\u304b\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002200\u3067\u3082\u672c\u6587\u304cok\u4ee5\u5916\u306e\u5fdc\u7b54\u306f\u3001\u6210\u529f\u3068\u6271\u308f\u305a\u3001\u81ea\u52d5\u306e\u518d\u8a66\u884c\u3092\u6b62\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b9f\u969b\u306e\u682a\u4fa1\u306e\u30da\u30fc\u30b8\u304b\u3089\u53d6\u5f97\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a18\u4e8b\u306e\u62bd\u51fa\u7528\u306e\u6b63\u898f\u8868\u73fe\u306f\u3001\u8a18\u4e8b\u5185\u306e\u9759\u7684HTML\u5c02\u7528\u3067\u3059\u3002\u5b9f\u30b5\u30a4\u30c8\u306e\u30bf\u30b0\u306e\u69cb\u9020\u3001JavaScript\u3067\u63cf\u753b\u3055\u308c\u308b\u5024\u3001HTML\u306e\u6587\u5b57\u53c2\u7167\u306a\u3069\u306f\u3001\u6c4e\u7528\u7684\u306b\u6271\u3048\u307e\u305b\u3093\u3002\u5b9f\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u3001\u5229\u7528\u6761\u4ef6\u3068\u8a31\u53ef\u3092\u78ba\u8a8d\u3057\u3001\u63d0\u4f9bAPI\u304c\u3042\u308c\u3070\u3001\u305d\u306e\u4ed5\u69d8\u306b\u5408\u308f\u305b\u3066\u5225\u306b\u691c\u8a3c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u60f3\u5b9a\u3057\u305f\u8981\u7d20\u304c\u306a\u3044\u3068\u304d\u3084\u3001\u6570\u5024\u306e\u5f62\u5f0f\u304c\u9055\u3046\u3068\u304d\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f1a\u793e\u540d\u3084\u4fa1\u683c\u306e\u8981\u7d20\u304c\u4e00\u81f4\u3057\u306a\u3044\u5834\u5408\u3001\u307e\u305f\u306f\u4fa1\u683c\u304c1,2\u306e\u3088\u3046\u306a\u5f62\u5f0f\u306e\u5834\u5408\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u4f1a\u793e\u540d\u304c\u7a7a\u767d\u3060\u3051\u304b\u3001\u91cd\u8907\u8981\u7d20\u304c\u306a\u3044\u304b\u306a\u3069\u3092\u7db2\u7f85\u7684\u306b\u306f\u691c\u67fb\u3057\u307e\u305b\u3093\u3002\u5b9f\u30c7\u30fc\u30bf\u7528\u306b\u306f\u691c\u8a3c\u51e6\u7406\u306e\u8ffd\u52a0\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>HTML\u304b\u3089\u5024\u3092\u53d6\u308a\u51fa\u3057\u3066Slack\u3078\u9001\u308b\u51e6\u7406\u3092\u3001\u67b6\u7a7a\u306e\u682a\u4fa1\u30c7\u30fc\u30bf\u3067\u7df4\u7fd2\u3057\u307e\u3059\u3002 \u8a18\u4e8b\u5185\u306e\u56fa\u5b9aHTML\u304b\u3089\u5024\u3092\u62bd\u51fa\u3059\u308b\u7df4\u7fd2\u3067\u3059\u3002\u5b9f\u969b\u306e\u682a\u4fa1\u30b5\u30a4\u30c8\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u30b3\u30fc\u30c9\u306f\u542b\u307f\u307e\u305b\u3093\u3002 \u9759\u7684HTML\u304b\u3089\u6570\u5024\u3092\u53d6\u308a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5724,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","ssp_meta_description":"Google Apps Script\u3068Parser\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3044\u3001\u682a\u4fa1\u3092\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3057\u3066Slack\u3078\u81ea\u52d5\u6295\u7a3f\u3059\u308b\u624b\u9806\u3092\u89e3\u8aac\u3002Incoming Webhook\u306e\u767a\u884c\u304b\u30892\u9298\u67c4\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3001\u65e5\u6642\u6307\u5b9a\u306e\u30c8\u30ea\u30ac\u30fc\u8a2d\u5b9a\u307e\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002","ssp_meta_title":"GAS\u3067\u682a\u4fa1\u3092\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3057\u3066Slack\u901a\u77e5\u3059\u308b\u65b9\u6cd5","ssp_meta_robots":"","ssp_meta_canonical":"","ssp_meta_image":"","ssp_meta_keyword":"","book_review_data":"","footnotes":""},"categories":[24,20],"tags":[],"class_list":["post-5721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chatwork","category-work"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/posts\/5721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/comments?post=5721"}],"version-history":[{"count":7,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/posts\/5721\/revisions"}],"predecessor-version":[{"id":24277,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/posts\/5721\/revisions\/24277"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/media\/5724"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/media?parent=5721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/categories?post=5721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/tags?post=5721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}