title: Google Sheets to Slack fails to update the same block
body: <p>I am trying to figure out how to update the same block in slack when a user interacts with a button. Currently I am able to create a new block message in Slack after user interacts with the button, but I want to update the original message.</p>
  <p>This is my function to send the initial block:</p>
  <pre><code>function Send(){
    var url = &quot;This is my slack url&quot;
    var payload = 
      {
      &quot;blocks&quot;: [
          {
              &quot;type&quot;: &quot;actions&quot;,
              &quot;elements&quot;: [
                  {
                      &quot;type&quot;: &quot;button&quot;,
                      &quot;text&quot;: {
                          &quot;type&quot;: &quot;plain_text&quot;,
                          &quot;text&quot;: &quot;Click Me&quot;,
                          &quot;emoji&quot;: true
                      },
                      &quot;value&quot;: &quot;click_me_123&quot;,
                      &quot;action_id&quot;: &quot;actionId-0&quot;
                  }
              ]
          }
      ]
  }
  
  var options = {
      &quot;method&quot;: &quot;post&quot;,
      &quot;contentType&quot;: &quot;application/json&quot;,
      &quot;payload&quot;: JSON.stringify(payload)
    };
  
  UrlFetchApp.fetch(url,options);
    
  } 
  </code></pre>
  <p>This is my response to user interaction, continuing from the above code:</p>
  <pre><code>function doGet(e){
  return ContentService.createTextOutput(&quot;&quot;); 
  }
  
  function doPost(e) {
  
    if (typeof e !== 'undefined') { 
      
      var url = &quot;Same url I used on my first function&quot;
      
    var payload = 
      {
      &quot;blocks&quot;: [
          {
              &quot;type&quot;: &quot;actions&quot;,
              &quot;elements&quot;: [
                  {
                      &quot;type&quot;: &quot;button&quot;,
                      &quot;text&quot;: {
                          &quot;type&quot;: &quot;plain_text&quot;,
                          &quot;text&quot;: &quot;Click Me Edited&quot;,
                          &quot;emoji&quot;: true
                      },
                      &quot;value&quot;: &quot;click_me_123&quot;,
                      &quot;action_id&quot;: &quot;actionId-0&quot;
                  }
              ]
          }
      ]
  }
  
  var options = {
      &quot;replace_original&quot; : &quot;true&quot;,
      &quot;method&quot;: &quot;post&quot;,
      &quot;contentType&quot;: &quot;application/json&quot;,
      &quot;payload&quot;: JSON.stringify(payload)
    };
  
  UrlFetchApp.fetch(url,options); 
      
    }
    
  }
  </code></pre>
  <p>Basically I am trying to use &quot;replace_original&quot; as instructed by slack to update the whole block, but it looks like I am not doing it right. Any help would be appreciated.</p>
  <p>Thank you very much.</p>