# Mautic and SuiteCRM

**URL:** <https://forum.mautic.org/t/mautic-and-suitecrm/9006>\
**Category:** Product Support\
**Created:** [July 20, 2017, 4:39pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006 "2017-07-20T16:39:26Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyndon](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lyndon](https://forum.mautic.org/u/lyndon)\
**Post date:** [July 20, 2017, 4:39pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/1 "2017-07-20T16:39:26Z")

</div>

I’ve just discovered Mautic - so first off, excellent work guys.  
  
  
  
We use SuiteCRM and I’m keen to hook these two great apps together. I notice a built in plugin for SugarCRM which having read for an hour or so I’ve managed to connect by;

- creating key/secret in Suite in oauth  
- enabling plugin in Mautic and adding credentials (using Sugar 6.x option)  
  
  
  
After much digging I’ve found the need to ping or cron the following to get things moving  
  
  
  
./console mautic:integration:fetchleads --integration=Sugarcrm  
  
  
  
I’d like to only focus, (initially) on contact (not organisations or leads). I have around 2000 contacts in lists in the CRM that I would like to sync (2 way ideally) with mautic and create segments, campaigns etc.  
  
  
  
It seems that I’m unable to;  
- Get any contacts from CRM down into Mautic using this plugin  
- Get newly created contacts in Mautic (manually created for test purposes) to go up to CRM  
  
  
  
In testing I enabled ‘leads’ in the integration and managed to push a test lead from mautic to CRM, but all of the contact details were blank.  
  
  
  
QUESTION - How can I get the ‘contacts’ in SuiteCRM down to mautic? I don’t want to export/import as when the integration is working better I don’t want a duplicated mess. If anyone can help, please let me know how.  
  
  
  
Thank you!

---

<div class="post-metadata">

**Author:** ![lyndon](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lyndon](https://forum.mautic.org/u/lyndon)\
**Post date:** [July 20, 2017, 4:39pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/2 "2017-07-20T16:39:26Z")

</div>

I’ve just discovered Mautic - so first off, excellent work guys.

We use SuiteCRM and I’m keen to hook these two great apps together. I notice a built in plugin for SugarCRM which having read for an hour or so I’ve managed to connect by;

- creating key/secret in Suite in oauth
- enabling plugin in Mautic and adding credentials (using Sugar 6.x option)

After much digging I’ve found the need to ping or cron the following to get things moving

./console mautic:integration:fetchleads --integration=Sugarcrm

I’d like to only focus, (initially) on contact (not organisations or leads). I have around 2000 contacts in lists in the CRM that I would like to sync (2 way ideally) with mautic and create segments, campaigns etc.

It seems that I’m unable to;

- Get any contacts from CRM down into Mautic using this plugin
- Get newly created contacts in Mautic (manually created for test purposes) to go up to CRM

In testing I enabled ‘leads’ in the integration and managed to push a test lead from mautic to CRM, but all of the contact details were blank.

QUESTION - How can I get the ‘contacts’ in SuiteCRM down to mautic? I don’t want to export/import as when the integration is working better I don’t want a duplicated mess. If anyone can help, please let me know how.

Thank you!

---

<div class="post-metadata">

**Author:** ![lyndon](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lyndon](https://forum.mautic.org/u/lyndon)\
**Post date:** [July 20, 2017, 9:26pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/3 "2017-07-20T21:26:06Z")

</div>

It seems that my problem may be related to this following error the log;

mautic.ERROR: INTEGRATION ERROR: Sugarcrm - Module Does Not Exist Contact get\_entry\_list GET [] []

Does anyone know if this is the case and if so, any thoughts on where to start for a fix?

---

<div class="post-metadata">

**Author:** ![steverobinson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/steverobinson/32/174_2.png) [@steverobinson](https://forum.mautic.org/u/steverobinson)\
**Post date:** [July 23, 2017, 10:01am UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/4 "2017-07-23T10:01:55Z")

</div>

Hi lyndon,  
We’re having the same issue. Were you able to work through it yet?

---

<div class="post-metadata">

**Author:** ![lyndon](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lyndon](https://forum.mautic.org/u/lyndon)\
**Post date:** [July 23, 2017, 10:30am UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/5 "2017-07-23T10:30:58Z")

</div>

Steve - I got some feedback on the Sugar forum that the error points to an incorrect module name - it references ‘Contact’ and it should be ‘Contacts’. That could be a red herring though as I can’t see that in the Sugar code in Mautic. I did see a reference to state that if a var = contact, then set it to Contacts - but couldn’t find the source of the problem yet or if it’s even really the problem.

Happy to share effort or costs if needed to get this work for anyone interested. I also can’t get the Twitter channel to work but that’s a different story! Looks great for me from what I read, but I can’t get this working at all yet ☹

---

<div class="post-metadata">

**Author:** ![lyndon](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lyndon](https://forum.mautic.org/u/lyndon)\
**Post date:** [July 23, 2017, 7:57pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/6 "2017-07-23T19:57:37Z")

</div>

This may not have been obvious so I’ll share for completeness. It’s only the ‘Contacts’ in SuiteCRM I’m interested in syncing - it seems that if I change settings and the mapping that syncing with ‘Leads’ works. So the hint that the ‘Contacts’ module is mis-spelled is promising. However, I can’t find anywhere where that could be.

Again, any hints much appreciated.

---

<div class="post-metadata">

**Author:** ![mrosack](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@mrosack](https://forum.mautic.org/u/mrosack)\
**Post date:** [July 24, 2017, 12:21pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/7 "2017-07-24T12:21:28Z")

</div>

I’ve submitted a PR for this issue: [https://github.com/mautic/mautic/pull/4502/commits/b231fc074145e9ffdba3a96fab7d05df7e5caca9](https://github.com/mautic/mautic/pull/4502/commits/b231fc074145e9ffdba3a96fab7d05df7e5caca9), just fix line 155 of app/bundles/PluginBundle/Command/FetchLeadsCommand.php to use $contactObjectName instead of ‘Contact’.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [July 25, 2017, 6:54pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/8 "2017-07-25T18:54:43Z")

</div>

I successfully integrated v Tiger with mautic latest version as well.

Can any one tell me … vTiger contacts can sync in mautic and vice a versa.

What i need , People who are added to Vtiger should get added to Mautic and Vice Versa.

Thanks in advance

Kishan Kumawat

---

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [July 27, 2017, 12:05pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/9 "2017-07-27T12:05:43Z")

</div>

I was looking into moving away from HubSpot so that we have a fully open source stack (Joomla/Mautic/SuiteCRM), so this will come in handy.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [July 28, 2017, 11:32am UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/10 "2017-07-28T11:32:49Z")

</div>

Can anyone help me out

That, How vTiger contacts can sync in mautic and vice a versa?

What i need , People who are added to Vtiger should get added to Mautic and Vice Versa.

Thanks in advance

Kishan Kumawat

---

<div class="post-metadata">

**Author:** ![valentain](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@valentain](https://forum.mautic.org/u/valentain)\
**Post date:** [July 31, 2017, 5:39am UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/11 "2017-07-31T05:39:35Z")

</div>

I have the same issue.

I am using SuiteCRM and Mautic 2.9.1 version.

Using comman mautic:integration:fetchleads --integration=Sugarcrm

And no result.

I tryed with Zoho CRM and test was successful fow two way synchronisation.

Please help with SuiteCRM synchronisation.

---

<div class="post-metadata">

**Author:** ![ssnobben](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ssnobben/32/967_2.png) [@ssnobben](https://forum.mautic.org/u/ssnobben)\
**Post date:** [August 25, 2017, 3:11pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/12 "2017-08-25T15:11:33Z")

</div>

I also looking to use this great combination (Joomla/Mautic/SuiteCRM) and would like to hear if anyone got this to work with fully bi syncing? Cheers!

---

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [October 26, 2017, 10:24pm UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/13 "2017-10-26T22:24:56Z")

</div>

I’ve set up a cron job to run every 5 minutes to push information to SuiteCRM:

```auto
php /home/xxx/xxx/app/console mautic:integration:fetchleads --integration=Sugarcrm
```

The cron works as it executes but it doesn’t actually push anything to the integration:

[code]Command to fetch contacts from integration  
Fetch contacts command is starting

Fetching contacts…

0 contacts were updated and 0 contacts were created

Fetching companies  
Fetch companies command is starting

0 companies were updated and 0 companies were created

Updating/creating leads from Mautic to Sugarcrm  
Number of contacts pushed: 0 updated, 0 created, 0 had errors and 0 were ignored (likely duplicates or didn’t match field criteria)[/code]

Everything is authorised, connected and fields mapped but still no go, does anyone else have this working?

---

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [October 27, 2017, 6:01am UTC](https://forum.mautic.org/t/mautic-and-suitecrm/9006/14 "2017-10-27T06:01:54Z")

</div>

UPDATE!

Strangely, a new lead come via HubSpot, which synced into mautic no problem and then into Suite CRM, so the three systems now seem to be working perfectly fine for new leads and contacts.

Current or previous contacts though seem not to be getting brought in.
