<?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: Importing historic deals with line items in Tips, Tricks &amp; Best Practices</title>
    <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145130#M12580</link>
    <description>&lt;P&gt;Thanks for sharing this helpful workaround!&lt;/P&gt;</description>
    <pubDate>Tue, 06 May 2025 18:19:13 GMT</pubDate>
    <dc:creator>Katrina_Growth</dc:creator>
    <dc:date>2025-05-06T18:19:13Z</dc:date>
    <item>
      <title>Importing historic deals with line items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145128#M12579</link>
      <description>&lt;P&gt;While attempting to import historical deals with associated line items I discovered there isn't a valid Knowledge Base to accomplish this. I did attempt the method described in &lt;A href="https://knowledge.hubspot.com/import-and-export/sample-import-files" target="_blank" rel="noopener"&gt;Sample import files&lt;/A&gt;, but it didn't work. With the help of HubSpot Support, we were able to determine a&amp;nbsp;&lt;EM&gt;new&lt;/EM&gt; way of importing deals&amp;nbsp;&lt;U&gt;with&lt;/U&gt; line items.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why include line items?&lt;/P&gt;&lt;P&gt;Our client wanted to see historical sales data by products&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Initial errors?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Deals and new line items sample spreadsheet&amp;nbsp;(with associated products) :&amp;nbsp;CSV. When importing in one file, you can only import&amp;nbsp;one line item per deal.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Deals and new line items in two files: in these sample files,&amp;nbsp;Deal name&amp;nbsp;is the unique key for the&amp;nbsp;Deal&amp;nbsp;object. When importing in two files, you can import&amp;nbsp;multiple line items per deal.&lt;UL&gt;&lt;LI&gt;Deals sample spreadsheet:&amp;nbsp;CSV.&lt;/LI&gt;&lt;LI&gt;Line items sample spreadsheet&amp;nbsp;(with associated products):&amp;nbsp;CSV.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The one-file method wouldn't work for multiple line items, and the two-file method was not associating the line items to the deals.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the steps I used to successfully import deals with line items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Import deal to line file(see example file)&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;2.&amp;nbsp;Export the deal to line file with the deal 'Record ID'&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;3. Associate the deal 'Record ID' to the deal name in the line to deal file&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;4.&amp;nbsp;On the line to deal file&lt;SPAN&gt;(see example file)&lt;/SPAN&gt;, the 'Product ID' is actually the 'Record ID' of the product, not the SKU OR the Store Product ID&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;5.&amp;nbsp;On the line to deal file, update the 'Term' to the appropriate&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://resources.data.gov/schemas/dcat-us/v1.1/iso8601_guidance/" target="_blank" rel="noopener"&gt;ISO-8601&lt;/A&gt;. Monthly = 'P1M'&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;6.&amp;nbsp;Import the line to deal file as a deal and line item import with ONE list. Remap for line items and deals as needed.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;As an additional note.... the HubSpot provided example of deal to line file DOES NOT include close date or deal owner. These would be very helpful when uploading historical deals.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Enjoy!&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 May 2025 18:15:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145128#M12579</guid>
      <dc:creator>jasongless</dc:creator>
      <dc:date>2025-05-06T18:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Importing historic deals with line items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145130#M12580</link>
      <description>&lt;P&gt;Thanks for sharing this helpful workaround!&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 18:19:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145130#M12580</guid>
      <dc:creator>Katrina_Growth</dc:creator>
      <dc:date>2025-05-06T18:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Importing historic deals with line items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145131#M12581</link>
      <description>&lt;P&gt;Super useful post!&amp;nbsp; Thanks for sharing!&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 18:19:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145131#M12581</guid>
      <dc:creator>trevordjones</dc:creator>
      <dc:date>2025-05-06T18:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Importing historic deals with line items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145489#M12588</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/712837"&gt;@jasongless&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thank you very much! This is great. If you'll come back and leave a comment, I can accept the comment as a solution. It's just a quirk of the system that I cannot accept an OP, only comments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 14:49:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145489#M12588</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-05-07T14:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Importing historic deals with line items</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145663#M12593</link>
      <description>&lt;P&gt;Very helpful, thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/712837"&gt;@jasongless&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 19:18:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Importing-historic-deals-with-line-items/m-p/1145663#M12593</guid>
      <dc:creator>NCull</dc:creator>
      <dc:date>2025-05-07T19:18:51Z</dc:date>
    </item>
  </channel>
</rss>

