{"id":155268,"date":"2026-05-01T14:00:00","date_gmt":"2026-05-01T05:00:00","guid":{"rendered":"https:\/\/support.questetra.com\/?p=155268"},"modified":"2026-05-01T14:07:06","modified_gmt":"2026-05-01T05:07:06","slug":"service-task-aws-bedrock-anthropic-claude-chat","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-aws-bedrock-anthropic-claude-chat\/","title":{"rendered":"Amazon Bedrock: Anthropic Claude: Chat"},"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-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>Amazon Bedrock: Anthropic Claude: Chat<\/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-aws-bedrock-anthropic-claude-chat\/\">Amazon Bedrock: Anthropic Claude: \u30c1\u30e3\u30c3\u30c8<\/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 sends a message to an Anthropic Claude model on Amazon Bedrock and stores the response in the specified data item.<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image\/png;base64,\n        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABE9JREFUWEfN\n        l3tMlWUcxz\/v4SCXA38gtyPTiXo2m8YdEp3cUzGxOdw0E5tRNqlsMDGlRRE5kFJjqUDLKEJsYuCN\n        xD8qA5oMGeBhXpIdbiuRrORSkOKBt71vHuIcDnRU2un5893v8nl\/z\/f3e55HwMpLsDS\/V1CQo6Pe\n        MR6EKBECAG\/A5b5\/D9AhQBOI5weVg+VdDQ2DlsT+VwDvBZFqpXJkpyiwFbC3JChwRxAp0OsVOR1X\n        v+uezGdSgLl+YVtB2CuAysLERmYiDICY2qatKZjIf0IAjX9EniiKSQ+T2NRHEIR83aWql83FMgug\n        8Q8vEUWenYrkhhiCwFHdpeqN4+BMP0zln1tSCaMKSHsuIORP5Z+bxhIRk8ZqYhRAUrvCdkT3sIKz\n        FFoS5sg9hcbQHaMAGt\/wD0SBZEsDPYqdIJKra65OkWLIANKQcdCrfjPt85zMXcTGRGCjtGFo6B6f\n        lRwnfMkibv58i2073ubwwRw8Pdx4bUcGcbHRrIlbQfnpc2xcvwZnJxV37w6Rd7iYwuJSU947fyoH\n        XKVhJQNo\/MISRIRiU6uQQF96evvRtXXw8YE9eKk9adG147NwPum79\/Hum9txUqnI2nuQVSuiUXu6\n        09f\/OwqFgoQtycya6SWH\/PGnrnEFExA36bQ1R+4DhH8iQqKp1aJgf57bsJaZXmpEUcTe3o6S0lO8\n        tHkDpScqeGp5FPrhYWrrGglbEkJ9YzNKpZLVK2PQtXVypvJrjpVXMDAwfioLUKjTVr8gA8zzC2\/k\n        7\/k+uubMnkVBbha9fX18efIsq2JjUHu48Xp6Nvuz07n1y69Ms53GjZvduLtNZ4bak4MfFVF2upLl\n        0WGsfXoli58I5JuqC6SkZZqTTFOrtjrQAHB7zMEiG0vO72Wmcb6mls+\/KCd3z1s4ONjz4qs72ZWS\n        xJLQICrOfUvXzW6eT1jHja5unkncxrKopVy+2iLrpCh\/H38MDLA5KdUcQE+rtnq6AUA0Z7E7PZWV\n        yyLR6\/VcbNDi4e5Kbl4hPgvmy1tTeKSU1vZOMtJSqG\/UytU58P47LF0cwjRbW2739PJhwaccP3nW\n        bNO0aquFSQEepdUs8R0LMG4LUrdtoa5BS82Fi5bEMrKRxCkJVaqYnZ0dZacqydp3yDSO0RaME6HU\n        AW9sf0Uuf+mJr2Q1P8haHx\/HDLUHi4IDaL58jez9eabu\/4hQ42e+DVUqRzJ2JbMseinDwyNcu66j\n        SXuFKz+0UFNbP9pekl3Y4hCCA3zxffwx5s2ZTW9fP8fKzrDiyQhZB1Xf1xkBGLXhRIPI4KGZ603i\n        pnVEhoXi6uKCjY3CbDGkyXdd1yYnlioWvzoWZ2cVRUfLJh9EE41ic1mkaRcaEoC\/z0KcVI6yia69\n        k+strXLLWriMR7HkZNXDSAKw+nEsQVj1QjIquCm8jJrqwdzl9P93Kf0vKvHA13IDhFUfJgYIqz7N\n        xorIao9TCyfbQ5v9BWbg5jDAzldXAAAAAElFTkSuQmCC\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_AccessKey<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: Access Key<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_SecretKey<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: Secret Access Key<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Region<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C3: Region Code<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Model<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C4: Model<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_UseCrossRegion<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C5: Use cross-region inference<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_MaxTokens<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C6: Maximum number of tokens to consume (2048 if blank)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_EnableThinking<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C7E: Enable reasoning in Extended Thinking Mode<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_BudgetTokens<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C7E-b: Maximum number of tokens for reasoning (1024 if blank)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_EnableAdaptiveThinking<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C7A: Enable reasoning in Adaptive Thinking Mode<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Effort<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C8: Effort<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Temperature<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C9: Temperature (0.0 &#8211; 1.0) (1.0 if blank)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_StopSequences<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C10: Stop Sequences (write one per line)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_SystemPrompt<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C11: System Prompt<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_Message1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">U1: User Message<span style=\"color:#990000;\"> *<\/span><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_Images1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">I1: Images \/ PDFs to attach to user message<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Answer1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A1: Data item to save response<span style=\"color:#990000;\"> *<\/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 learn about how to create your Access Key and Secret Access Key, see the <a href=\"https:\/\/docs.aws.amazon.com\/IAM\/latest\/UserGuide\/id_credentials_access-keys.html\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon Web Services Documentation<\/a><\/li>\n\n\n\n<li>To learn about cross-region inference, see the <a href=\"https:\/\/docs.aws.amazon.com\/bedrock\/latest\/userguide\/cross-region-inference.html\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon Web Services Documentation<\/a>\n<ul class=\"wp-block-list\">\n<li>You do not have to add a region prefix in [C4: Model]<\/li>\n\n\n\n<li>When the model selected in [C4: Model] supports global cross-region inference and [C5: Use cross-region inference] is enabled, this item uses global cross-region inference<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>[C7E: Enable reasoning in Extended Thinking Mode], [C7A: Enable reasoning in Adaptive Thinking Mode], [C8: Effort], [C11: System Prompt] and [I1: Images \/ PDFs to attach to user message] are only supported on certain models\n<ul class=\"wp-block-list\">\n<li>For more details, please refer to <a href=\"https:\/\/docs.anthropic.com\/en\/docs\/about-claude\/models\" target=\"_blank\" rel=\"noreferrer noopener\">Anthropic Claude Documentation<\/a><\/li>\n\n\n\n<li>Enabling both [C7E: Enable reasoning in Extended Thinking Mode] and [C7A: Enable reasoning in Adaptive Thinking Mode] causes this item to fail<\/li>\n<\/ul>\n<\/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\" loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"1498\" data-attachment-id=\"183686\" data-permalink=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-aws-bedrock-anthropic-claude-chat\/attachment\/bedrock-anthropic-claude-chat_en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/01\/bedrock-anthropic-claude-chat_en.png?fit=1344%2C1498&amp;ssl=1\" data-orig-size=\"1344,1498\" data-comments-opened=\"0\" data-image-title=\"bedrock-anthropic-claude-chat_en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/01\/bedrock-anthropic-claude-chat_en.png?fit=565%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/01\/bedrock-anthropic-claude-chat_en.png?resize=1344%2C1498&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-183686\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/01\/bedrock-anthropic-claude-chat_en.png?w=1344&amp;ssl=1 1344w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/01\/bedrock-anthropic-claude-chat_en.png?resize=283%2C315&amp;ssl=1 283w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/01\/bedrock-anthropic-claude-chat_en.png?resize=565%2C630&amp;ssl=1 565w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/01\/bedrock-anthropic-claude-chat_en.png?resize=768%2C856&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/01\/bedrock-anthropic-claude-chat_en.png?resize=1200%2C1338&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/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\/intermediate-error-catch-event-boundary-type\/\" target=\"_blank\" rel=\"noreferrer noopener\">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:\/\/gh-cdn.questetra.net\/Questetra\/Addon-XML\/release-2026-04-16\/aws-bedrock-anthropic-claude-chat.xml\" target=\"_blank\" rel=\"noreferrer noopener\">aws-bedrock-anthropic-claude-chat.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>\nconst SERVICE = &#39;bedrock&#39;;\nconst ANTHROPIC_VERSION = &#39;bedrock-2023-05-31&#39;;\n\nconst DEFAULT = Object.freeze({\n    &#39;conf_MaxTokens&#39;: 2048,\n    &#39;conf_BudgetTokens&#39;: 1024,\n    &#39;conf_Temperature&#39;: 1,\n});\n\nconst main = () =&gt; {\n    \/\/\/\/\/\/ == \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u30fb\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 \/ Config & Data Retrieving ==\n    const awsKey = configs.getObject(&#39;conf_AccessKey&#39;).getToken();\n    const awsSecret = configs.getObject(&#39;conf_SecretKey&#39;).getToken();\n    const region = retrieveRegion();\n    let model = retrieveModel();\n    const useCrossRegion = configs.getObject(&quot;conf_UseCrossRegion&quot;);\n    if (useCrossRegion) {\n        model = decideCrossRegionModel(model, region);\n    }\n\n    const maxTokens = retrieveMaxTokens(&#39;conf_MaxTokens&#39;);\n    const enableThinking = configs.getObject(&#39;conf_EnableThinking&#39;);\n    let budgetTokens;\n    if (enableThinking) {\n        budgetTokens = retrieveMaxTokens(&#39;conf_BudgetTokens&#39;);\n        if (budgetTokens &gt;= maxTokens) {\n            throw new Error(&#39;Maximum number of tokens for reasoning must be less than maximum number of tokens to consume.&#39;);\n        }\n    }\n    const enableAdaptiveThinking = configs.getObject(&#39;conf_EnableAdaptiveThinking&#39;);\n    if (enableThinking && enableAdaptiveThinking) {\n        throw new Error(&#39;Extended Thinking Mode and Adaptive Thinking Mode cannot be enabled at the same time.&#39;);\n    }\n    const effort = configs.get(&#39;conf_Effort&#39;);\n    const temperature = retrieveTemperature();\n    if ((enableThinking || enableAdaptiveThinking) && temperature !== DEFAULT[&#39;conf_Temperature&#39;]) {\n        throw new Error(`Temperature must be ${DEFAULT[&#39;conf_Temperature&#39;]} when Extended or Adaptive Thinking Mode is enabled.`);\n    }\n    const stopSequences = retrieveStopSequences();\n    const systemPrompt = configs.get(&#39;conf_SystemPrompt&#39;);\n    const userMessage = retrieveUserMessage(); \/\/ \u6dfb\u4ed8\u753b\u50cf\u306e\u53d6\u5f97\u3082\u542b\u3080\n\n    \/\/\/\/\/\/ == \u6f14\u7b97 \/ Calculating ==\n    const answer = converse(\n        awsKey,\n        awsSecret,\n        region,\n        model,\n        maxTokens,\n        enableThinking,\n        budgetTokens,\n        enableAdaptiveThinking,\n        effort,\n        temperature,\n        stopSequences,\n        systemPrompt,\n        userMessage\n    );\n\n    \/\/\/\/\/\/ == \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 \/ Data Updating ==\n    saveData(&#39;conf_Answer1&#39;, answer);\n}\n\n\/**\n * config \u304b\u3089\u30ea\u30fc\u30b8\u30e7\u30f3\u30b3\u30fc\u30c9\u3092\u8aad\u307f\u51fa\u3059\n * \u30ea\u30fc\u30b8\u30e7\u30f3\u30b3\u30fc\u30c9\u306e\u5f62\u5f0f\u3068\u3057\u3066\u4e0d\u6b63\u306a\u5834\u5408\u306f\u30a8\u30e9\u30fc\n * @return {String}\n *\/\nconst retrieveRegion = () =&gt; {\n    const region = configs.get(&#39;conf_Region&#39;);\n    \/\/ \u4eca\u5f8c\u30ea\u30fc\u30b8\u30e7\u30f3\u304c\u5897\u3048\u308b\u3053\u3068\u3082\u8003\u3048\u3066\u3001\u4e2d\u592e\u306e\u6700\u5927\u6587\u5b57\u6570\u306b\u306f\u4f59\u88d5\u3092\u307f\u3066\u3044\u308b\n    const reg = new RegExp(&#39;^[a-z]{2}-[a-z]{4,16}-[1-9]$&#39;);\n    if (!reg.test(region)) {\n        throw new Error(&#39;Region Code is invalid.&#39;);\n    }\n    return region;\n}\n\n\/**\n * config \u304b\u3089\u30e2\u30c7\u30eb ID \u3092\u8aad\u307f\u51fa\u3059\n * \u30e2\u30c7\u30eb ID \u3068\u3057\u3066\u4e0d\u6b63\u306a\u5834\u5408\u306f\u30a8\u30e9\u30fc\n * @return {String}\n *\/\nconst retrieveModel = () =&gt; {\n    const model = configs.get(&#39;conf_Model&#39;);\n    const reg = new RegExp(&#39;^[a-z0-9.:-]+$&#39;);\n    if (!reg.test(model)) {\n        throw new Error(&#39;Model is invalid. It contains an invalid character.&#39;);\n    }\n    const MODEL_PREFIX = &#39;anthropic.claude&#39;;\n    if (!model.startsWith(MODEL_PREFIX)){\n        throw new Error(`Model is invalid. It must start with &quot;${MODEL_PREFIX}&quot;.`);\n    }\n    return model;\n}\n\n\/* \u30af\u30ed\u30b9\u30ea\u30fc\u30b8\u30e7\u30f3\u63a8\u8ad6\u306b\u5bfe\u5fdc\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u30af\u30ed\u30b9\u30ea\u30fc\u30b8\u30e7\u30f3\u63a8\u8ad6\u306b\u306f\u975e\u5bfe\u5fdc\u306e\u30e2\u30c7\u30eb\u3092\u7279\u5b9a\u3059\u308b\u63a5\u982d\u8f9e *\/\nconst GLOBAL_CROSS_REGION_UNSUPPORTED_MODEL_PREFIXES = [\n    &quot;anthropic.claude-3-&quot;,\n    &quot;anthropic.claude-3-5-&quot;,\n    &quot;anthropic.claude-3-7-&quot;,\n    &quot;anthropic.claude-opus-4-20250514-v1:0&quot;,\n    &quot;anthropic.claude-opus-4-1-20250805-v1:0&quot;\n];\n\n\/**\n * \u30af\u30ed\u30b9\u30ea\u30fc\u30b8\u30e7\u30f3\u63a8\u8ad6\u30e2\u30c7\u30eb ID \u3092\u6c7a\u5b9a\u3059\u308b\n * \u30b0\u30ed\u30fc\u30d0\u30eb\u30af\u30ed\u30b9\u30ea\u30fc\u30b8\u30e7\u30f3\u63a8\u8ad6\u306b\u975e\u5bfe\u5fdc\u306e\u30e2\u30c7\u30eb\u3067\u3001C3 \u306e\u30ea\u30fc\u30b8\u30e7\u30f3\u304c\u30af\u30ed\u30b9\u30ea\u30fc\u30b8\u30e7\u30f3\u63a8\u8ad6\u306e\u5bfe\u8c61\u3067\u306a\u3044\u5834\u5408\u306f\u30a8\u30e9\u30fc\n * @return {String}\n *\/\nconst decideCrossRegionModel = (model, region) =&gt; {\n    if (GLOBAL_CROSS_REGION_UNSUPPORTED_MODEL_PREFIXES.some(prefix =&gt; model.startsWith(prefix))) {\n        if (region.startsWith(&#39;us-&#39;)) {\n            return `us.${model}`;\n        } else if(region.startsWith(&#39;eu-&#39;)) {\n            return `eu.${model}`;\n        } else if (region.startsWith(&#39;ap-&#39;)) {\n            return `apac.${model}`;\n        }\n        throw new Error(`Cross-region inference is not supported in ${region}.`);\n    }\n    return `global.${model}`;\n}\n\nconst MIN_BUDGET_TOKENS = 1024;\n\nconst ERROR_MSG = Object.freeze({\n    &#39;conf_MaxTokens&#39;: &#39;Maximum number of tokens to consume must be a positive integer.&#39;,\n    &#39;conf_BudgetTokens&#39;:\n        `Maximum number of tokens for reasoning must be an integer greater than or equal to ${MIN_BUDGET_TOKENS}.`\n});\n\n\/**\n * config \u304b\u3089\u6700\u5927\u30c8\u30fc\u30af\u30f3\u6570\u3092\u8aad\u307f\u51fa\u3059\n * \u6307\u5b9a\u306a\u3057\u306e\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8fd4\u3059\n * @param confName \u8a2d\u5b9a\u540d\n * @returns {Number}\n *\/\nconst retrieveMaxTokens = (confName) =&gt; {\n    const maxTokens = configs.get(confName);\n    if (maxTokens === &#39;&#39;) {\n        return DEFAULT[confName];\n    }\n    const regExp = new RegExp(\/^[1-9][0-9]*$\/);\n    if (!regExp.test(maxTokens)) {\n        throw new Error(ERROR_MSG[confName]);\n    }\n    const maxTokensInt = parseInt(maxTokens, 10);\n    if (confName === &#39;conf_BudgetTokens&#39; && maxTokensInt &lt; MIN_BUDGET_TOKENS) {\n        throw new Error(ERROR_MSG[confName]);\n    }\n    return maxTokensInt;\n};\n\n\/**\n * config \u304b\u3089\u6e29\u5ea6\u3092\u8aad\u307f\u51fa\u3059\n * \u6307\u5b9a\u306a\u3057\u306e\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024(1)\u3092\u8fd4\u3059\n * @returns {Number}\n *\/\nconst retrieveTemperature = () =&gt; {\n    const temperature = configs.get(&#39;conf_Temperature&#39;);\n    if (temperature === &#39;&#39;) {\n        return DEFAULT[&#39;conf_Temperature&#39;];\n    }\n    const regExp = \/^(0(\\.\\d+)?|1(\\.0+)?)$\/;\n    if (!regExp.test(temperature)) {\n        throw new Error(&#39;Temperature must be a number from 0 to 1.&#39;);\n    }\n    return parseFloat(temperature);\n};\n\nconst MAX_STOP_SEQUENCES_NUM = 8191;\n\n\/**\n * config \u304b\u3089\u505c\u6b62\u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u8aad\u307f\u51fa\u3059\n * @returns {Array&lt;String&gt;}\n *\/\nconst retrieveStopSequences = () =&gt; {\n    const stopSequencesStr = configs.get(&#39;conf_StopSequences&#39;);\n    if (stopSequencesStr === &#39;&#39;) {\n        return [];\n    }\n    const stopSequences = stopSequencesStr.split(&#39;\\n&#39;)\n        .filter(s =&gt; s !== &#39;&#39;);\n    if (stopSequences.length &gt; MAX_STOP_SEQUENCES_NUM) {\n        throw new Error(`Too many stop sequences. The maximum number is ${MAX_STOP_SEQUENCES_NUM}.`);\n    }\n    return stopSequences;\n};\n\n\nconst MAX_IMAGE_NUM = 20; \/\/ Bedrock Converse API \u306e\u5236\u9650\u30021 \u30e6\u30fc\u30b6\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u304d\u6dfb\u4ed8\u753b\u50cf 20 \u500b\u307e\u3067\nconst MAX_IMAGE_SIZE = 3932160; \/\/ Bedrock Converse API \u306e\u5236\u9650\u30021 \u30d5\u30a1\u30a4\u30eb\u306b\u3064\u304d 3.75 MB \u307e\u3067\nconst ALLOWED_MEDIA_TYPES = [&#39;image\/jpeg&#39;, &#39;image\/png&#39;, &#39;image\/gif&#39;, &#39;image\/webp&#39;];\nconst MAX_DOC_NUM = 5; \/\/ Bedrock Converse API \u306e\u5236\u9650\u30021 \u30e6\u30fc\u30b6\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u304d PDF 5 \u500b\u307e\u3067\nconst MAX_DOC_SIZE = 4718592; \/\/ Bedrock Converse API \u306e\u5236\u9650\u30021 \u30d5\u30a1\u30a4\u30eb\u306b\u3064\u304d 4.5 MB \u307e\u3067\nconst ALLOWED_DOCUMENT_TYPES = [&#39;application\/pdf&#39;];\n\n\/**\n * config \u304b\u3089\u30e6\u30fc\u30b6\u30e1\u30c3\u30bb\u30fc\u30b8\uff08\u6dfb\u4ed8\u753b\u50cf\u3001\u6dfb\u4ed8 PDF \u3092\u542b\u3080\uff09\u3092\u8aad\u307f\u51fa\u3059\n * \u30e6\u30fc\u30b6\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u7a7a\u306e\u5834\u5408\u3001\u6dfb\u4ed8\u753b\u50cf\u3084\u6dfb\u4ed8 PDF \u304c\u4e0d\u6b63\u306a\u5834\u5408\u306f\u30a8\u30e9\u30fc\n * @returns {Object} \u30e6\u30fc\u30b6\u30e1\u30c3\u30bb\u30fc\u30b8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\n *\/\nconst retrieveUserMessage = () =&gt; {\n    const message = configs.get(&#39;conf_Message1&#39;);\n    if (message === &#39;&#39;) {\n        throw new Error(&#39;User Message is empty.&#39;);\n    }\n\n    const {imageFiles, docFiles} = retrieveFiles(); \/\/ Content-Type \u306b\u3088\u308b\u632f\u308a\u5206\u3051\u3068\u3001\u3069\u3061\u3089\u306b\u3082\u8a72\u5f53\u3057\u306a\u3044\u5834\u5408\u306f\u30a8\u30e9\u30fc\n    validateFiles(imageFiles, &#39;image&#39;, MAX_IMAGE_NUM, MAX_IMAGE_SIZE);\n    validateFiles(docFiles, &#39;PDF&#39;, MAX_DOC_NUM, MAX_DOC_SIZE);\n\n    const inlineImages = imageFiles.map(file =&gt; ({\n        image: fileToObj(file)\n    }));\n\n    const inlineDocs = docFiles.map((file, index) =&gt; ({\n        document: {\n            name: `DOC${index}`,\n            ...fileToObj(file)\n        }\n    }));\n\n\n    const userMessage = {\n        role: &#39;user&#39;,\n        content: [\n            {\n                text: message\n            },\n            ...inlineImages,\n            ...inlineDocs\n        ]\n    };\n    return userMessage;\n\n};\n\n\/**\n * config \u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u51fa\u3057\u3001\u753b\u50cf\u3068 PDF \u306b\u632f\u308a\u5206\u3051\u308b\n * \u4ee5\u4e0b\u306e\u5834\u5408\u306f\u30a8\u30e9\u30fc\n * - Content-Type \u304c\u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\n * @returns {Array&lt;Qfile&gt;, Array&lt;Qfile&gt;} \u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u914d\u5217\n *\/\nconst retrieveFiles = () =&gt; {\n    const imageFiles = [];\n    const docFiles = [];\n\n    const filesDef = configs.getObject(&#39;conf_Images1&#39;);\n    if (filesDef === null) {\n        return {imageFiles, docFiles};\n    }\n    const files = engine.findData(filesDef);\n    if (files === null) {\n        return {imageFiles, docFiles};\n    }\n\n    files.forEach(file =&gt; {\n\n        const contentType = file.getContentType().split(&#39;;&#39;)[0];\n\n        if (ALLOWED_MEDIA_TYPES.includes(contentType)){\n            imageFiles.push(file);\n        } else if (ALLOWED_DOCUMENT_TYPES.includes(contentType)){\n            docFiles.push(file);\n        } else {\n            throw new Error(`Content-Type of the attached file &quot;${file.getName()}&quot; is not allowed.`);\n        }\n    });\n\n    return {imageFiles, docFiles};\n};\n\n\/**\n * \u632f\u308a\u5206\u3051\u3089\u308c\u305f\u753b\u50cf\u914d\u5217\u3068 PDF \u914d\u5217\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\n * \u4ee5\u4e0b\u306e\u5834\u5408\u306f\u30a8\u30e9\u30fc\n * - \u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u7dcf\u6570\u304c\u591a\u3059\u304e\u308b\u5834\u5408\n * - \u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u5927\u304d\u3059\u304e\u308b\u5834\u5408\n * @param {Array&lt;Qfile&gt;} \u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u914d\u5217\n * @param errorLabel\n * @param maxNum\n * @param maxSize\n *\/\nconst validateFiles = (files, errorLabel, maxNum, maxSize) =&gt; {\n\n    if (files.length &gt; maxNum) {\n        throw new Error(`Too many ${errorLabel}s attached. The maximum number is ${maxNum}.`);\n    }\n\n    files.forEach(file =&gt; {\n\n        if (file.getLength() &gt; maxSize) {\n            throw new Error(`Attached ${errorLabel} file &quot;${file.getName()}&quot; is too large. The maximum size is ${maxSize} bytes.`);\n        }\n    });\n\n}\n\n\/**\n * \u632f\u308a\u5206\u3051\u3089\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u914d\u5217\u304b\u3089 inline \u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u5fc5\u8981\u306a source, format \u3092\u8aad\u307f\u51fa\u3059\uff08\u753b\u50cf\u3001PDF \u5171\u901a\u90e8\u5206\uff09\n * @param {Qfile} file  \u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\n *\/\nconst fileToObj = file =&gt; ({\n    format : file.getContentType().split(&#39;\/&#39;)[1],\n    source: {\n        bytes: base64.encodeToString(fileRepository.readFile(file))\n    }\n});\n\n\n\/**\n * \u30e2\u30c7\u30eb\u306e\u5b9f\u884c\n * @param awsKey\n * @param awsSecret\n * @param region\n * @param model\n * @param maxTokens\n * @param enableThinking\n * @param budgetTokens\n * @param enableAdaptiveThinking\n * @param effort\n * @param temperature\n * @param stopSequences\n * @param systemPrompt\n * @param userMessage\n * @returns {String} answer\n *\/\nconst converse = (\n    awsKey,\n    awsSecret,\n    region,\n    model,\n    maxTokens,\n    enableThinking,\n    budgetTokens,\n    enableAdaptiveThinking,\n    effort,\n    temperature,\n    stopSequences,\n    systemPrompt,\n    userMessage\n) =&gt; {\n    const URL = `https:\/\/bedrock-runtime.${region}.amazonaws.com\/model\/${model}\/converse`;\n    const payload = {\n        anthropic_version: ANTHROPIC_VERSION,\n        inferenceConfig: {\n            maxTokens,\n            stopSequences,\n            temperature\n        },\n\n        messages: [userMessage]\n    };\n\n    if (enableThinking) {\n        Object.assign(payload, {\n            additionalModelRequestFields: {\n                thinking: {\n                    type: &#39;enabled&#39;,\n                    budget_tokens: budgetTokens\n                }\n            }\n        });\n    }\n\n    if (enableAdaptiveThinking) {\n        Object.assign(payload, {\n            additionalModelRequestFields: {\n                thinking: {\n                    type: &#39;adaptive&#39;\n                }\n            }\n        });\n    }\n\n    if (effort !== null && effort !== &#39;&#39;) {\n        if (payload.additionalModelRequestFields === undefined) {\n            payload.additionalModelRequestFields = {};\n        }\n        Object.assign(payload.additionalModelRequestFields, {\n            anthropic_beta: [&#39;effort-2025-11-24&#39;], \/\/ 4.5 \u7cfb\u306e\u30e2\u30c7\u30eb\u3067\u5fc5\u8981\n            output_config: {effort}\n        });\n    }\n\n    if (systemPrompt !== &#39;&#39;) {\n        Object.assign(payload, {\n            system: [\n                {text :`${systemPrompt}`}\n            ]\n        });\n    }\n\n\n    const response = httpClient.begin()\n        .awsSignV4(awsKey, awsSecret, region, SERVICE)\n        .body(JSON.stringify(payload), &#39;application\/json&#39;)\n        .post(URL);\n\n    const status = response.getStatusCode();\n    const respTxt = response.getResponseAsString();\n    if (status !== 200) {\n        engine.log(respTxt);\n        throw new Error(`Failed to converse. status: ${status}`);\n    }\n    const {output, stopReason, usage} = JSON.parse(respTxt);\n    const reasoningContentItem = output.message.content.find(content =&gt; content.reasoningContent !== undefined);\n    const reasoningText = reasoningContentItem?.reasoningContent?.reasoningText?.text;\n    if (reasoningText !== undefined) {\n        engine.log(`Thinking: ${reasoningText}`);\n    }\n    engine.log(`Stop Reason: ${stopReason}`);\n    engine.log(`Input Tokens: ${usage.inputTokens}`);\n    engine.log(`Output Tokens: ${usage.outputTokens}`);\n\n    \/\/ text \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6301\u3064 content \u3092\u3059\u3079\u3066\u9023\u7d50\u3057\u3066\u56de\u7b54\u3068\u3059\u308b\n    const answer1 = output.message.content\n        .filter(content =&gt; content.text !== undefined)\n        .map(content =&gt; content.text)\n        .join(&#39;&#39;);\n    if (answer1 === null || answer1.trim() === &#39;&#39;) {\n        throw new Error(`No response content generated. Stop Reason: ${stopReason}`);\n    }\n    return answer1;\n};\n\n\/**\n * \u30c7\u30fc\u30bf\u9805\u76ee\u3078\u306e\u4fdd\u5b58\n * @param configName\n * @param data\n *\/\nconst saveData = (configName, data) =&gt; {\n    const def = configs.getObject(configName);\n    if (def === null) {\n        return;\n    }\n    engine.setData(def, data);\n};\n\n        <\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This item sends a message to an Anthropic Claude model on Amazon Bedrock and stores the response in the specified data item.<\/p>\n","protected":false},"author":17,"featured_media":155421,"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_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_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":[],"faq_section":[],"class_list":["post-155268","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bpmn-icons"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.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":1,"uagb_excerpt":"This item sends a message to an Anthropic Claude model on Amazon Bedrock and stores the response in the specified data item.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-Eok","jetpack-related-posts":[{"id":172697,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-ai-agent\/","url_meta":{"origin":155268,"position":0},"title":"AI Agent","author":"Tomoatsu Horibe","date":"2025-04-25","format":false,"excerpt":"This item is an automated process in which AI reads, analyzes, and processes data based on your instructions. By setting data permissions, you can control which Data Items the AI is allowed to read or modify.","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\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":175598,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/ai-service-comparison\/","url_meta":{"origin":155268,"position":1},"title":"Comparison and Utilization Guide for Generative AI Automation Items","author":"komatsuquestetra","date":"2025-09-08","format":false,"excerpt":"We will explain the features of AI Auto-steps and how to use them.","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\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":155275,"url":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/service-task-aws-bedrock-anthropic-claude-chat\/","url_meta":{"origin":155268,"position":2},"title":"Amazon Bedrock: Anthropic Claude: \u30c1\u30e3\u30c3\u30c8","author":"Shiho Tatsumi","date":"2026-05-01","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001Amazon Bedrock \u4e0a\u3067\u52d5\u4f5c\u3059\u308b Anthropic Claude \u306e\u30e2\u30c7\u30eb\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3057\u3001\u56de\u7b54\u3092\u30c7\u30fc\u30bf\u9805\u76ee\u306b\u4fdd\u5b58\u3057\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\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":172530,"url":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/service-task-ai-agent\/","url_meta":{"origin":155268,"position":3},"title":"AI \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8","author":"Tomoatsu Horibe","date":"2025-04-25","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001AI \u304c\u6307\u793a\u306e\u5185\u5bb9\u306b\u57fa\u3065\u304d\u3001\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f\u30fb\u5206\u6790\u30fb\u52a0\u5de5\u3092\u884c\u3046\u81ea\u52d5\u51e6\u7406\u5de5\u7a0b\u3067\u3059\u3002\u30c7\u30fc\u30bf\u306e\u7de8\u96c6\u53ef\u5426\u8a2d\u5b9a\u306b\u3088\u308a\u3001\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u9805\u76ee\u306e\u307f\u306b\u3001AI \u306b\u3088\u308b\u8aad\u307f\u53d6\u308a\u3084\u5909\u66f4\u3092\u8a31\u53ef\u3067\u304d\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\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/04\/bpmn-icon-service-task-ai-agent.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":175147,"url":"https:\/\/support.questetra.com\/ja\/developer-blog\/ai-service-comparison\/","url_meta":{"origin":155268,"position":4},"title":"\u751f\u6210 AI \u81ea\u52d5\u5de5\u7a0b\u306e\u6bd4\u8f03\u3068\u6d3b\u7528\u30ac\u30a4\u30c9","author":"komatsuquestetra","date":"2025-08-13","format":false,"excerpt":"AI \u81ea\u52d5\u5de5\u7a0b\u306e\u7279\u5fb4\u3068\u4f7f\u3044\u5206\u3051\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/ja\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":191680,"url":"https:\/\/support.questetra.com\/ja\/developer-blog\/mcp-setting-claude\/","url_meta":{"origin":155268,"position":5},"title":"Claude \u3068 Questetra BPM Suite \u3092 MCP \u3067\u3064\u306a\u3050","author":"kobayashi","date":"2026-07-30","format":false,"excerpt":"Claude\u3092 MCP \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u3057\u3066\u5229\u7528\u3057\u3001Questetra BPM Suite \u306e MCP \u30b5\u30fc\u30d0\u3078\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u624b\u9806\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/ja\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/07\/connecting-claude-and-questetra_jp.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/07\/connecting-claude-and-questetra_jp.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/07\/connecting-claude-and-questetra_jp.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/07\/connecting-claude-and-questetra_jp.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/07\/connecting-claude-and-questetra_jp.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\/2023\/12\/bpmn-icon-service-task-aws.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/155268","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=155268"}],"version-history":[{"count":19,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/155268\/revisions"}],"predecessor-version":[{"id":183781,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/155268\/revisions\/183781"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/155421"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=155268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=155268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=155268"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=155268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}