# Has anyone tried the new HubSpot two way sync?

**URL:** <https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849>\
**Category:** General Discussion\
**Created:** [December 14, 2016, 2:47am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849 "2016-12-14T02:47:08Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 14, 2016, 2:47am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/1 "2016-12-14T02:47:08Z")

</div>

The contacts were fetched from Hubspot to Mautic just fine, but the company records did not. So all the contacts who got synced don’t have companies attached. I did match the fields for companies during the set up, so that shouldn’t be the problem. (I think).  
  
Does the company sync work for you?

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 14, 2016, 2:47am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/2 "2016-12-14T02:47:08Z")

</div>

The contacts were fetched from Hubspot to Mautic just fine, but the company records did not. So all the contacts who got synced don’t have companies attached. I did match the fields for companies during the set up, so that shouldn’t be the problem. (I think).  
Does the company sync work for you?

---

<div class="post-metadata">

**Author:** ![melaby](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@melaby](https://forum.mautic.org/u/melaby)\
**Post date:** [December 14, 2016, 2:04pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/3 "2016-12-14T14:04:30Z")

</div>

Can you tell me how you managed to get the contact sync to work. I setup the hubspot plugin and API but I can’t see anything happening?

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 14, 2016, 3:26pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/4 "2016-12-14T15:26:06Z")

</div>

@melaby I simply followed the setup video Mautic published yesterday. Did you add the cron job for this to work?

---

<div class="post-metadata">

**Author:** ![melaby](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@melaby](https://forum.mautic.org/u/melaby)\
**Post date:** [December 14, 2016, 5:27pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/5 "2016-12-14T17:27:35Z")

</div>

No I didn’t see the video where can I find the link? Does it explain how to setup the Cron job for this as well?

Thanks!

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 14, 2016, 5:57pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/6 "2016-12-14T17:57:02Z")

</div>

