*Note from the moderator:
This content appears to be created with the help of AI tools and might be of low relevance or could contain incorrect information.
We recommend fact-checking the content.
Please use AI responsibly going forward (see Community Guidelines).
You can automate this process using HubSpot Workflows and Custom Code Actions (if needed).
Here’s how to do it efficiently:
Use a Workflow to Update Line Items
If your SKUs follow a pattern, you can create a workflow to automatically update specific line items after they are added.
Steps:
- Go to HubSpot > Automation > Workflows
- Click Create Workflow > From Scratch
- Select Object Type: Line Item (since you’re modifying line items)
- Set Enrollment Triggers:
- Choose “Line Item SKU” contains X (filter for specific SKUs)
- Add other conditions if needed (e.g., “Deal Stage is X”)
- Set an Action:
- “Set Property Value” → Choose the property you need to update.
- Define the new value (e.g., category, discount, etc.).
- Turn on the Workflow

Limitation: HubSpot’s default workflows for line items are limited in actions (e.g., they can’t use if/then branches for deep customization).
Use a Third-Party Tool Like Make/Zapier
If you’re already using Zapier or Make (Integromat), you can:
- Trigger an action when a line item is added to a deal.
- Check if SKU matches.
- Update the line item using HubSpot API.
Best Practice Recommendation 
Use Workflows if conditions are simple.
Use Custom Code if you need flexibility.
Use Zapier/Make for external automation.
Let me know if you need help with the setup! ![]()