Create Google Drive folder for new HubSpot deals

MarketingRecipe ToolsDocument/FileSales Enablement

What it does

When someone updates a deal in HubSpot to Contract Signed or Contract Finalization, this automation creates a folder in Google Drive. The folder name includes the deal stage and owner so documents stay organized.

Who it's for

Sales teams who need a Google Drive folder set up automatically when a deal reaches a closing stage.

How teams use this

Organize closing deals by stage

When a deal moves to Contract Signed, Google Drive creates a folder automatically so the team has a central place to store contracts and closing documents without manual setup.

Route folders to deal owners

Extend this automation to set folder permissions based on the deal owner ID so only that person and their manager can access the folder. Include a step to share the folder with the owner after creation.

Track deal progress in a spreadsheet

Add a Google Sheets row for each new folder so the team can track which deals have folders created and when. This gives visibility into deal readiness without checking Google Drive.

How it works

  1. Monitor deal updates in HubSpot. Listen for updates to a deal in HubSpot and capture the deal stage, owner ID, and deal name so the automation can decide what to do next.
  2. Get pipeline and stage details. Retrieve all pipeline values from HubSpot so the automation can match the deal stage ID to the correct stage label like Contract Signed.
  3. Check closing stage. Verify the deal stage equals Contract Signed or Contract Finalization before proceeding to create the folder in Google Drive.
  4. Look up the deal owner. Read the owner details from HubSpot using the owner ID so the folder can be named or organized by that person.
  5. Create folder in Google Drive. Create a new folder in Google Drive named with the deal stage and owner so documents can be stored and shared by the team.