Hi @melaby here is the link: [https://www.mautic.org/blog/developer/mautic-2-4-more-integrations-more-sharing/](https://www.mautic.org/blog/developer/mautic-2-4-more-integrations-more-sharing/)  
and yes, it shows the cron job you have to install…

---

<div class="post-metadata">

**Author:** ![melaby](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@melaby](https://forum.mautic.org/u/melaby)\
**Post date:** [December 14, 2016, 6:01pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/7 "2016-12-14T18:01:29Z")

</div>

Thank you so much! I’ll check it out

---

<div class="post-metadata">

**Author:** ![melaby](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@melaby](https://forum.mautic.org/u/melaby)\
**Post date:** [December 15, 2016, 7:04pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/8 "2016-12-15T19:04:38Z")

</div>

I’ve setup the cron job and plugin but I’m not getting two sync. I’ve only been able to create a campaign and push contacts to Hubspot. I thought the new update fixed the 2 way sync. Can someone tell me how to pull from hubspot into mautic?

---

<div class="post-metadata">

**Author:** ![CroDragon](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@CroDragon](https://forum.mautic.org/u/CroDragon)\
**Post date:** [December 16, 2016, 4:15am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/9 "2016-12-16T04:15:30Z")

</div>

Same here. Contacts are getting synced but not companies…

Command to fetch contacts from integration  
Fetch contacts command is starting  
Number of contacts fetched: 3

Fetching companies  
Fetch companies command is starting  
Number of companies fetched: 0

---

<div class="post-metadata">

**Author:** ![CroDragon](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@CroDragon](https://forum.mautic.org/u/CroDragon)\
**Post date:** [December 16, 2016, 5:19am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/10 "2016-12-16T05:19:32Z")

</div>

imautic \> Same exact thing happen for me: it pulled contacts but not companies. Then I went back to the plugin and realized I didn’t map the company fields… Once I did that both contacts and companies are being pulled.  
The remaining issue for me is that the contacts are not assigned to companies in Mautic like they are in HubSpot.  
I’m wondering if I don’t have some critical field mapped or something else…

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 16, 2016, 5:46pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/11 "2016-12-16T17:46:45Z")

</div>

@CroDragon Yeah, I noticed the same thing, companies not being linked to contacts.

---

<div class="post-metadata">

**Author:** ![melaby](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@melaby](https://forum.mautic.org/u/melaby)\
**Post date:** [December 18, 2016, 6:57pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/12 "2016-12-18T18:57:25Z")

</div>

Has anyone input data in Mautic and see the results in Hubspot or vice versa (ex. History or notes…)?

I believe my cron job setting and api is correct because  
I’ve managed to push and pull contacts between the two but no other data so. .

Thanks  
Melaby

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 20, 2016, 1:47am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/13 "2016-12-20T01:47:49Z")

</div>

Can’t say I have tried that. I am just happy that both of my contacts and companies synced over from HubSpot to Mautic. I do hope contacts can be linked to their companies automatically in Mautic though, not sure if that is something I need to set up in Hubspot?

---

<div class="post-metadata">

**Author:** ![Jaheki](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@Jaheki](https://forum.mautic.org/u/Jaheki)\
**Post date:** [January 2, 2017, 8:16am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/14 "2017-01-02T08:16:46Z")

</div>

once you have the api set up and fields mapped you should be good to go.  
if you are using the self hosted mautic you will just need to add the cron job: mautic/app/console mautic:integration:fetchleads --integration=hubspot

---

<div class="post-metadata">

**Author:** ![paulomcguinee](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@paulomcguinee](https://forum.mautic.org/u/paulomcguinee)\
**Post date:** [June 29, 2017, 9:37am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/15 "2017-06-29T09:37:50Z")

</div>

Hi All, I am posting here as there is not much info on the web regarding problems with Hubspot contact sync so this seems to be a good place to start for help.

I have setup several instances of Mautic for different clients but Hubspot Sync never works, I believe that the cron job is running as it reports it has fetched 0 contacts after each run.

I have mapped the important fields (but not everything - there is so many that are irrelevant) but no contacts that are in the Hubspot CRMS’s ever find their way to Mautic.

Are there any error logs I could check, any suggestions? Config… etc. This is the final piece of the puzzle for me to get up and running with Mautic.

---

<div class="post-metadata">

**Author:** ![sergio-bolinches](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sergio-bolinches](https://forum.mautic.org/u/sergio-bolinches)\
**Post date:** [October 2, 2017, 8:58am UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/16 "2017-10-02T08:58:04Z")

</div>

I can not synchronize the contacts added from HubSpot to Mautic. Both Cron tasks respond the same ( The “–integration” option requires a value.)

The other way (Mautic \> HubSpot) is very easy to do with a campaign… but If I change any data of one of my leads this dont be updated because Mautic use a Campaign to do this.

This is that i receive in my directory Log when I try to syncrhonize HubsPot with Mautic

[code][SymfonyComponentConsoleExceptionRuntimeException]  
The “–integration” option requires a value.

mautic:integration:fetchleads [-i|–integration INTEGRATION] [-d|–start-date START-DATE] [-t|–end-date END-DATE] [–fetch-all] [-a|–time-interval [TIME-INTERVAL]] [-l|–limit [LIMIT]] [-f|–force] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–] [/code]

The Cron Tasks that I use are:

`mautic:integration:pushleadactivity --integration= Hubspot
mautic:integration:fetchleads --integration= Hubspot`

---

<div class="post-metadata">

**Author:** ![sergio-bolinches](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sergio-bolinches](https://forum.mautic.org/u/sergio-bolinches)\
**Post date:** [October 2, 2017, 2:39pm UTC](https://forum.mautic.org/t/has-anyone-tried-the-new-hubspot-two-way-sync/6849/17 "2017-10-02T14:39:40Z")

</div>

I solved the problem deleting the white space between “integration= Hubspot”

So, all works fine when the Cron tasks were the next:

`mautic:integration:pushleadactivity --integration=Hubspot
mautic:integration:fetchleads --integration=Hubspot`
