{"id":5416,"date":"2021-06-24T11:45:19","date_gmt":"2021-06-24T02:45:19","guid":{"rendered":"https:\/\/www.sria.co.jp\/blog\/?p=5416"},"modified":"2021-06-22T11:34:10","modified_gmt":"2021-06-22T02:34:10","slug":"5416","status":"publish","type":"post","link":"https:\/\/www.sria.co.jp\/blog\/2021\/06\/5416\/","title":{"rendered":"Board\u3068Slack\u3092Google Apps Script\u3067\u9023\u643a\u3057\u3066\u6708\u672b\u306b\u8acb\u6c42\u60c5\u5831\u3092\u901a\u77e5\u3059\u308b\u65b9\u6cd5\uff08\u5b9f\u88c5\u7de8\uff09"},"content":{"rendered":"<p>shoji\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001Google Apps Script(GAS)\u3092\u4f7f\u3044\u3001Board\u3068\u3044\u3046\u30d0\u30c3\u30af\u30aa\u30d5\u30a3\u30b9\u30c4\u30fc\u30eb\u3068Slack\u3092\u9023\u643a\u3057\u3066\u3001\u6708\u672b\u306b\u8acb\u6c42\u60c5\u5831\u3092Slack\u901a\u77e5\u3059\u308b\u4ed5\u7d44\u307f\u3092\u4f5c\u3063\u3066\u307f\u305f\u306e\u3067\u3001\u305d\u306e\u5b9f\u88c5\u65b9\u6cd5\u3092\u30d6\u30ed\u30b0\u306b\u3057\u3066\u307f\u307e\u3059\u3002\u4eca\u56de\u306f\u7b2c\uff12\u56de\uff08\u5168\uff12\u56de\uff09\u306e\u5b9f\u88c5\u7de8\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h2>\u5b9f\u88c5\u5185\u5bb9<\/h2>\n<p>\u524d\u56de\u3001\u6e96\u5099\u4f5c\u696d\u304c\u5b8c\u4e86\u3057\u305f\u306e\u3067\u3001\u4eca\u56de\u306fGoogle Apps Script\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6210\u3068\u305d\u308c\u305e\u308c\u306e\u51e6\u7406\u5185\u5bb9\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>Board.gs\uff08Board\u30af\u30e9\u30b9\uff09\n<ul>\n<li>Board API\u3092\u5b9f\u884c\u3057\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u6307\u5b9a\u3055\u308c\u305f\u671f\u9593\u306b\u8acb\u6c42\u65e5\u304c\u542b\u307e\u308c\u308b\u5168\u3066\u306e\u8acb\u6c42\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3002<\/li>\n<li>Board API\u306f1\u56de\u3067100\u4ef6\u306e\u53d6\u5f97\u4e0a\u9650\u304c\u3042\u308b\u305f\u3081\u3001100\u4ef6\u4ee5\u4e0a\u30c7\u30fc\u30bf\u304c\u3042\u308b\u5834\u5408\u306f\u30eb\u30fc\u30d7\u3067\u4f55\u5ea6\u3082\u53d6\u5f97\u3059\u308b\u3002<\/li>\n<li>\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u304b\u3089\u3001Slack\u3078\u6295\u7a3f\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u306e\u307f\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u683c\u7d0d\u3057\u3066\u914d\u5217\u3067\u8fd4\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>Slack.gs\uff08Slack\u30af\u30e9\u30b9\uff09\n<ul>\n<li>\u8acb\u6c42\u30c7\u30fc\u30bf\u3092\u6574\u5f62\u3057\u3001Slack\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3078POST\u30c7\u30fc\u30bf\u3068\u3057\u3066\u9001\u4fe1\u3059\u308b\u3002<\/li>\n<\/ul>\n<\/li>\n<li>Utility.gs\uff08Utility\u30af\u30e9\u30b9\uff09\n<ul>\n<li>\u73fe\u5728\u65e5\u4ed8\u304b\u3089\u6708\u521d\uff08\u6587\u5b57\u5217\uff09\u3092\u8fd4\u3059\u95a2\u6570\u3002<\/li>\n<li>\u73fe\u5728\u65e5\u4ed8\u304b\u3089\u6708\u672b\uff08\u6587\u5b57\u5217\uff09\u3092\u8fd4\u3059\u95a2\u6570\u3002<\/li>\n<li>\u73fe\u5728\u65e5\u4ed8\u304b\u3089\u305d\u306e\u6708\u306e\u6700\u7d42\u306e\u5e73\u65e5\u3092\u8fd4\u3059\u95a2\u6570\uff08\u305f\u3060\u3057\u571f\u65e5\u5bfe\u5fdc\u306e\u307f\u3002\u795d\u65e5\u5bfe\u5fdc\u306f\u3057\u306a\u3044\u3002\uff09<\/li>\n<\/ul>\n<\/li>\n<li>Main.gs\uff08\u30e1\u30a4\u30f3\u51e6\u7406\uff09\n<ul>\n<li>\u4eca\u65e5\u304c\u5b9f\u884c\u5bfe\u8c61\u65e5\uff08\u6708\u306e\u6700\u5f8c\u306e\u5e73\u65e5\uff09\u3067\u306f\u306a\u304b\u3063\u305f\u3089\u3001\u4f55\u3082\u305b\u305a\u7d42\u4e86\u3059\u308b\u3002<\/li>\n<li>\u4eca\u65e5\u304c\u5b9f\u884c\u5bfe\u8c61\u65e5\u3060\u3063\u305f\u3089\u3001Board\u304b\u3089\u8acb\u6c42\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066Slack\u3078\u9001\u4fe1\u3059\u308b\u3002<\/li>\n<li>\u3053\u306e\u95a2\u6570\u3092\u30c8\u30ea\u30ac\u30fc\u3067\u6bce\u65e5\u6307\u5b9a\u6642\u9593\u306b\u5b9f\u884c\u3055\u305b\u308b\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3067\u306f\u65e9\u901f\u305d\u308c\u305e\u308c\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>Board\u30af\u30e9\u30b9<\/h2>\n<p>Google Apps Script\u306e\u300c\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u300d\u30dc\u30bf\u30f3\uff08\uff0b\uff09\u304b\u3089\u3001\u300c\u30b9\u30af\u30ea\u30d7\u30c8\u300d\u3092\u9078\u629e\u3057\u3066\u3001\u540d\u524d\u3092\u3064\u3051\u3066\u304b\u3089\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Board\u306eAPI\u304b\u3089\u8acb\u6c42\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u8fd4\u5374\u3059\u308bBoard\u30af\u30e9\u30b9\u3092\u30ba\u30d0\u3063\u3068\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p>API\u4ed5\u69d8\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/developers.the-board.jp\/\" target=\"_blank\" rel=\"noopener\">Board API\u30aa\u30f3\u30e9\u30a4\u30f3\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u8003\u306b\u3057\u306a\u304c\u3089\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\n\/**\n * Board\u30c7\u30fc\u30bf\u53d6\u5f97\u7528\u30af\u30e9\u30b9\n *\/\nclass Board {\n\n  \/**\n   * \u5b9a\u6570\n   *\/\n  static get END_POINT() { return 'https:\/\/api.the-board.jp\/v1\/'; }\n  static get PER_PAGE() { return 100; }\n\n  \/**\n   * \u8acb\u6c42\u30c7\u30fc\u30bf\u4e00\u89a7\u53d6\u5f97\n   * \u53d7\u6ce8\u78ba\u5b9a\u307e\u305f\u306f\u53d7\u6ce8\u6e08\u307f\u306e\u8acb\u6c42\u30c7\u30fc\u30bf\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\n   *\/\n  static getInvoiceList(fromDate, toDate) {\n    \n    const headers = {\n      'Authorization': 'Bearer ' + PropertiesService.getScriptProperties().getProperty('API_TOKEN'),\n      'x-api-key': PropertiesService.getScriptProperties().getProperty('API_KEY')\n    };\n\n    const options = {\n      'headers': headers\n    };\n\n    let page = 1;\n    let current_per_page = 0;\n    let x_total_count = 0;\n    const responses = [];\n\n    \/\/ \u5bfe\u8c61\u3068\u306a\u308b\u30ec\u30b3\u30fc\u30c9\u6570\u3092\u3059\u3079\u3066\u53d6\u5f97\u3059\u308b\u307e\u3067\u30eb\u30fc\u30d7\n    do {\n\n      \/\/ URI\u751f\u6210\n      const uri = Board.END_POINT + `invoices?invoice_date_gteq=${fromDate}&invoice_date_lteq=${toDate}&project_order_status_in[]=4,5&page=${page}&per_page=${Board.PER_PAGE}`;\n      Logger.log(uri);\n\n      \/\/ API\u5b9f\u884c\n      const response = UrlFetchApp.fetch(uri, options);\n      responses.push(response.getContentText());\n\n      \/\/ \u30c8\u30fc\u30bf\u30eb\u4ef6\u6570\u53d6\u5f97\n      x_total_count = response.getHeaders()['x-total-count'];\n      current_per_page += Board.PER_PAGE;\n      page++;\n\n    } while(current_per_page < x_total_count)\n    \n    \/\/ \u6574\u5f62\u3057\u3066\u623b\u3059\n    return Board._shapingInvoiceList(responses);\n  }\n\n  \/**\n   * \u8acb\u6c42\u30c7\u30fc\u30bf\u6574\u5f62\u3001\u5168\u30da\u30fc\u30b8\u30c7\u30fc\u30bf\u3092\uff11\u3064\u306e\u914d\u5217\u3078\u683c\u7d0d\n   *\/\n  static _shapingInvoiceList(responses) {\n    const result = [];\n    for (let i=0; i<responses.length; i++) {\n      const json_data = JSON.parse(responses[i]);\n      for (let j=0; j<json_data.length; j++) {\n        result.push({\n          'project_id'          : json_data[j]['project_id'],\n          'project_no'          : json_data[j]['project_no'],\n          'project_name'        : json_data[j]['name'],\n          'client_name'         : json_data[j]['client']['name_disp'],\n          'total'               : json_data[j]['total'],\n          'tax'                 : json_data[j]['tax'],\n          'order_status_name'   : json_data[j]['order_status_name'],\n          'invoice_date'        : json_data[j]['invoice_date'],\n          'invoice_status_name' : json_data[j]['invoice_status_name'],\n          'project_type3_name'  : json_data[j]['project_type3_name'],\n          'group_name'          : json_data[j]['group_name']\n        });\n      }\n    }\n    return result;\n  }\n}\n<\/code><\/pre>\n<\/div>\n<h2>Slack\u30af\u30e9\u30b9<\/h2>\n<p>\u7d9a\u3044\u3066\u3001Slack\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3078\u8acb\u6c42\u60c5\u5831\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30ba\u30d0\u30d0\u3063\u3068\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p>Slack\u3078\u9001\u4fe1\u3059\u308b\u30c7\u30fc\u30bf\u69cb\u9020\u306b\u3064\u3044\u3066\u306f\u3001Slack\u516c\u5f0f\u306e<a href=\"https:\/\/app.slack.com\/block-kit-builder\/\" target=\"_blank\" rel=\"noopener\">Block Kit Builder<\/a>\u3068\u3044\u3046\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u4f5c\u308b\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u5b9a\u6570\u306e<strong><em>\uff0aWebHookURL\uff0a<\/em><\/strong>\u306f\u7b2c\uff11\u56de\uff08\u6e96\u5099\u7de8\uff09\u3067\u30e1\u30e2\u3057\u3066\u304a\u3044\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8URL\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\n\/**\n * Slack\u6295\u7a3f\u7528\u30af\u30e9\u30b9\n *\/\nclass Slack {\n\n  \/**\n   * \u5b9a\u6570\n   *\/\n  static get SLACK_WEBHOOK_URL() { return '\uff0aWebHookURL\uff0a'; }\n  static get USER_NAME() { return 'sris'; }\n\n  \/**\n   * Slack\u901a\u77e5\n   *\/\n  static sendNotification(responses) {\n\n    \/\/ \u30e1\u30c3\u30bb\u30fc\u30b8\u751f\u6210\n    const divider = {\n      'type': 'divider'\n    };\n    const invoices = [divider];\n    for (let i=0; i<responses.length; i++) {\n      const invoice = {\n        'type': 'section',\n        'fields': [\n          {\n            'type': 'mrkdwn',\n            'text': `*\u6848\u4ef6\u540d*\\n<https:\/\/the-board.jp\/projects\/${responses[i].project_id}\/edit|${responses[i].project_name}>`\n          },\n          {\n            'type': 'mrkdwn',\n            'text': `*\u30af\u30e9\u30a4\u30a2\u30f3\u30c8:*\\n${responses[i].client_name}`\n          },\n          {\n            'type': 'mrkdwn',\n            'text': `*\u8acb\u6c42\u65e5:*\\n${responses[i].invoice_date}`\n          },\n          {\n            'type': 'mrkdwn',\n            'text': `*\u8acb\u6c42\u30b9\u30c6\u30fc\u30bf\u30b9:*\\n${responses[i].invoice_status_name}`\n          }\n        ]\n      };\n      invoices.push(invoice);\n      invoices.push(divider);\n    }\n\n    \/\/ \u30bf\u30a4\u30c8\u30eb\uff08\u517cPUSH\u901a\u77e5\u30e1\u30c3\u30bb\u30fc\u30b8\uff09\n    const subjectText = '<!channel> \u4eca\u6708\u306e<https:\/\/the-board.jp\/invoices|\u8acb\u6c42\u60c5\u5831>\u3067\u30ea\u30b9\uff01';\n\n    const payload = {\n      'username': Slack.USER_NAME,\n      'text': subjectText,\n      'blocks': [\n        {\n          'type': 'section',\n          'text': {\n            'type': 'mrkdwn',\n            'text': subjectText\n          }\n        }\n      ]\n    };\n\n    payload['blocks'] = payload['blocks'].concat(invoices);\n\n    const options = {\n      'method': 'POST',\n      'contentType': 'application\/json',\n      'payload': JSON.stringify(payload)\n    };\n\n    UrlFetchApp.fetch(Slack.SLACK_WEBHOOK_URL, options);\n  }\n}\n<\/code><\/pre>\n<\/div>\n<h2>Utility\u30af\u30e9\u30b9<\/h2>\n<p>\u65e5\u4ed8\u51e6\u7406\u3092\u884c\u3046\u4fbf\u5229\u30e1\u30bd\u30c3\u30c9\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u4f5c\u6210\u3059\u308b\u306e\u306f\u3001\u6b21\u306e\uff13\u3064\u306e\u95a2\u6570\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf\u306edate\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u3001\u305d\u306e\u6708\u306e\u6708\u521d\u306e\u65e5\u4ed8(YYYY-MM-DD)\u6587\u5b57\u5217\u3092\u8fd4\u3059\u95a2\u6570<\/li>\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf\u306edate\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u3001\u305d\u306e\u6708\u306e\u6708\u672b\u306e\u65e5\u4ed8(YYYY-MM-DD)\u6587\u5b57\u5217\u3092\u8fd4\u3059\u95a2\u6570<\/li>\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf\u306edate\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u3001\u305d\u306e\u6708\u306e\u6700\u5f8c\u306e\u5e73\u65e5\u306edate\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u95a2\u6570<\/li>\n<\/ol>\n<p>\u305d\u308c\u305e\u308c\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\n\/**\n * \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30af\u30e9\u30b9\n *\/\nclass Utility {\n\n  \/**\n   * date\u304b\u3089\u6708\u521d(YYYY-MM-DD)\u3092\u8fd4\u3059\n   *\/\n  static getFirstDayOfMonthString(now) {\n    const tmpNow = new Date(now.getTime());\n    tmpNow.setDate(1);\n    tmpNow.setHours(0, 0, 0, 0);\n    return `${tmpNow.getFullYear()}-${(tmpNow.getMonth()+1).toString().padStart(2, '0')}-${tmpNow.getDate().toString().padStart(2, '0')}`;\n  }\n\n  \/**\n   * date\u304b\u3089\u6708\u672b(YYYY-MM-DD)\u3092\u8fd4\u3059\n   *\/\n  static getLastDayOfMonthString(now) {\n    const tmpNow = new Date(now.getTime());\n    tmpNow.setMonth(tmpNow.getMonth() + 1);\n    tmpNow.setDate(0);\n    tmpNow.setHours(0, 0, 0, 0);\n    return `${tmpNow.getFullYear()}-${(tmpNow.getMonth()+1).toString().padStart(2, '0')}-${tmpNow.getDate().toString().padStart(2, '0')}`;\n  }\n\n  \/**\n   * date\u304b\u3089\u6700\u7d42\u5e73\u65e5(date\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)\u3092\u8fd4\u3059\n   *\/\n  static getLastWeekDayOfMonth(now) {\n    const tmpNow = new Date(now.getTime());\n    tmpNow.setMonth(tmpNow.getMonth() + 1);\n    tmpNow.setDate(0);\n    tmpNow.setHours(0, 0, 0, 0);\n    \n    \/\/ \u571f\u65e5\u5bfe\u5fdc\n    if (tmpNow.getDay() === 0) {\n      tmpNow.setDate(tmpNow.getDate()-2);\n    } else if (tmpNow.getDay() === 6) {\n      tmpNow.setDate(tmpNow.getDate()-1);\n    }\n    return tmpNow;\n  }\n}\n<\/code><\/pre>\n<\/div>\n<h2>\u00a0\u30e1\u30a4\u30f3\u51e6\u7406<\/h2>\n<p>\u6700\u5f8c\u306b\u30e1\u30a4\u30f3\u51e6\u7406\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u5bfe\u8c61\u65e5\uff08\u6708\u306e\u6700\u5f8c\u306e\u5e73\u65e5\uff09\u3067\u3042\u308c\u3070Slack\u901a\u77e5\u3092\u884c\u3044\u3001\u305d\u3046\u3067\u306a\u3051\u308c\u3070\u30ed\u30b0\u51fa\u529b\u306e\u307f\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\nfunction myFunction() {\n  \n  \/\/ \u901a\u77e5\u3059\u308b\u5e74\u6708\n  const _now = new Date();\n  const lastWeekDay = Utility.getLastWeekDayOfMonth(_now);\n  const fromDateString = Utility.getFirstDayOfMonthString(_now);\n  const toDateString = Utility.getLastDayOfMonthString(_now);\n\n  \/\/ \u6700\u7d42\u5e73\u65e5\uff08\u795d\u65e5\u5224\u5b9a\u7121\u3057\uff09\u306b\u5b9f\u884c\u3059\u308b\n  if (_now.getDate() === lastWeekDay.getDate()) {\n\n    \/\/ Board\u304b\u3089\u8acb\u6c42\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\n    const responses = Board.getInvoiceList(fromDateString, toDateString);\n\n    \/\/ Slack\u3078\u901a\u77e5\n    Slack.sendNotification(responses);\n\n  } else {\n    Logger.log('\u5bfe\u8c61\u65e5\u3067\u306f\u306a\u3044\u305f\u3081\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u307e\u3059\u3002')\n  }\n}\n<\/code><\/pre>\n<\/div>\n<h2>\u30c6\u30b9\u30c8\u5b9f\u884c<\/h2>\n<p>\u3053\u3053\u307e\u3067\u4f5c\u6210\u3057\u305f\u3089\u3001\u3061\u3083\u3093\u3068\u52d5\u304f\u304b\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>Google Apps Script\u3067\u30e1\u30a4\u30f3\u51e6\u7406\u306emyFunction\u95a2\u6570\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u3057\u305f\u65e5\u304c\u6708\u306e\u6700\u7d42\u306e\u5e73\u65e5\u3067\u3042\u308c\u3070\u3001Incoming Webhook\u306e\u8a2d\u5b9a\u3067\u6307\u5b9a\u3057\u305fSlack\u30c1\u30e3\u30f3\u30cd\u30eb\u3078\u3001\u5f53\u6708\u304c\u8acb\u6c42\u65e5\u306e\u8acb\u6c42\u60c5\u5831\u304c\u6295\u7a3f\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<div id=\"attachment_5421\" style=\"width: 510px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/27c3c9f89c006973566c241a455880d4.png\"><img aria-describedby=\"caption-attachment-5421\" loading=\"lazy\" src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/27c3c9f89c006973566c241a455880d4-300x271.png\" alt=\"\" width=\"500\" height=\"452\" class=\"wp-image-5421\" srcset=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/27c3c9f89c006973566c241a455880d4-300x271.png 300w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/27c3c9f89c006973566c241a455880d4-1024x926.png 1024w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/27c3c9f89c006973566c241a455880d4-768x695.png 768w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/27c3c9f89c006973566c241a455880d4.png 1340w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-5421\" class=\"wp-caption-text\">\u30a8\u30b9\u30ea\u30b9\u304b\u308f\u3044\u3044<\/p><\/div>\n<h2>\u30c8\u30ea\u30ac\u30fc\u306e\u8a2d\u5b9a<\/h2>\n<p>\u6700\u5f8c\u306b\u3001\u56f31\u306e\u3088\u3046\u306b\u6bce\u65e5\u5348\u524d10-11\u6642\u306b\u5b9a\u671f\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u30c8\u30ea\u30ac\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c8\u30ea\u30ac\u30fc\u3067\u6708\u306e\u6700\u7d42\u306e\u5e73\u65e5\u306b\u5b9f\u884c\uff01\u30fb\u30fb\u30fb\u3068\u6307\u5b9a\u3067\u304d\u308c\u3070\u3088\u3044\u306e\u3067\u3059\u304c\u3001\u305d\u3046\u3044\u3046\u8a2d\u5b9a\u306f\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u6bce\u65e510-11\u6642\u306b\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u30c8\u30ea\u30ac\u30fc\u3092\u8a2d\u5b9a\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5074\u3067\u5e73\u65e5\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div id=\"attachment_5419\" style=\"width: 510px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/83f5a0f8140c3d4bb0da0afa634da37f.png\"><img aria-describedby=\"caption-attachment-5419\" loading=\"lazy\" src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/83f5a0f8140c3d4bb0da0afa634da37f-263x300.png\" alt=\"\" width=\"500\" height=\"569\" class=\"wp-image-5419\" srcset=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/83f5a0f8140c3d4bb0da0afa634da37f-263x300.png 263w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/83f5a0f8140c3d4bb0da0afa634da37f-899x1024.png 899w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/83f5a0f8140c3d4bb0da0afa634da37f-768x874.png 768w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/83f5a0f8140c3d4bb0da0afa634da37f-1349x1536.png 1349w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/06\/83f5a0f8140c3d4bb0da0afa634da37f.png 1472w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-5419\" class=\"wp-caption-text\">\u56f31. 10-11\u6642\u3068\u3044\u3046\u30a2\u30d0\u30a6\u30c8\u306a\u6307\u5b9a\u306b\u306a\u308a\u307e\u3059\u3002<\/p><\/div>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4ee5\u4e0a\u3067\u3001\u5b9f\u884c\u7de8\u306f\u7d42\u4e86\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Board\u306b\u9650\u3089\u305a\u3001\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308c\u3070\u540c\u69d8\u306e\u4ed5\u7d44\u307f\u306f\u4f5c\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u3053\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u306eSlack Bot\u3092\u4f5c\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\uff01<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>shoji\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Google Apps Script(GAS)\u3092\u4f7f\u3044\u3001Board\u3068\u3044\u3046\u30d0\u30c3\u30af\u30aa\u30d5\u30a3\u30b9\u30c4\u30fc\u30eb\u3068Slack\u3092\u9023\u643a\u3057\u3066\u3001\u6708\u672b\u306b\u8acb\u6c42\u60c5\u5831\u3092Slack\u901a\u77e5\u3059\u308b\u4ed5\u7d44\u307f\u3092\u4f5c\u3063\u3066\u307f\u305f\u306e\u3067\u3001\u305d\u306e\u5b9f\u88c5\u65b9\u6cd5\u3092\u30d6\u30ed\u30b0\u306b&#8230;<\/p>\n","protected":false},"author":6,"featured_media":5510,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,18,23],"tags":[243,240,241,242],"_links":{"self":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5416"}],"collection":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=5416"}],"version-history":[{"count":30,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5416\/revisions"}],"predecessor-version":[{"id":5489,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5416\/revisions\/5489"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/media\/5510"}],"wp:attachment":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=5416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=5416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=5416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}