Create Google Drive folders on a schedule

Recipe ToolsMarketingDocument/FileSales Enablement

What it does

When a scheduled trigger fires every 5 minutes, this automation searches Google Drive for folders matching a company name. If none exist, it creates a complete folder structure with subfolders for engagement, consultant draft, final archive, and final deliverable.

Who it's for

Operations teams who need to set up Google Drive folder structures automatically without manual creation.

How teams use this

Organize client deliverables by folder

Create a folder tree for each new client engagement with separate spaces for drafts, final work, and archives. The structure is consistent across all clients and ready for file uploads.

Sync folder paths to project management

After folders are created, send the link to a project management tool so the team can access deliverables from one place. Only the downstream app changes.

Set permissions on each subfolder

Add a step that sets folder permissions or shares subfolders with specific team members based on their role. This requires including permission rules for each subfolder.

Filter folders by engagement status

Only create folder structures for engagements marked as active in a lookup table. This requires checking the engagement status before creating folders.

How it works

  1. Run on a 5-minute schedule. This automation starts every 5 minutes so folder structures are created as soon as they are needed.
  2. Search for existing folders. Search Google Drive for folders matching the company name to avoid creating duplicate folder structures.
  3. Create the folder structure. When no folders exist, create a company folder and add subfolders for engagement, consultant draft, final archive, and final deliverable in Google Drive.
  4. Store the folder link. Save the new folder link to a lookup table so other automations can find and reference the folder path for file uploads.
  5. Notify downstream automations. Publish a message so other automations know the folder structure is ready and can proceed with organizing or uploading files.