<?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 Add multiple contacts to a deal automatically in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Add-multiple-contacts-to-a-deal-automatically/m-p/858908#M67916</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am sending a form to HubSpot through the API, then using a workflow to create the deal from the form and assign a contact. I have not found a way to automatically assign multiple contacts. I have also looked into using custom code in the workflow to grab the contacts from a matching contact email (from the form) to assign to a deal, but I have not had any luck. Is there a better way to automatically add multiple contacts to a deal?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 16:11:56 GMT</pubDate>
    <dc:creator>LLDev</dc:creator>
    <dc:date>2023-10-03T16:11:56Z</dc:date>
    <item>
      <title>Add multiple contacts to a deal automatically</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Add-multiple-contacts-to-a-deal-automatically/m-p/858908#M67916</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am sending a form to HubSpot through the API, then using a workflow to create the deal from the form and assign a contact. I have not found a way to automatically assign multiple contacts. I have also looked into using custom code in the workflow to grab the contacts from a matching contact email (from the form) to assign to a deal, but I have not had any luck. Is there a better way to automatically add multiple contacts to a deal?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 16:11:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Add-multiple-contacts-to-a-deal-automatically/m-p/858908#M67916</guid>
      <dc:creator>LLDev</dc:creator>
      <dc:date>2023-10-03T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add multiple contacts to a deal automatically</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Add-multiple-contacts-to-a-deal-automatically/m-p/859244#M67928</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/641575"&gt;@LLDev&lt;/a&gt;,&amp;nbsp;you have a few approaches here:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Manual association (not great)&lt;/LI&gt;
&lt;LI&gt;A tool like &lt;A href="https://ecosystem.hubspot.com/marketplace/apps/productivity/workflow-automation/associations-app-272901" target="_blank" rel="noopener"&gt;Associ8&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Custom coded action (if you have Ops Pro)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For both 2 and 3, you just need a key on the deal workflow to trigger a lookup to associate the contacts.&amp;nbsp; Meaning, I store a key like "Phone Number" on a deal.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My workflow would then be a &lt;STRONG&gt;deal-based&lt;/STRONG&gt;&amp;nbsp;workflow to associate all contacts with a matching Phone Number.&amp;nbsp; If you go the custom-coded action route, you can follow the documentation for the Associations API&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/crm/associations" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 07:21:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Add-multiple-contacts-to-a-deal-automatically/m-p/859244#M67928</guid>
      <dc:creator>Bryantworks</dc:creator>
      <dc:date>2023-10-04T07:21:15Z</dc:date>
    </item>
  </channel>
</rss>

