Replicate line items on new deal in HubSpot and notify with Slack
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Slack. It also calls api.hubapi.com over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Retrieve deals Ids (Edit Fields (Set)): sets 2 fields: deal_id_won, deal_id_created
- Get deal won line items (HTTP Request): calls api.hubapi.com (POST)
- Get batch SKUs from line items (HTTP Request): calls api.hubapi.com (POST)
- Get Batch Product IDs by SKUs (HTTP Request): calls api.hubapi.com (POST)
- Create Batch line items based on productId and associate to deals (HTTP Request): calls api.hubapi.com (POST)
- Slack: uses Slack
Services it uses
HTTP calls to: api.hubapi.com
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 (4)
- Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - Webhook
n8n-nodes-base.webhook
From the author
Replicate Line Items on New Deal in HubSpot Workflow Use Case This workflow solves the problem of manually copying line items from one deal to another in HubSpot, reducing manual work and minimizing errors. What this workflow does - Triggers upon receiving a…