HubSpot logo
Google Drive logo

Workflow template

Create Google Drive folders for new HubSpot contacts

Create an empty Google Drive folder for each new HubSpot contact. Name it with the HubSpot portal and contact IDs, inside your selected parent folder or My Drive.

How it works

From a contact creation event to an empty document folder

1 Trigger · 1 Action
HubSpot1 · Trigger

Contact Creation

Receive contact.creation events after activation. Use portalId and objectId from the event; names and email addresses are not included in this creation payload.

Google Drive2 · Action

Create contact document folder

Create an empty folder named HubSpot {portal ID} - Contact {contact ID}. Place it under the optional selected parent, or in My Drive if no parent is chosen.

The result

An ID-labelled folder ready for contact documents

Example HubSpot document folder

HubSpot 123456 - Contact 600001

Type: Empty Google Drive folder Location: Your selected parent, or My Drive when no parent is selected Name source: HubSpot portal ID and contact record ID

Fictional contact-created event. The workflow does not copy documents, attach the folder to the CRM record or invite the contact. Access follows the destination folder.

Before activation

Set up your workflow

  1. Connect the HubSpot account

    Select the account whose Contact Creation events should create folders. Only events received after activation are processed; there is no existing-contact import.

  2. Choose the Drive parent location

    Connect Google Drive and optionally browse to a writable parent folder. Without a parent, folders are created in My Drive. Review its access and retain both IDs in the prepared folder name.

  3. Create a fictional contact and inspect the folder

    Activate, create one fictional HubSpot contact and check the new empty folder’s name and location. Compare its portal and contact IDs with the event; do not expect a CRM attachment or returned folder link.

Details and limitations
  • Names use two CRM identifiers. The folder name includes the portal ID and contact ID so records from different HubSpot accounts remain distinguishable. The creation webhook does not provide a contact name or email to use instead.

  • This creates an empty folder only. No documents are copied, no link is attached to HubSpot and the contact is not invited. There is no sharing-permission action; access follows the chosen Drive destination.

  • Folder creation is not CRM synchronization. Existing contacts, later property edits, merges and deletions are not synchronized. No existing-folder lookup is included, and manually rerunning an event can create another folder with the same name.

Questions about this template

Why is the folder named with IDs instead of the contact’s name?

The creation webhook provides portalId and objectId, not the contact’s full profile. The prepared name uses both IDs to distinguish contacts across HubSpot accounts.

Where does the folder go without a selected parent?

It is created in My Drive. If you choose a parent, the connection needs permission to create folders there. Access follows the destination folder.

Will the contact receive an invitation or a CRM attachment?

No. The workflow only creates an empty Drive folder. It does not invite the person, copy documents, attach the folder to HubSpot or change sharing permissions.

Will a rerun reuse the existing folder?

No existing-folder lookup is included. A manual rerun can create another folder with the same name. Later contact edits, merges and deletions do not synchronize folders.

Explore connected apps