Delete/Clear Data from Google Sheet via Workflow

Status: Idea Submitted

We are using the Google Sheet integration to populate data automatically on the sheet when the workflow is triggered. We have two separate workflows… One to create the row when the object meets the workflow criteria and one to update the Google sheet data whenever the object has been updated in the past 1 day.

Our specific use case is for Deals. However, there is not a way to remove a row from the Google sheet that I have found. I’d like to add a branch to our Update workflow that if the Deal is Closed Won or Closed Lost, the row that contains the information for that deal is removed from the Google Sheet.

In this case, we’d use the record ID. If the record ID is for a Deal that is closed won or closed lost, delete that row.

The end goal is to have a Google sheet with only Deals that are still open.

UPDATE: I found this.

I believe once the data is in the Google Sheet, you can write an Apps Script that would remove it based on a value in one of the cells. For example, in my use case, if a Deal is marked as Closed Won or Closed lost, I would want the deal to be removed from the sheet. I am going to try it ASAP.

Yes, this has been a very frustrating issue.
HubSpot must find a way.

We need this!! When a deal merges, the old deals no longer exist in HubSpot, but they can’t be removed from our google sheet

Got exactly the same issue now - deal is deleted (eg a dupe), we don’t want it on the sheet