<?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: Updating one property for many (many) contacts in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832157#M66321</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/580017"&gt;@MichaelBrock&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a really interesting use case! I did a bit of thinking and one option I think you could consider is to leverage the &lt;A href="https://developers.hubspot.com/docs/api/crm/imports" target="_blank" rel="noopener"&gt;CRM Import API&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This allows you to import a CSV or XLSX file programmatically into HubSpot to create, update (or create and update) records in the CRM. The benefit of using this versus the traditional CRM APIs for those operations is that you can include much more data in your request and get around some of the issues you are facing with batching. You can import up to 80,000,000 rows per day however each individual import file is limited to&amp;nbsp;1,048,576&amp;nbsp;rows or 512 MB, whichever is reached first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other option to look into (and I'm really thinking off the cuff here...) is to look at using multiple different access tokens so that you could run batch operations in parallel. For instance if you had 5 private apps, each would have their own independent API limits which means you could update 500 contacts in one go (5 unique requests to the Batch endpoint).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing is for sure though - I'd also strongly advise against going down the route of an undocumented solution as from experience there is no guarantee it'll work that way forever and when that happens you'll be right back to square one and arguably in a worse situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this is in some way helpful and wish you the very best of luck on the project moving forward!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 17:17:38 GMT</pubDate>
    <dc:creator>coldrickjack</dc:creator>
    <dc:date>2023-08-09T17:17:38Z</dc:date>
    <item>
      <title>Updating one property for many (many) contacts</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832058#M66315</link>
      <description>&lt;P&gt;We are attempting to use the api to automate the process of sending a weekly sales email.&amp;nbsp; The email body will vary each week with a different set of products for sale.&amp;nbsp;&amp;nbsp;&amp;nbsp; We have been instructed by the individual managing the HubSpot side of things to upload the email body to a property of every single contact and that property will be used for each individual contact's email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This worked fine in the development acount which had only a few 100 contacts.&amp;nbsp; However, the live account has almost 660k contacts.&amp;nbsp;&amp;nbsp; Even updating the contacts in batches&amp;nbsp; takes almost 25 seconds per 100 contacts (maximum batch size).&amp;nbsp;&amp;nbsp; The body of the email being pushed is pretty big.&lt;BR /&gt;&lt;BR /&gt;The site owner and person managing the HubSpot account do not seem inclined to purge the contacts&amp;nbsp; or significantly reduce the size of the payload so we're trying to figure out an alternative.&lt;BR /&gt;&lt;BR /&gt;Does anyone have a suggestion?&amp;nbsp; Is there some other way to use the api to upload an email which can then be sent to all contacts without having to update the property of every single contact?&lt;BR /&gt;&lt;BR /&gt;Is there some un-documented feature of the api that might let us POST the email body&amp;nbsp; but specify multiple contacts without having to have the body in the update of every contact?&amp;nbsp;&amp;nbsp;&amp;nbsp; I tinkered with specifying multiple ids in&amp;nbsp; single POST but that was a wild stab in the dark which did not work.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 15:03:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832058#M66315</guid>
      <dc:creator>MichaelBrock</dc:creator>
      <dc:date>2023-08-09T15:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Updating one property for many (many) contacts</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832157#M66321</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/580017"&gt;@MichaelBrock&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a really interesting use case! I did a bit of thinking and one option I think you could consider is to leverage the &lt;A href="https://developers.hubspot.com/docs/api/crm/imports" target="_blank" rel="noopener"&gt;CRM Import API&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This allows you to import a CSV or XLSX file programmatically into HubSpot to create, update (or create and update) records in the CRM. The benefit of using this versus the traditional CRM APIs for those operations is that you can include much more data in your request and get around some of the issues you are facing with batching. You can import up to 80,000,000 rows per day however each individual import file is limited to&amp;nbsp;1,048,576&amp;nbsp;rows or 512 MB, whichever is reached first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other option to look into (and I'm really thinking off the cuff here...) is to look at using multiple different access tokens so that you could run batch operations in parallel. For instance if you had 5 private apps, each would have their own independent API limits which means you could update 500 contacts in one go (5 unique requests to the Batch endpoint).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing is for sure though - I'd also strongly advise against going down the route of an undocumented solution as from experience there is no guarantee it'll work that way forever and when that happens you'll be right back to square one and arguably in a worse situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this is in some way helpful and wish you the very best of luck on the project moving forward!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 17:17:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832157#M66321</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-08-09T17:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Updating one property for many (many) contacts</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832161#M66322</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp;&amp;nbsp; Those are both good suggestions and I'll look into them. I have made some progress in&amp;nbsp; convincing the site owner to cull their contact list so that might be the way we go, at least until it gets too large again.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 17:25:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832161#M66322</guid>
      <dc:creator>MichaelBrock</dc:creator>
      <dc:date>2023-08-09T17:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Updating one property for many (many) contacts</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832165#M66324</link>
      <description>&lt;P&gt;Glad they helped and also happy to hear the site owner is open to reducing the numbers that'll likely make life easier for you and save them some money in the long run with their HubSpot subscription!!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 17:28:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Updating-one-property-for-many-many-contacts/m-p/832165#M66324</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-08-09T17:28:15Z</dc:date>
    </item>
  </channel>
</rss>

