{"id":149594,"date":"2023-10-12T13:00:00","date_gmt":"2023-10-12T04:00:00","guid":{"rendered":"https:\/\/support.questetra.com\/?p=149594"},"modified":"2024-01-18T09:29:54","modified_gmt":"2024-01-18T00:29:54","slug":"service-task-slack-message-post","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-slack-message-post\/","title":{"rendered":"Slack: Post Message (Block Kit supported)"},"content":{"rendered":"\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"58\" data-attachment-id=\"113160\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/how-to-use-timer-start-event\/attachment\/advanced-banner-new-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?fit=1200%2C68&amp;ssl=1\" data-orig-size=\"1200,68\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"advanced-banner-new-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en-1024x58.png?resize=1024%2C58&#038;ssl=1\" alt=\"\" class=\"wp-image-113160\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=768%2C44&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?w=1200&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading has-border-color has-product-main-border-color has-white-color has-product-main-background-color has-text-color has-background has-link-color\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:var(--wp--preset--spacing--10);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--20)\"><strong>Slack: Post Message (Block Kit supported)<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-border-color has-product-main-border-color has-white-color has-product-main-background-color has-text-color has-background has-link-color has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-slack-message-post\/\">Slack: \u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1 (Block Kit \u5bfe\u5fdc)<\/a><\/p>\n\n\n\n<p class=\"has-border-color has-product-main-border-color has-text-color has-white-background-color has-background has-link-color mt-0 pt-0 wp-block-paragraph\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--30);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)\">This item posts a message to Slack. Blocks are available.<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABFBJREFUWEfN\n        l39ME2cYx79vofwSEljXirCwLWOSYJRotjgnJDPZWNKjg4BYpDgnCCuYKCxmxLUu7pcJZupitmqY\n        XTfFLRnaqeXqYibbXExIdNQ\/tj+WLMvCEjPoGGABxULf5b3Sy7W9a0+zhd0f\/aP3Ps\/zeZ\/fR7DE\n        D1Fr31RgygrNh2pBsYmCrAXoYwDyFuUnAPI7AfWB4FtNqsbtueWZVaM7KYBRb8wnIN0UsALIUKMU\n        wF0CnKCgPV6\/989EMgkBjIYqKyh9H8AylYZjj82AkL3esYETSvKKANzDnIMStD+g4SgxQnGc\/4vv\n        kNMlC2A0cJ+DYuu\/YVzUQfCFd4xvjNUZB6Dm5kUlRRj5ZUTUlZOXA41Gg6nxqYTMcp6IAliM+XEl\n        LcyQa9iFzGUZmJ6cxrbVL6PhNTO2dG4BIQS8i4ejW1E8rJaQdmlOiAAs2wHya6KEaznQjNqOWpHv\n        1MFTgvGMrHBxzAfnUV1YkyxyMwAtjlSHCMDpuaMU6EwkXVZRhoPn3hOPeD+7hBctlUhJTRH\/4wxV\n        yQBAgA94P98lOIT9sCazEAyNq6lzBtHR0460jDSc+9CNtndb7xuA9YkUrUbHmpUAwBm4JkpxOha9\n        4PEVaHmrBfmP5ke9unc3CM9JDwb7B3Hx1oU4gFXrS9HU3YShr4dwofeirEcIwTZ+jO8LA+g5JwWa\n        Y0\/2\/XQaeYZIt43Xs+eFThy5dDgKwLyyAWd+7kOqNlUQ6GnrwdXzP8QJE+AT3s+3CABGfdUwQNfG\n        nhoY9QjZrfSwJDR3mZGemS4cCd4Lwv2RW\/gv8jAvHd51REYF8Xn9A+sWAbi\/JYNFPGz71IZnjRtk\n        7c\/dmYOl1ILttu0w7TQJZxyvO6B\/RI\/63fViVbRteBWjI6NyOia8fv6hCABVumVxWTHWbFyNhfkF\n        TI3fDt90LohrA9dEEZYrLFSjf4xBl6\/DqmdKMTt9B5fPXEZoIaToQa+fD\/vXqOdkAXbsfwV1u+pA\n        NERwr\/nJBnw81AvdCp1wq53rW4XbN7+5Q4y51NqkfxLW8nYEJgKyEFIA2RBIM1wuvr32XjTubUR2\n        brbiLRN0R2kI5JPw7G\/9yMzOFJT7vvdh5vYsyk0bRWOsEZWVr0HhE4WKAM4DTrgdXyVOQqUyfPr5\n        p9D6TisCkwHYN9vReawrDsD1tgs21xsoWVcSZYTlzPB3PhyyHgINxUc4qgyVGlEs9j7nvjiAXH0u\n        snKy8OOVGwo3lXdOVCNS24rlAKSz4ObVm7BttiuGQ\/IiuhWzF2qG0Z6ju1FpqRT19B\/rR421Bto0\n        rfAfc\/tLBdVJAeKGUbgUk4\/j5UXL4bx+UuiOLK6NpRZhMFVUV4iJaq\/fnwxAfhwLEOElNOFGwUpu\n        U91zuPLlIGYD4c2bTci0dC2uf3MjmXHlhSQiqWYlS25FIfFkltP\/31L6X3jivtfyCMSSfpiIEEv5\n        aSZNpSX7OH3QjFcr9w829dcwn81r2gAAAABJRU5ErkJggg==\n    \" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-4-border-color\" style=\"border-width:0.5em\"\/><\/figure>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Basic Configs<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Step Name<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Note<\/dd>\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Configs for this Auto Step<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_OAuth2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1-a: Authorization Setting (Bot registered by Questetra)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Token<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1-b: Authorization Setting (Bot registered by you)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Channel<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: Channel ID (name is also available)<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Thread<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C3: Thread ID<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_ReplyBroadcast<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C4: Reply will be broadcast to the whole channel<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Blocks<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C5: Message (Block Kit)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Text<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C6: Message (Markdown)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Notes<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To use &#8220;C1-b: Authorization Setting&#8221;, create and install a Slack App following the instructions in the Notes section of <a rel=\"noreferrer noopener\" href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/start-event-slack-message-received\/\" data-type=\"link\" data-id=\"https:\/\/support.questetra.com\/bpmn-icons\/start-event-slack-message-received\/\" target=\"_blank\">Start: Slack: Message Received<\/a>\n<ul class=\"wp-block-list\">\n<li>Open &#8220;OAuth &amp; Permissions&#8221; on the App Setting page and the &#8220;Bot User OAuth Token&#8221; shown there is your Bot Token to set in C1-b<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Block Kit message can be created on <a rel=\"noreferrer noopener\" href=\"https:\/\/app.slack.com\/block-kit-builder\/\" data-type=\"link\" data-id=\"https:\/\/app.slack.com\/block-kit-builder\/\" target=\"_blank\">Block Kit Builder<\/a> (Slack login required)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Capture<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-full has-custom-border is-style-rounded is-style-rounded--1\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"149595\" data-permalink=\"https:\/\/support.questetra.com\/en\/templates\/meeting-report-process\/attachment\/slack-message-post_capture_en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/slack-message-post_capture_en.png?fit=1190%2C1470&amp;ssl=1\" data-orig-size=\"1190,1470\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"slack-message-post_capture_en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/slack-message-post_capture_en.png?fit=510%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/10\/slack_-%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E9%80%81%E4%BF%A1-Block-Kit-%E5%AF%BE%E5%BF%9C_15.2_EN.png?ssl=1\" alt=\"\" class=\"has-border-color wp-image-149595\" style=\"border-color:#009900;border-width:3px;border-radius:9px\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>See also<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/start-event-slack-message-received\/\" data-type=\"link\" data-id=\"https:\/\/support.questetra.com\/bpmn-icons\/start-event-slack-message-received\/\" target=\"_blank\" rel=\"noreferrer noopener\">Start: Slack: Message Received<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/intermediate-error-catch-event-boundary-type\/\" target=\"_blank\">Intermediate Error Catch Event (Boundary Type)<\/a><\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<ul class=\"wp-block-list\">\n<li>An XML file that contains the code below is available to download\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/raw.githubusercontent.com\/Questetra\/Addon-XML\/release-2023-10-03\/slack-message-post.xml\" target=\"_blank\" rel=\"noreferrer noopener\">slack-message-post.xml<\/a> (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n<li>If you are using Professional, you can modify the contents of this file and use it as your own add-on auto step<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\nfunction main() {\n    const auth = decideAuth();\n    const channel = readStringData(&#39;conf_Channel&#39;);\n    if (channel === null) {\n        throw new Error(&#39;Channel must not be blank.&#39;);\n    }\n    const thread = readStringData(&#39;conf_Thread&#39;);\n    const replyBroadcast = configs.getObject(&#39;conf_ReplyBroadcast&#39;);\n    const text = readText();\n    const blocks = readBlocks();\n\n    sendMessage(auth, channel, thread, replyBroadcast, blocks, text);\n}\n\n\/** \n  * config \u304b\u3089\u8a8d\u8a3c\u8a2d\u5b9a\u5024\u3092\u8aad\u307f\u51fa\u3059\n  * \u4e21\u65b9\u3068\u3082\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308c\u3070\u3001auth-type=&quot;OAUTH2&quot; \u306e\u65b9\u3092\u512a\u5148\n  * \u4e21\u65b9\u3068\u3082\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30e9\u30fc\n  * @return auth\n  *\/\nfunction decideAuth() {\n    const auth_OAuth2 = configs.getObject(&quot;conf_OAuth2&quot;);\n    const auth_Token = configs.getObject(&quot;conf_Token&quot;)\n\n    if (auth_OAuth2 !== null ){\n        return auth_OAuth2;\n    } else if (auth_Token !== null){\n        return auth_Token;\n    } else {\n        throw new Error(&#39;No Authorization Setting.&#39;);\n    }\n}\n\nfunction readStringData(configName) {\n    const def = configs.getObject(configName);\n    if (def !== null) {\n        return engine.findData(def);\n    }\n    \/\/ editable=true \u306b\u3082\u5bfe\u5fdc\n    const value = configs.get(configName) ?? &#39;&#39;;\n    return value === &#39;&#39; ? null : value;\n}\n\nfunction readText() {\n    const text = configs.get(&quot;conf_Text&quot;) ?? &#39;&#39;;\n    if (text === &#39;&#39;) {\n        throw new Error(&#39;Markdown must not be blank.&#39;);\n    }\n    return text;\n}\n\nfunction readBlocks() {\n    const blocksText = configs.get(&#39;conf_Blocks&#39;) ?? &#39;&#39;;\n    if (blocksText === &#39;&#39;) {\n        return null;\n    }\n\n    const errorMsg = `Block Kit must be JSON like below.\\n{ &quot;blocks&quot;: [...] }`;\n    let blocks;\n    try {\n        blocks = JSON.parse(blocksText).blocks;\n    } catch (e) {\n        throw new Error(errorMsg);\n    }\n    if (blocks === undefined) {\n        throw new Error(errorMsg);\n    }\n    return blocks;\n}\n\n\/**\n * Send Message with Bots  \u30c1\u30e3\u30c3\u30c8\u6295\u7a3f\n * @param {Object} auth\n * @param {String} channel \u30c1\u30e3\u30f3\u30cd\u30ebID\n * @param {String} thread \u30b9\u30ec\u30c3\u30c9ID\n * @param {Object} blocks\n * @param {String} text\n *\/\nfunction sendMessage(auth, channel, thread, replyBroadcast, blocks, text) {\n    const jsonReq = {};\n    jsonReq[&quot;channel&quot;] = channel;\n    if (thread !== null) {\n        jsonReq[&quot;thread_ts&quot;] = thread;\n        jsonReq[&quot;reply_broadcast&quot;] = replyBroadcast;\n    }\n    if (blocks !== null) {\n        jsonReq[&#39;blocks&#39;] = blocks;\n    }\n    jsonReq[&quot;text&quot;] = text;\n\n    const url = &#39;https:\/\/slack.com\/api\/chat.postMessage&#39;;\n    const response = httpClient.begin()\n        .authSetting(auth)\n        .body(JSON.stringify(jsonReq), &quot;application\/json; charset=UTF-8&quot;)\n        .post(url);\n    const status = response.getStatusCode();\n    const responseTxt = response.getResponseAsString();\n\n    let responseJson;\n    try {\n        responseJson = JSON.parse(responseTxt);\n    } catch (e) {\n        engine.log(&quot;failed to parse as json&quot;);\n        engine.log(`status: ${status}`);\n        engine.log(responseTxt);\n        throw new Error(`Failed to send. status: ${status}`);\n    }\n    if (responseJson.ok !== true) {\n        engine.log(`status: ${status}`);\n        engine.log(responseTxt);\n        throw new Error(`response is not ok. error: ${responseJson.error}`);\n    }\n}\n<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This item posts a message to Slack. Blocks are available.<\/p>\n","protected":false},"author":17,"featured_media":111960,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[551],"tags":[405],"faq_section":[],"class_list":["post-149594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bpmn-icons","tag-slack-api"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"Shiho Tatsumi","author_link":"https:\/\/support.questetra.com\/en\/author\/tatsumi48c607ec82\/"},"uagb_comment_info":2,"uagb_excerpt":"This item posts a message to Slack. Blocks are available.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-CUO","jetpack-related-posts":[{"id":74947,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/tutorial-slack-chat-post\/","url_meta":{"origin":149594,"position":0},"title":"Posting a Message to Slack","author":"Hirotaka NISHI","date":"2023-12-19","format":false,"excerpt":"Describing auto-step to post messages \/upload files to Slack.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":74474,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/slack-chat-post-webhook\/","url_meta":{"origin":149594,"position":1},"title":"Slack: Post Chat (Incoming Webhook)","author":"Shiho Tatsumi","date":"2024-06-18","format":false,"excerpt":"This item sends a message to Slack with Incoming Webhook.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":74466,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/slack-chat-post-bots\/","url_meta":{"origin":149594,"position":2},"title":"Slack: Post Chat (Bots)","author":"suesesayaka","date":"2024-06-18","format":false,"excerpt":"This item sends a message to Slack with Bots.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":149753,"url":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/service-task-slack-message-post\/","url_meta":{"origin":149594,"position":3},"title":"Slack: \u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1 (Block Kit \u5bfe\u5fdc)","author":"Shiho Tatsumi","date":"2023-10-12","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001Slack \u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6295\u7a3f\u3057\u307e\u3059\u3002Blocks \u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002","rel":"","context":"In &quot;BPMN\u30a2\u30a4\u30b3\u30f3&quot;","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":183302,"url":"https:\/\/support.questetra.com\/en\/addons\/slack-chat-post-block-202604\/","url_meta":{"origin":149594,"position":4},"title":"Slack: Chat, Post Block","author":"Hirotaka NISHI","date":"2026-05-18","format":false,"excerpt":"Posts a message in block format. A table data can be attached as needed. It is also possible to change to an ephemeral message that is displayed only to a specific user.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Slack: \u30c1\u30e3\u30c3\u30c8, \u30d6\u30ed\u30c3\u30af\u6295\u7a3f","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/slack-chat-post-block-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/slack-chat-post-block-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/slack-chat-post-block-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/slack-chat-post-block-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/slack-chat-post-block-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":74450,"url":"https:\/\/support.questetra.com\/ja\/developer-blog\/tutorial-slack-chat-post\/","url_meta":{"origin":149594,"position":5},"title":"Slack \u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6295\u7a3f\u3059\u308b","author":"Hirotaka NISHI","date":"2023-12-13","format":false,"excerpt":"Slack \u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6295\u7a3f\u3059\u308b\/\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u81ea\u52d5\u5de5\u7a0b\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/eye-catch-slack-post.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/bpmn-icon-service-task-slack-new.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/149594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=149594"}],"version-history":[{"count":9,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/149594\/revisions"}],"predecessor-version":[{"id":156811,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/149594\/revisions\/156811"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/111960"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=149594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=149594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=149594"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=149594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}