Create Asana projects and Google Drive folders from new HubSpot deals
Ready for 3.0What this workflow does
This workflow has 25 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Asana, Gmail, HubSpot and Google Drive.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set configuration (Edit Fields (Set)): sets 4 fields: hubspotClientSecret, googleDriveId, clientsParentFolderId…
- Verify HubSpot signature (Code): runs custom JavaScript code
- Check signature (If): checks a condition and branches into true / false
- Get deal (HubSpot): get (deal)
- Get deal owner (HTTP Request): calls an HTTP API
- Check company exists (If): checks a condition and branches into true / false
- Get company (HubSpot): get (company)
- Email deal owner - no company (Gmail): uses Gmail
- Set deal and company fields (Edit Fields (Set)): sets 3 fields: DealName, CompanyName, Company_google_drive_folder_id
- Check company folder (If): checks a condition and branches into true / false
…plus 14 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Asana
n8n-nodes-base.asana - Gmail
n8n-nodes-base.gmail - HubSpot
n8n-nodes-base.hubspot - If
n8n-nodes-base.if - Google Drive
n8n-nodes-base.googleDrive - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code
From the author
Quick overview This workflow listens for new HubSpot deal webhooks, verifies the request, then creates an Asana project from a template and a Google Drive folder structure for the deal, writes the links back to HubSpot, and emails the deal owner. How it works…