Set Automate

Used in HubSpot, this automated workflow streamlines the process of copying line items from one deal to another, triggered by webhooks. It retrieves deal IDs, fetches associated line items, extracts product SKUs, and creates new line items for the new deal, significantly reducing manual effort and minimizing errors. Notifications are sent via Slack upon successful completion, enhancing communication and efficiency.

7/8/2025
11 nodes
Medium
webhookmediumslacksticky noteadvancedapiintegrationcommunicationnotification
Categories:
Communication & MessagingWebhook TriggeredMedium Workflow
Integrations:
SlackSticky Note

Target Audience

Target Audience


- Sales Teams: Professionals who need to replicate deal line items efficiently in HubSpot.
- Marketing Teams: Teams looking to streamline their processes and improve communication with sales.
- Business Analysts: Individuals analyzing deal performance and line item data for insights.
- Automation Enthusiasts: Users interested in automating repetitive tasks to save time and reduce errors.

Problem Solved

Problem Solved


This workflow addresses the manual effort required to copy line items from one deal to another in HubSpot, which can lead to errors and inefficiencies. By automating this process, it reduces the risk of mistakes and allows teams to focus on more strategic tasks, ultimately improving productivity and accuracy.

Workflow Steps

Workflow Steps


1. Trigger: The workflow is initiated by a webhook that receives deal IDs when a deal reaches the 'Won' stage.
2. Retrieve Deal IDs: It extracts the IDs of the won and created deals from the incoming webhook data.
3. Fetch Line Items: The workflow makes a request to HubSpot's API to retrieve line items associated with the won deal.
4. Extract SKUs: It processes the line items to extract product SKUs.
5. Get Product Details: The workflow retrieves product information based on the extracted SKUs from HubSpot.
6. Create New Line Items: It creates new line items for the newly created deal and associates them with the deal using the product IDs.
7. Send Notification: Finally, a Slack message is sent to notify the team about the successful replication of line items.

Customization Guide

Customization Guide


- Webhook Configuration: Modify the webhook settings to match your specific trigger conditions in HubSpot.
- API Endpoints: Adjust the API URLs if changes occur in HubSpot's API or if you are using different endpoints.
- Slack Notifications: Customize the Slack message content to include additional details or change the format as needed.
- Deal Properties: Modify the properties used in the line item creation step to match your organization's specific requirements.