- 1. Getting Started
- 2. What's New
- 3. Dashboard
- 4. Contacts
- 5. Components
- 6. Channels
- 7. Campaigns
- 8. Reports
- 9. Points
- 10. Stages
- 11. Categories
- 12.1. Citrix Plugins
- 12.2. Clearbit
- 12.3. ConnectWise
- 12.4. FullContact
- 12.5. Gmail
- 12.6. Hubspot CRM
- 12.7. iContact
- 12.8. Mailchimp
- 12.9. Microsoft Dynamics CRM
- 12.10. Microsoft Outlook
- 12.11. Pipedrive
- 12.12. Salesforce CRM
- 12.13. Sugar CRM
- 12.14. Twitter
- 12.15. vTiger CRM
- 12.16. Zoho CRM
- 12.17. Social login
- 12.18. Field Mapping
- 12.19. Integration Testing
- 13. Use Cases
- 14. Cron Jobs
- 15. SAML SSO
- 16. Themes
- 17. Translations
- 18. Tips & Tricks
- Published with GitBook
Mautic - SugarCRM plugin
Bi-directionnal sync. has been added in Mautic 2.8.0, this plugin can push a contact to SugarCRM when a contact makes some action (SugarCRM 6 Community & 7.x) or if updated (SugarCRM 6 Community). It can also pull leads, contacts and companies from SugarCRM (SugarCRM 6 Community). If you don't have the SugarCRM account yet, create it.
SSL. Your Mautic instance has to run on HTTPS. SugarCRM will not allow you to synchronize with an application in HTTP.
Get the SugarCRM client credentials
To enable the SugarCRM plugin, you’ll need to get API credential (Oauth keys) from your SugarCRM account (public and private key) and a valid username and password.
Configure the Mautic SugarCRM plugin
- Insert the keys to the Mautic SugarCRM plugin and authorize it.
- Configure the features you want to enable
- Configure the field mapping for contacts
- Configure the field mapping for companies
- Save and close the configuration panel
- You can push contacts to the integration anytime the contact is created/modified by checking the “push contacts to the integration” checkbox.
- You can push contacts to the integration only when the contact go through a “push contacts to the integration” action in campaigns, forms and point triggers by uncheck the “push contacts to the integration” checkbox.
- You can pull records from integration
- You can select which type of records you want to push/pull to/from SugarCRM: Leads, Contacts and Companies.
- You can synchronize contact owner between SugarCRM and Mautic
- You can select which Contacts/Leads/Companies field values you want to synchronize.
- Select a priority in terms of data when the targeted field is already mentioned with a value.
Command line script to push/pull records to/from SugarCRM
To synchronize records from/to SugarCRM you need to use a command from CLI. Use this command:
php app/console mautic:integration:fetchleads
To push activities of synchronized contacts from Mautic to CRM use the following command:
php app/console mautic:integration:pushleadactivity
Parameters both commands take:
- --time-interval This parameter is used to setup the amount of time we want to pull records from. Possible entries: "10 days", "1 day", "10 minutes", "1 minute". Maximum time interval "29 days". Default for both commands is “15 minutes”.
- --integration=Sugarcrm to use with SugarCRM integration. In future this command may be used for other integrations. Parameter specific to php app/console mautic:integration:fetchleads
- --fetch-all To synchronize all contacts to and from integration. Preferably, use this command only after installation.
These commands may be used for other integrations.
Test the plugin
Follow these steps to test the integration.