<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Send Web Request - Monday.com - Building JSON body with Monday's GraphQL in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/send-web-request-monday-com-building-json-body/m-p/1686080#M2166</link>
    <description>&lt;P&gt;I am building a workflow that needs to have integration with Monday.com and I'm having trouble building the body of the web request step that I think is due to how Monday's GraphQL-based API translates into the JSON body in Workflow Manager.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Right now I'm able to create an item in Monday and update a single column value using the send request request step in WFM.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;//ITEM CREATION
{
  "query": "mutation CreateItem($board: ID!, $name: String!) { create_item(board_id: $board, item_name: $name) { id } }",
  "variables": {
    "board": "&amp;lt;board_id&amp;gt;",
    "name": Text(JobExtendedProperty($Job, 'portalsurvey', 'untitled_question_1'))
  }
}

//COLUMN UPDATE
{
  "query": "mutation ChangeStatus($board: ID!, $item: ID!, $col: String!, $val: String!) { change_simple_column_value(board_id: $board, item_id: $item, column_id: $col, value: $val) { id } }",
  "variables": {
    "board": "&amp;lt;board_id&amp;gt;",
    "item": JobOutputValue ($Job, '&amp;lt;step_id&amp;gt;', '&amp;lt;output value from create item step&amp;gt;'),
    "col": "&amp;lt;column_id&amp;gt;",
    "val": "Working on it"
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, technically, I should be able to give a new item values or update multiple values per Monday.com's documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;//CREATING A NEW ITEM EXAMPLE
mutation {
  create_item(
    board_id: 1234567890
    group_id: "group_one" 
    item_name: "new item" 
    column_values: "{\"date\":\"2023-05-25\"}"
	) {
    id
  }
}

//UPDATING MULTIPLE COLUMNS EXAMPLE
mutation {
  change_multiple_column_values(
    item_id: 1234567890,
    board_id: 9876543210,
    column_values: "{\"status\":{\"index\":1},\"date4\":{\"date\":\"2021-01-01\"},\"person\":{\"personsAndTeams\":[{\"id\":9603417,\"kind\":\"person\"}]}}"
  ) {
    id
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Workflow Manager, I've tried the following:&lt;/P&gt;&lt;P&gt;1. Writing the query with values inline, such as:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"query": "mutation { create_item(board_id: &amp;lt;board_id&amp;gt;, item_name: \"@{Text(JobExtendedProperty($Job, 'portalsurvey', 'untitled_question_1'))}\", column_values: \"{\\\"&amp;lt;column_id&amp;gt;\\\":\\\"hello\\\"}\") { id } }"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Writing it with variables as I did in my working versions. I tried having the column values variables as JSON! and STRING!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{ 
"query": "mutation CreateItem($board: ID!, $name: String!, $col: JSON!) { create_item(board_id: $board, item_name: $name, column_values: $col) { id } }", 
"variables": { 
"board": "&amp;lt;board_id&amp;gt;", 
"name": "&amp;lt;item_name&amp;gt;", 
"col": "{\"&amp;lt;column_id&amp;gt;\":\"hello\"}" 
} 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both of these are resulting in errors from WFM saying that '&lt;SPAN&gt;Web request failed: Web request body is not valid JSON', 'Unable to Parse JSON', and 'Step failed with error: InvalidArguments'.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm fairly confident that I have the overall syntax correct because when I test the two above web requests in Postman, they work just fine, but it fails when it's in Workflow Manager.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any troubleshooting suggestions or advice is much appreciated!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2026 22:48:11 GMT</pubDate>
    <dc:creator>LECarver_JC</dc:creator>
    <dc:date>2026-02-23T22:48:11Z</dc:date>
    <item>
      <title>Send Web Request - Monday.com - Building JSON body with Monday's GraphQL</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/send-web-request-monday-com-building-json-body/m-p/1686080#M2166</link>
      <description>&lt;P&gt;I am building a workflow that needs to have integration with Monday.com and I'm having trouble building the body of the web request step that I think is due to how Monday's GraphQL-based API translates into the JSON body in Workflow Manager.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Right now I'm able to create an item in Monday and update a single column value using the send request request step in WFM.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;//ITEM CREATION
{
  "query": "mutation CreateItem($board: ID!, $name: String!) { create_item(board_id: $board, item_name: $name) { id } }",
  "variables": {
    "board": "&amp;lt;board_id&amp;gt;",
    "name": Text(JobExtendedProperty($Job, 'portalsurvey', 'untitled_question_1'))
  }
}

//COLUMN UPDATE
{
  "query": "mutation ChangeStatus($board: ID!, $item: ID!, $col: String!, $val: String!) { change_simple_column_value(board_id: $board, item_id: $item, column_id: $col, value: $val) { id } }",
  "variables": {
    "board": "&amp;lt;board_id&amp;gt;",
    "item": JobOutputValue ($Job, '&amp;lt;step_id&amp;gt;', '&amp;lt;output value from create item step&amp;gt;'),
    "col": "&amp;lt;column_id&amp;gt;",
    "val": "Working on it"
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, technically, I should be able to give a new item values or update multiple values per Monday.com's documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;//CREATING A NEW ITEM EXAMPLE
mutation {
  create_item(
    board_id: 1234567890
    group_id: "group_one" 
    item_name: "new item" 
    column_values: "{\"date\":\"2023-05-25\"}"
	) {
    id
  }
}

//UPDATING MULTIPLE COLUMNS EXAMPLE
mutation {
  change_multiple_column_values(
    item_id: 1234567890,
    board_id: 9876543210,
    column_values: "{\"status\":{\"index\":1},\"date4\":{\"date\":\"2021-01-01\"},\"person\":{\"personsAndTeams\":[{\"id\":9603417,\"kind\":\"person\"}]}}"
  ) {
    id
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Workflow Manager, I've tried the following:&lt;/P&gt;&lt;P&gt;1. Writing the query with values inline, such as:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"query": "mutation { create_item(board_id: &amp;lt;board_id&amp;gt;, item_name: \"@{Text(JobExtendedProperty($Job, 'portalsurvey', 'untitled_question_1'))}\", column_values: \"{\\\"&amp;lt;column_id&amp;gt;\\\":\\\"hello\\\"}\") { id } }"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Writing it with variables as I did in my working versions. I tried having the column values variables as JSON! and STRING!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{ 
"query": "mutation CreateItem($board: ID!, $name: String!, $col: JSON!) { create_item(board_id: $board, item_name: $name, column_values: $col) { id } }", 
"variables": { 
"board": "&amp;lt;board_id&amp;gt;", 
"name": "&amp;lt;item_name&amp;gt;", 
"col": "{\"&amp;lt;column_id&amp;gt;\":\"hello\"}" 
} 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both of these are resulting in errors from WFM saying that '&lt;SPAN&gt;Web request failed: Web request body is not valid JSON', 'Unable to Parse JSON', and 'Step failed with error: InvalidArguments'.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm fairly confident that I have the overall syntax correct because when I test the two above web requests in Postman, they work just fine, but it fails when it's in Workflow Manager.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any troubleshooting suggestions or advice is much appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 22:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/send-web-request-monday-com-building-json-body/m-p/1686080#M2166</guid>
      <dc:creator>LECarver_JC</dc:creator>
      <dc:date>2026-02-23T22:48:11Z</dc:date>
    </item>
  </channel>
</rss>

