<?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: Merge certain deals automatically? in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/608094#M786</link>
    <description>&lt;P&gt;Hi Dominik,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you send your contacts to lemlist ?&lt;BR /&gt;Lemlist can leverage custom variables for contacts, maybe that's how you want to pass a deal_id to lemlist, so you can get it back later on once the other deal is created by Lemlist on Hubspot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I found this option :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMeert_0-1649166266601.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/63207iF255B0935BB7AD5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMeert_0-1649166266601.png" alt="LMeert_0-1649166266601.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm no Lemlist expert but this looks like an opportunity to create a deal pipeline dedicated for all the deals that come back from lemlist (and will have to be merged to an existing deal).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think your idea of using a naming convention to merge both deals together should work if there's no human input inbetween, and if you have a security based on the deal stage that would help you secure your workflow even more.&lt;BR /&gt;&lt;BR /&gt;You'd make a search on the deals filtering on a specific pipeline as well as a specific name (using the search endpoint and filtergroups), and then merge both together.&lt;BR /&gt;&lt;BR /&gt;Also, I don't have access to this feature but you can apparently make an API call with lemlist as part of a sequence. This could make it easier to sync data back to Hubspot if you make a custom call rather than relying on the native integration with Hubspot.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ludwig&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 14:00:09 GMT</pubDate>
    <dc:creator>LMeert</dc:creator>
    <dc:date>2022-04-05T14:00:09Z</dc:date>
    <item>
      <title>Merge certain deals automatically?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/599609#M761</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I’m trying to merge certain deals automatically. Through regular workflows this is not possible but maybe through the custom code module that the operations hub offers. Maybe some more context:&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;For easier tracking, I’m creating a deal for all outbound leads that our business dev team is reaching out to. The pipeline has different stages such as:&lt;BR /&gt;- In progress&lt;BR /&gt;- Opened&lt;BR /&gt;- Replied&lt;BR /&gt;- Meeting scheduled (closed won)&lt;BR /&gt;- Not qualified (closed lost)&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The outreach is done via a third-party tool (lemlist).&lt;/LI&gt;&lt;LI&gt;As soon as the lead replies i can see that in lemlist and the status there changes.&lt;/LI&gt;&lt;LI&gt;It then creates a new deal (the native integration options of lemlist &amp;gt; hubspot are very limited) in hubspot&lt;/LI&gt;&lt;LI&gt;Obviously I have 2 deals now in my pipeline. One is the original one I’ve created based on the upload and the other one is the one coming from lemlist (step 4). Ideally, i would merge the 2 deals&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;I’m aware that the main challenge would be to identify the right deals as the unique ID in hubspot for a deal is the deal ID as far as I know. So how would we map the 2 deals together? I thought that we maybe could use the deal name as an identifier and establish a token based naming convention (company url f.e.) and use a “merge IF” function (if deal name is “...“, merge).&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Best,&lt;BR /&gt;Dominik&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Mar 2022 20:54:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/599609#M761</guid>
      <dc:creator>DZgliński</dc:creator>
      <dc:date>2022-03-22T20:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Merge certain deals automatically?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/608094#M786</link>
      <description>&lt;P&gt;Hi Dominik,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you send your contacts to lemlist ?&lt;BR /&gt;Lemlist can leverage custom variables for contacts, maybe that's how you want to pass a deal_id to lemlist, so you can get it back later on once the other deal is created by Lemlist on Hubspot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I found this option :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMeert_0-1649166266601.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/63207iF255B0935BB7AD5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMeert_0-1649166266601.png" alt="LMeert_0-1649166266601.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm no Lemlist expert but this looks like an opportunity to create a deal pipeline dedicated for all the deals that come back from lemlist (and will have to be merged to an existing deal).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think your idea of using a naming convention to merge both deals together should work if there's no human input inbetween, and if you have a security based on the deal stage that would help you secure your workflow even more.&lt;BR /&gt;&lt;BR /&gt;You'd make a search on the deals filtering on a specific pipeline as well as a specific name (using the search endpoint and filtergroups), and then merge both together.&lt;BR /&gt;&lt;BR /&gt;Also, I don't have access to this feature but you can apparently make an API call with lemlist as part of a sequence. This could make it easier to sync data back to Hubspot if you make a custom call rather than relying on the native integration with Hubspot.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ludwig&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:00:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/608094#M786</guid>
      <dc:creator>LMeert</dc:creator>
      <dc:date>2022-04-05T14:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Merge certain deals automatically?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/616203#M822</link>
      <description>&lt;P&gt;The best long-term solution would be to...&lt;/P&gt;&lt;P&gt;1) Not rely on the native connector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) When you create your deal, collect the resulting deal_id and pass this as a custom property on the lead object that's sent to Lemlist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Create a new HubSpot lambda. This is a function/script that can accept data passed to it and process things in HubSpot. When you create it, HubSpot will give you a URL for where this lives. When this lambda accepts data, from Lemlist ( see step 4), you'll look at the event, and deal_id that was passed in as part the lead information. Now that you have the deal_id, you'll update the deal by changing the deal stage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) In lemlist, create a webhook (&lt;A href="https://developer.lemlist.com/#list-all-hooks" target="_blank"&gt;https://developer.lemlist.com/#list-all-hooks&lt;/A&gt;). When a Lemlist event occurs, it will send the event and associated data to the webhook URL specified. Use the URL of the lambda you made above as this webhook URL&lt;/P&gt;</description>
      <pubDate>Sat, 16 Apr 2022 13:24:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/616203#M822</guid>
      <dc:creator>tfoston01</dc:creator>
      <dc:date>2022-04-16T13:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Merge certain deals automatically?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/843728#M1772</link>
      <description>&lt;P&gt;I'm having the same problem. Lemlist through its native connection to HubSpot is creating duplicate deals every time a contact clicks on a link.&lt;/P&gt;&lt;P&gt;Can I create a workflow in HubSpot that merges deals where the stage, pipeline and name are the same?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 15:37:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/843728#M1772</guid>
      <dc:creator>JRyan-Leela</dc:creator>
      <dc:date>2023-09-01T15:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merge certain deals automatically?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/1153325#M3044</link>
      <description>&lt;P&gt;Our HubSpot App &lt;A href="https://koalify.io/" target="_blank" rel="noopener"&gt;Koalify&lt;/A&gt;, can automatically merge deals via HubSpot workflows!&lt;/P&gt;
&lt;P&gt;You have full control over which deals get enrolled and merged.&lt;/P&gt;
&lt;P&gt;You can read the &lt;A href="https://koalify.io/blog/how-to-merge-deals-in-hubspot-manual-or-in-bulk#bulk-merge-hubspot-deals-koalify-workflow" target="_blank" rel="noopener"&gt;full guide on automatically merging duplicate deals here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is how it looks like!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hope this helps other users who are looking for a solution to auto merge deals as well!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Enroll Deals in the workflow for bulk merging.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/146187iE64ED31876C6A260/image-size/large?v=v2&amp;amp;px=999" role="button" title="Enroll Deals in the workflow for bulk merging.png" alt="Enroll Deals in the workflow for bulk merging.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 11:50:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Merge-certain-deals-automatically/m-p/1153325#M3044</guid>
      <dc:creator>Jonas_De_Mets</dc:creator>
      <dc:date>2025-05-16T11:50:52Z</dc:date>
    </item>
  </channel>
</rss>

