<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deal approval &amp;amp; workflow automations with line-items in Tips, Tricks &amp; Best Practices</title>
    <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813469#M5773</link>
    <description>&lt;P&gt;Ho&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/586373"&gt;@Sori&lt;/a&gt;&amp;nbsp;welcome to being a "posting" community member!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well done describing your desired outcomes and current approach so well. That makes it so much easier to help you by knowing what you have tried so far and what you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Zapier, once you have detected a new/modified line item, you can use another &lt;STRONG&gt;Zap HubSpot action&lt;/STRONG&gt; to find the deal associated with that line item. See "&lt;STRONG&gt;Find Associations&lt;/STRONG&gt;:&amp;nbsp;Find associations between objects"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With that deal ID in hand, you can execute the rest of your Zap actions &amp;amp; workflow steps to obtain approval on the deal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Considerations:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A HubSpot line item can only be associated with one deal so you will get a single Deal ID response.&lt;/LI&gt;
&lt;LI&gt;'Occasionally" there will be no associated deal found so the Zap fails. It's rare but I think happens when a line item is created and deleted during the 2mins between when it's created and when Zapier detects that it exists. The Line Item still exists in the API but with no deal and is not in the UI, so I think it's because HubSpot has removed the association.&lt;/LI&gt;
&lt;LI&gt;If the deal flow is urgent, to remove the 2-minute Zapier trigger poll delay you would have to create a HubSpot Public App and trigger from a Webhook for Line Item created or modified. (We are thinking of writing a small public app "DoNow" to do those webhooks for Zapier users who want instant HubSpot triggers - let me know if you're interested and might want to try it)&lt;/LI&gt;
&lt;LI&gt;Beware Zapier costs - triggers can mount up if you have a lot of line items.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Will that help?&lt;/P&gt;
&lt;P&gt;best&lt;/P&gt;
&lt;P&gt;Pete&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2023 08:10:07 GMT</pubDate>
    <dc:creator>HubDoPete</dc:creator>
    <dc:date>2023-06-29T08:10:07Z</dc:date>
    <item>
      <title>Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813162#M5770</link>
      <description>&lt;P&gt;Hi! This is my first post, hence I am sorry if anything is wrong with it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;What we are trying to solve for: We want to have different approval workflows in Hubspot depending on discounts granted by our sales reps on 2 different product offerings. Based on the discount on Product 1 and/or Product 2, whereby the higher discount is decisive, a different approver is assigned (less than 10% nobody, 10%-20% Sales Director of the respective market, above 20% CRO). For that i have created different deal properties (Product 1 Discount, Product 2 Discount) that in a workflow automation capture the data on discount on the specific products from the line items associated with the deal. Based on the higher discount, an approver is attached in the property “Discount Rate Approver” and the status in the property “Discount Approval Status” is set to “Pending”. An e-mail is sent to the approver who has the authority to adjust this field to “Approved”. So far so good. I have created the properties &amp;amp; set up the workflows and it seems to work. BUT I always have to manually enroll the deals into the workflow (by shutting it off and turning it on again, even though re-enrollment is turned on), because workflows do not get triggered by line items.&lt;BR /&gt;As a workaround I have created a deal property called “Line item created or updated” that has a “number” “field type”. I want to set up an automation in Zapier that has the trigger “&lt;SPAN class=""&gt;Line_item Recently Created or Updated in HubSpot”. &lt;/SPAN&gt;Whenever this trigger is pulled, I want the deal to increase the number in the deal property “Line item created or updated” by 1. And I want to include this field in the automations that I have created in Hubspot and in the re-enrollment so that the workflows start automatically, because they are based on deal properties. However, I do not find a way to connect line item information that is retrieved by Zapier to the respective deal. Can you help me with this or do you have an alternative that maybe is faster/better/more efficient?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 15:51:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813162#M5770</guid>
      <dc:creator>Sori</dc:creator>
      <dc:date>2023-06-28T15:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813462#M5771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/586373"&gt;@Sori&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to invite our subject matter experts to this conversation.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9629"&gt;@HubDoPete&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/87451"&gt;@Ben_M&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20261"&gt;@louischausse&lt;/a&gt;&amp;nbsp;- Do you have any automation advice for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/586373"&gt;@Sori&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 07:47:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813462#M5771</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2023-06-29T07:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813463#M5772</link>
      <description>&lt;P&gt;I have now added a new deal property called "Deal value changed" and let it increase by 1 every time a deal value has changed. I have also included it into workflow automations for "Product 1 Discount" &amp;amp; "Product 2 Discount" and in their re-enrollment triggers.&amp;nbsp;&lt;BR /&gt;Seems like this is a workaround, but somehow the automations always trigger delayed.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Like let's say the line item discount on Product 1 is 25% and on Product 2 it is 13%. Now when I change it to being 15% and 5%, respectively, the property values will be "Product 1 Discount" &amp;gt;20% and "Product 2 Discount" &amp;gt;10%. Always 1 step too late.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 07:56:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813463#M5772</guid>
      <dc:creator>Sori</dc:creator>
      <dc:date>2023-06-29T07:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813469#M5773</link>
      <description>&lt;P&gt;Ho&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/586373"&gt;@Sori&lt;/a&gt;&amp;nbsp;welcome to being a "posting" community member!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well done describing your desired outcomes and current approach so well. That makes it so much easier to help you by knowing what you have tried so far and what you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Zapier, once you have detected a new/modified line item, you can use another &lt;STRONG&gt;Zap HubSpot action&lt;/STRONG&gt; to find the deal associated with that line item. See "&lt;STRONG&gt;Find Associations&lt;/STRONG&gt;:&amp;nbsp;Find associations between objects"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With that deal ID in hand, you can execute the rest of your Zap actions &amp;amp; workflow steps to obtain approval on the deal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Considerations:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A HubSpot line item can only be associated with one deal so you will get a single Deal ID response.&lt;/LI&gt;
&lt;LI&gt;'Occasionally" there will be no associated deal found so the Zap fails. It's rare but I think happens when a line item is created and deleted during the 2mins between when it's created and when Zapier detects that it exists. The Line Item still exists in the API but with no deal and is not in the UI, so I think it's because HubSpot has removed the association.&lt;/LI&gt;
&lt;LI&gt;If the deal flow is urgent, to remove the 2-minute Zapier trigger poll delay you would have to create a HubSpot Public App and trigger from a Webhook for Line Item created or modified. (We are thinking of writing a small public app "DoNow" to do those webhooks for Zapier users who want instant HubSpot triggers - let me know if you're interested and might want to try it)&lt;/LI&gt;
&lt;LI&gt;Beware Zapier costs - triggers can mount up if you have a lot of line items.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Will that help?&lt;/P&gt;
&lt;P&gt;best&lt;/P&gt;
&lt;P&gt;Pete&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 08:10:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813469#M5773</guid>
      <dc:creator>HubDoPete</dc:creator>
      <dc:date>2023-06-29T08:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813626#M5778</link>
      <description>&lt;P&gt;Hi Pete,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your quick answer!&lt;BR /&gt;I did not know about the "Find Associations" Action, but sounds good and I have been able to retrieve the Deal ID.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now looking to find the deal seems like an issue, because I truly do not know what to plug in for "&lt;SPAN&gt;First search property name".&amp;nbsp;&lt;BR /&gt;I have tried out a vast amount of "dealID", "deal_ID", "Line Item to Deal", etc. but have not been able to plug in the right name.&amp;nbsp;&lt;BR /&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 12:46:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813626#M5778</guid>
      <dc:creator>Sori</dc:creator>
      <dc:date>2023-06-29T12:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813629#M5779</link>
      <description>&lt;P&gt;And&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9629"&gt;@HubDoPete&lt;/a&gt;&amp;nbsp;would you recommend rather staying in Hubspot and not making use of Zapier for this? If so, does this look like a workaround for you and would you have any idea why it seems to be lagging and how to solve for it?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 12:47:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813629#M5779</guid>
      <dc:creator>Sori</dc:creator>
      <dc:date>2023-06-29T12:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813648#M5780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/586373"&gt;@Sori&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have the deal ID you do not have to search for it.&lt;/P&gt;
&lt;P&gt;Just use that ID as the object ID in any following Zap actions to the deal object&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 13:27:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813648#M5780</guid>
      <dc:creator>HubDoPete</dc:creator>
      <dc:date>2023-06-29T13:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813666#M5781</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/586373"&gt;@Sori&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most Zap triggers have up to a 2-minute delay because Zapier is calling that API every two minutes to see "anything changed?"... "anything changed?"... (it's not notified by HubSpot as a webhook except for a limited number of instant triggers.&lt;/P&gt;
&lt;P&gt;Only a handful of HubSpot triggers are "instant" such as new Contact.&lt;/P&gt;
&lt;P&gt;You can see that indicated on the trigger.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So per your question: if you "can" do everything in HubSpot, great. That is preferred.&lt;/P&gt;
&lt;P&gt;But as you have found, the triggers related to line_items and deals might not do all that you want. Line Items can be monitored and enrol the deal to the workflow, but not repeatedly. And there is no such thing (yet?) as a Line Item Workflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We wrote a HubSpot App called DoPricer, which will be on their app marketplace shortly. It looks up what discount a particular company is supposed to get on each product, and sets the discount on the line item. I mention it only as we had used other tools like Zapier, facing the same sort of problems you are seeing now. Not sure DoPricer solves your problem here though, as you want to escalate for approval. That is maybe a future feature for DoPricer... (thanks for the reminder idea &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, taking your delays into account, you will have a more predictable result if you extend your Zap to also take care of setting the Deal property to the level of approval required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you think you could build the logic in your zap, to look at the line item discount and get the deal's current setting for approval required, then decide what the approval setting should be, and save it back to the deal?&amp;nbsp;You would need to use Zapier branching logic, but it's safer to do it all in a HubSpot Workflow OR in a Zap, but tricky to manage both. What do you think? (I bet you can do it) &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 13:43:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813666#M5781</guid>
      <dc:creator>HubDoPete</dc:creator>
      <dc:date>2023-06-29T13:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813693#M5783</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9629"&gt;@HubDoPete&lt;/a&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Just for my understanding:&amp;nbsp;&lt;BR /&gt;I am trying to increase the value for the deal property "Line item created or updated Tracker" by 1 then every time.&amp;nbsp;&lt;BR /&gt;To do so, wouldn't I need to plug in some kind of calculation into Zapier like&amp;nbsp;&lt;SPAN&gt;{{step_4_field_line_item_created_or_updated + 1}} and hence need the info on the current value of the field?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 14:24:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813693#M5783</guid>
      <dc:creator>Sori</dc:creator>
      <dc:date>2023-06-29T14:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Deal approval &amp; workflow automations with line-items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813709#M5784</link>
      <description>&lt;P&gt;Hi Sori,&lt;/P&gt;
&lt;P&gt;Yes you need to read that counter property from the deal, then take another Zapier action to increment it, along with anything else you need to prepare to save back to the deal. Zapier Formatter action has Math Operations. You could use that to increment the current value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 15:02:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Deal-approval-amp-workflow-automations-with-line-items/m-p/813709#M5784</guid>
      <dc:creator>HubDoPete</dc:creator>
      <dc:date>2023-06-29T15:02:57Z</dc:date>
    </item>
  </channel>
</rss>

