{"id":2964,"date":"2024-12-23T07:08:32","date_gmt":"2024-12-22T22:08:32","guid":{"rendered":"https:\/\/www.agile-software.site\/?p=2964"},"modified":"2024-12-23T07:08:33","modified_gmt":"2024-12-22T22:08:33","slug":"%e3%80%90dify-x-slack%e3%80%91%e8%a9%b1%e9%a1%8c%e3%83%8b%e3%83%a5%e3%83%bc%e3%82%b9%e3%82%92ai%e3%81%a7%e5%8f%96%e5%be%97%e3%81%97%e3%81%a6%e6%9c%9d9%e6%99%82%e3%81%ab%e9%80%9a%e7%9f%a5%e3%81%97","status":"publish","type":"post","link":"https:\/\/agile-software.net\/?p=2964","title":{"rendered":"\u3010Dify \u00d7 Slack\u3011\u8a71\u984c\u30cb\u30e5\u30fc\u30b9\u3092AI\u3067\u53d6\u5f97\u3057\u3066\u671d9\u6642\u306b\u901a\u77e5\u3057\u3066\u304f\u308c\u308b\u6a5f\u80fd(morning_slack2)"},"content":{"rendered":"\n<p>GCP\uff08Google Cloud Platform\uff09\u30d9\u30fc\u30b9\u3067SlackAPI\u3092\u9023\u643a\u3055\u305b\u307e\u3057\u305f\u3002Dify\u3068SlackAPI\u3067\u4f5c\u3063\u305f\u3082\u306e\u3092\u3001Cloud Functions\u3067\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u5316\u3057\u3001Cloud Scheduler\u3092\u4f7f\u3063\u3066\u3001\u6bce\u671d9\u6642\u306b\u5b9a\u671f\u901a\u77e5\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1.-dify%E3%81%A7%E3%83%AF%E3%83%BC%E3%82%AF%E3%83%95%E3%83%AD%E3%83%BC%E3%82%92%E4%BD%9C%E6%88%90-(2024%2F8%2F15-%E6%9B%B4%E6%96%B0)\">Dify\u3067\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u4f5c\u6210<\/h2>\n\n\n\n<p>Dify\u304b\u3089\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3067\u30a2\u30d7\u30ea\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u3001<a href=\"https:\/\/jp.tradingview.com\/news\/\">Trading view<\/a>\u304b\u3089\u7d4c\u6e08\u306b\u95a2\u3059\u308b\u30cb\u30e5\u30fc\u30b9\u3092\u53d6\u5f97\u3002<\/li>\n\n\n\n<li>1\u3067\u53d6\u5f97\u3057\u305f\u304d\u305f\u7d50\u679c\u304b\u3089\u4e0a\u304b\u3089\uff13\u3064\u30cb\u30e5\u30fc\u30b9\u3092\u53d6\u5f97\u3059\u308b\u3088\u3046\u306b\u52a0\u5de5<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4.-gcp%E3%81%A8%E9%80%A3%E6%90%BA\">\u9023\u643a<\/h2>\n\n\n\n<p>\u307e\u305a\u3001GCP\u4e0a\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u306a\u3044\u65b9\u306f\u3001\u4ee5\u4e0b\u304b\u3089\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002https:\/\/embed.zenn.studio\/card#zenn-embedded__d2941ff818d14<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-1.-api%E3%82%AD%E3%83%BC%E3%82%92%E4%BF%9D%E5%AD%98\"><a href=\"https:\/\/zenn.dev\/qed_ai\/articles\/a2e0b4b4b67e08#4-1.-api%E3%82%AD%E3%83%BC%E3%82%92%E4%BF%9D%E5%AD%98\"><\/a>4-1. API\u30ad\u30fc\u3092\u4fdd\u5b58<\/h3>\n\n\n\n<p>GCP Console\u3067\u300cAPI\u3068\u30b5\u30fc\u30d3\u30b9\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u79fb\u52d5\u3057\u3001\u300cSecret Manager API\u300d\u3092\u63a2\u3057\u3066\u3001\u300c\u6709\u52b9\u306b\u3059\u308b\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<br><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/zenn-user-upload\/d11b914bf979-20240808.png\"><\/p>\n\n\n\n<p>GCP\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u3001\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u3092\u9078\u629e\u3057\u3001\u305d\u3053\u304b\u3089\u300cSecret Manager\u300d\u306b\u79fb\u52d5\u3057\u3001\u300c\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u4f5c\u6210\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/zenn-user-upload\/39fe130e229f-20240808.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u5165\u529b\u3057\u3066\u3001\u300c\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u4f5c\u6210\u300d\u3092\u62bc\u4e0b\u3059\u308b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u540d\u524d\n<ul class=\"wp-block-list\">\n<li>dify-api-key\uff08\u597d\u304d\u306a\u540d\u524d\u3067OK\u3067\u3059\uff09<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u306e\u5024\n<ul class=\"wp-block-list\">\n<li>\u30b3\u30d4\u30fc\u3057\u305fDify\u306eAPI key<br><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/zenn-user-upload\/31315aee2c24-20240808.png\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-4.cloud-scheduler%E3%82%92%E4%BD%9C%E6%88%90\">4-4.Cloud Scheduler\u3092\u4f5c\u6210<\/h3>\n\n\n\n<p>GCP Console \u3067 Cloud Scheduler \u306b\u79fb\u52d5\u3057\u3001\u300c\u30b8\u30e7\u30d6\u3092\u4f5c\u6210\u300d \u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u540d\u524d\n<ul class=\"wp-block-list\">\n<li>\u4efb\u610f\u306e\u540d\u524d<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30ea\u30fc\u30b8\u30e7\u30f3\n<ul class=\"wp-block-list\">\n<li>Cloud Functions\u8a2d\u5b9a\u6642\u3068\u540c\u3058\u3082\u306e<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u8aac\u660e\n<ul class=\"wp-block-list\">\n<li>\u5165\u308c\u306a\u304f\u3066\u3082OK\uff01<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u983b\u5ea6\n<ul class=\"wp-block-list\">\n<li>cron \u5f62\u5f0f\u3067\u6307\u5b9a (\u4f8b: \u6bce\u65e5\u5348\u524d9\u6642\u306b\u5b9f\u884c\u3059\u308b\u5834\u5408 0 9 * * *)\u3002\u8a73\u7d30\u306f<a href=\"https:\/\/qiita.com\/nemutas\/items\/3f5816eabbf0eda5e6a9\" target=\"_blank\" rel=\"noreferrer noopener\">\u3053\u3061\u3089<\/a>\u3092\u53c2\u7167\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30bf\u30fc\u30b2\u30c3\u30c8\u30bf\u30a4\u30d7\n<ul class=\"wp-block-list\">\n<li>HTTP<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>URL\n<ul class=\"wp-block-list\">\n<li>\u4f5c\u6210\u3057\u305fCloud Functions\u306e\u30c8\u30ea\u30ac\u30fc\u3068\u306a\u308bURL<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>HTTP\u30d8\u30c3\u30c0\u30fc\n<ul class=\"wp-block-list\">\n<li>\u8a2d\u5b9a\u3057\u306a\u304f\u3066OK<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Auth\u30d8\u30c3\u30c0\u30fc\n<ul class=\"wp-block-list\">\n<li>OIDC\u30c8\u30fc\u30af\u30f3<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\n<ul class=\"wp-block-list\">\n<li>\u4f5c\u6210\u3057\u305fCloud Functions\u306e\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u9078\u629e<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u305d\u306e\u5f8c\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u5024\u3067\u5927\u4e08\u592b\u3067\u3059\u3002\u3082\u3057\u6c17\u306b\u306a\u308b\u5834\u5408\u306f\u3001\u3054\u81ea\u8eab\u3067\u597d\u304d\u306a\u5024\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3001\u30c8\u30ea\u30ac\u30fcURL\u306fCloud Functions\u306e\u30c8\u30ea\u30ac\u30fc\u304b\u3089\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GCP\uff08Google Cloud Platform\uff09\u30d9\u30fc\u30b9\u3067SlackAPI\u3092\u9023\u643a\u3055\u305b\u307e\u3057\u305f\u3002Dify\u3068SlackAPI\u3067\u4f5c\u3063\u305f\u3082\u306e\u3092\u3001Cloud Functions\u3067\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u5316\u3057\u3001Cloud Scheduler\u3092<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2964","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2964"}],"version-history":[{"count":1,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2964\/revisions"}],"predecessor-version":[{"id":2977,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2964\/revisions\/2977"}],"wp:attachment":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}