SlideShare ist ein Scribd-Unternehmen logo
1 von 20
SugarCRM
    CRM, SugarCRM
and a RESTful integration




               Enrico Simonetti - http://enricosimonetti.com
CRM
Customer Relationship Management

My definition:

CRM is a set of business processes, strategies
and best practices, that with the right
technologies, can help you improve customer
experience and interactions



                           Enrico Simonetti - http://enricosimonetti.com
So what?
We use Spreadsheets instead!
What about with a CRM in place?

                   Customer
                    Centric        Real time
                                    results
                                   Reporting

                      Visibility

                            Collaboration

                     Automation
                              Efficiency
● Founded in 2004 in California
● 350+ employees with >1M users
● Open Source PHP code (>10M downloads)
● 4 versions - Commercial Open Source
● Community Edition on AGPL license
● Built for LAMP environments, then added
  more platforms (goo.gl/MdDL8)
● Unlimited hosting choices
● SugarCRM source code can be customised

                        Enrico Simonetti - http://enricosimonetti.com
the Social CRM

The advantages of any CRM plus:

           Open Source
Flexible
            Mobile
 Social
            Engage
           Customers

   Deeper
Relationships
How can I customise SugarCRM?
...and... under the covers? It's MVC!




                      Enrico Simonetti - http://enricosimonetti.com
What about
SugarCRM REST API?
REST API entry points:
{site_url}/service/v4/rest.php
{site_url}/service/v4_1/rest.php
{site_url}/service/vX_X/rest.php

Developer guide: goo.gl/Jn8YI
REST methods guide: goo.gl/ehB70

The API can be customised
                          Enrico Simonetti - http://enricosimonetti.com
Demo Project
                       Fake                    Hosting.com
Objective
We want to start new web hosting company,
and we need to build a website that integrates
with the CRM system.

SugarCRM as a platform
Using SugarCRM as your application
development platform, you can concentrate
on making the application suit your business.

                          Enrico Simonetti - http://enricosimonetti.com
Step 1 - Website
The demo website is built on top of existing
libraries and frameworks:

● Codeigniter + Bootstrap for rapid
  development github.com/sjlu/CodeIgniter-
  Bootstrap

● One of the SugarCRM REST helpers: github.
  com/asakusuma/SugarCRM-REST-API-
  Wrapper-Class
                          Enrico Simonetti - http://enricosimonetti.com
Step 2 - SugarCRM for B2C? How?
SugarCRM is built by default for B2B and
we need to tweak it for B2C. (goo.gl/u2J6I)

We just need to add one configuration option
inside the file "config_override.php".

$sugar_config['require_accounts'] = false;

Then we execute a "Quick Repair" of the
system.                  Enrico Simonetti - http://enricosimonetti.com
Step 3 - Website Service Status page
SugarCRM Interface Changes:
We need to add a new dropdown item on the
"Type" field of Cases, called "Announcement"
via the interface

Portal Code:
We can retrieve the last 10 Cases of type
"Announcement" that are still "New" or
"Assigned" (with SugarCRM "get_entry_list")

                         Enrico Simonetti - http://enricosimonetti.com
Step 4 - Support Tickets creation
SugarCRM Interface Changes:
● We need to add a new dropdown item on
  the "Type" field of Cases, called "Support".
● We also have to create a new custom field
  in Contacts to track the "Customer
  Number" (called cnumber_c).

We can apply both the above changes from
the SugarCRM interface in Studio.

                           Enrico Simonetti - http://enricosimonetti.com
Step 4 - Support Integration (Cont.)
Portal Code:
● Validate the Contact against his "Customer
  Number" (with get_entry / get_entry_list)
● If the Contact is validated, create a Case
  (with set_entry)
● Then we need to relate together the Case
  and the Contact (with set_relationship)
● Then retrieve the newly created Case
  number (with get_entry / get_entry_list)

                         Enrico Simonetti - http://enricosimonetti.com
Summary - What did we learn?

1. CRM basics and difference between:
   ○ Emails and Spreadsheets
   ○ CRM
   ○ Social CRM


2. SugarCRM basic internal structure

3. How to quickly integrate your website with
   SugarCRM via REST
                               Enrico Simonetti - http://enricosimonetti.com
Enrico Simonetti - http://enricosimonetti.com
Where can I find more info?
● Download SugarCRM CE at sourceforge.
  net/projects/sugarcrm

● Use support.sugarcrm.com for:
  ○   Support
  ○   Application Guide
  ○   Training material, FAQ, Forum, videos etc.
  ○   Developer Guide


● Use the developer blog (goo.gl/XTSzn) for
  coding and best practices, tips and tricks
                                Enrico Simonetti - http://enricosimonetti.com
How can I contribute?
To contribute to SugarCRM code base you
would need:
1. A Github account
2. To read the following wiki goo.gl/Lf9Oq
3. A signed contributor agreement goo.
   gl/U9Ehv

The SugarCRM CE git repo is at this address:
github.com/sugarcrm/sugarcrm_dev

                          Enrico Simonetti - http://enricosimonetti.com
My Contact Details
Enrico Simonetti

Web: enricosimonetti.com
Linkedin: linkedin.com/in/enricosimonetti
Twitter: @simonettienrico
Email: enrico.simonetti@gmail.com

Need SugarCRM?
www.insightful.com.au

Weitere ähnliche Inhalte

Andere mochten auch

SugarCRM Administrator Fundamentals Student Guide
SugarCRM Administrator Fundamentals Student GuideSugarCRM Administrator Fundamentals Student Guide
SugarCRM Administrator Fundamentals Student Guide
CRMreviews
 

Andere mochten auch (14)

SugarCRM Administrator Fundamentals Student Guide
SugarCRM Administrator Fundamentals Student GuideSugarCRM Administrator Fundamentals Student Guide
SugarCRM Administrator Fundamentals Student Guide
 
OKRy - co to jest i jak wdrożyć w organizacji
OKRy - co to jest i jak wdrożyć w organizacjiOKRy - co to jest i jak wdrożyć w organizacji
OKRy - co to jest i jak wdrożyć w organizacji
 
Raport
Raport Raport
Raport
 
開発プラットフォームとしてのSugarCRM
開発プラットフォームとしてのSugarCRM開発プラットフォームとしてのSugarCRM
開発プラットフォームとしてのSugarCRM
 
Prioritizing Portfolio Backlog to Maximize Value Steve Mayner Agile Asia 2016
Prioritizing Portfolio Backlog to Maximize Value Steve Mayner Agile Asia 2016Prioritizing Portfolio Backlog to Maximize Value Steve Mayner Agile Asia 2016
Prioritizing Portfolio Backlog to Maximize Value Steve Mayner Agile Asia 2016
 
SugarCRM vs Salesforce 2010
SugarCRM vs Salesforce 2010SugarCRM vs Salesforce 2010
SugarCRM vs Salesforce 2010
 
Transforming the Customer Experience with SugarCRM
Transforming the Customer Experience with SugarCRMTransforming the Customer Experience with SugarCRM
Transforming the Customer Experience with SugarCRM
 
Connecting the Clouds to Drive the Customer Journey
Connecting the Clouds to Drive the Customer JourneyConnecting the Clouds to Drive the Customer Journey
Connecting the Clouds to Drive the Customer Journey
 
Getting the Most Out of Microsoft Dynamics CRM Integrations
Getting the Most Out of Microsoft Dynamics CRM IntegrationsGetting the Most Out of Microsoft Dynamics CRM Integrations
Getting the Most Out of Microsoft Dynamics CRM Integrations
 
Group Writing Sample - Business Proposal
Group Writing Sample - Business ProposalGroup Writing Sample - Business Proposal
Group Writing Sample - Business Proposal
 
Presentation
PresentationPresentation
Presentation
 
Lessons Learned: Building IBM's Next Generation CRM Architecture
Lessons Learned: Building IBM's Next Generation CRM ArchitectureLessons Learned: Building IBM's Next Generation CRM Architecture
Lessons Learned: Building IBM's Next Generation CRM Architecture
 
CRM presentation march 09, 2010
CRM presentation   march 09, 2010CRM presentation   march 09, 2010
CRM presentation march 09, 2010
 
Proposal Management: Best Industry Practices
Proposal Management: Best Industry PracticesProposal Management: Best Industry Practices
Proposal Management: Best Industry Practices
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

CRM, SugarCRM and a RESTful integration

  • 1. SugarCRM CRM, SugarCRM and a RESTful integration Enrico Simonetti - http://enricosimonetti.com
  • 2. CRM Customer Relationship Management My definition: CRM is a set of business processes, strategies and best practices, that with the right technologies, can help you improve customer experience and interactions Enrico Simonetti - http://enricosimonetti.com
  • 3. So what? We use Spreadsheets instead!
  • 4. What about with a CRM in place? Customer Centric Real time results Reporting Visibility Collaboration Automation Efficiency
  • 5. ● Founded in 2004 in California ● 350+ employees with >1M users ● Open Source PHP code (>10M downloads) ● 4 versions - Commercial Open Source ● Community Edition on AGPL license ● Built for LAMP environments, then added more platforms (goo.gl/MdDL8) ● Unlimited hosting choices ● SugarCRM source code can be customised Enrico Simonetti - http://enricosimonetti.com
  • 6. the Social CRM The advantages of any CRM plus: Open Source Flexible Mobile Social Engage Customers Deeper Relationships
  • 7. How can I customise SugarCRM?
  • 8. ...and... under the covers? It's MVC! Enrico Simonetti - http://enricosimonetti.com
  • 9. What about SugarCRM REST API? REST API entry points: {site_url}/service/v4/rest.php {site_url}/service/v4_1/rest.php {site_url}/service/vX_X/rest.php Developer guide: goo.gl/Jn8YI REST methods guide: goo.gl/ehB70 The API can be customised Enrico Simonetti - http://enricosimonetti.com
  • 10. Demo Project Fake Hosting.com Objective We want to start new web hosting company, and we need to build a website that integrates with the CRM system. SugarCRM as a platform Using SugarCRM as your application development platform, you can concentrate on making the application suit your business. Enrico Simonetti - http://enricosimonetti.com
  • 11. Step 1 - Website The demo website is built on top of existing libraries and frameworks: ● Codeigniter + Bootstrap for rapid development github.com/sjlu/CodeIgniter- Bootstrap ● One of the SugarCRM REST helpers: github. com/asakusuma/SugarCRM-REST-API- Wrapper-Class Enrico Simonetti - http://enricosimonetti.com
  • 12. Step 2 - SugarCRM for B2C? How? SugarCRM is built by default for B2B and we need to tweak it for B2C. (goo.gl/u2J6I) We just need to add one configuration option inside the file "config_override.php". $sugar_config['require_accounts'] = false; Then we execute a "Quick Repair" of the system. Enrico Simonetti - http://enricosimonetti.com
  • 13. Step 3 - Website Service Status page SugarCRM Interface Changes: We need to add a new dropdown item on the "Type" field of Cases, called "Announcement" via the interface Portal Code: We can retrieve the last 10 Cases of type "Announcement" that are still "New" or "Assigned" (with SugarCRM "get_entry_list") Enrico Simonetti - http://enricosimonetti.com
  • 14. Step 4 - Support Tickets creation SugarCRM Interface Changes: ● We need to add a new dropdown item on the "Type" field of Cases, called "Support". ● We also have to create a new custom field in Contacts to track the "Customer Number" (called cnumber_c). We can apply both the above changes from the SugarCRM interface in Studio. Enrico Simonetti - http://enricosimonetti.com
  • 15. Step 4 - Support Integration (Cont.) Portal Code: ● Validate the Contact against his "Customer Number" (with get_entry / get_entry_list) ● If the Contact is validated, create a Case (with set_entry) ● Then we need to relate together the Case and the Contact (with set_relationship) ● Then retrieve the newly created Case number (with get_entry / get_entry_list) Enrico Simonetti - http://enricosimonetti.com
  • 16. Summary - What did we learn? 1. CRM basics and difference between: ○ Emails and Spreadsheets ○ CRM ○ Social CRM 2. SugarCRM basic internal structure 3. How to quickly integrate your website with SugarCRM via REST Enrico Simonetti - http://enricosimonetti.com
  • 17. Enrico Simonetti - http://enricosimonetti.com
  • 18. Where can I find more info? ● Download SugarCRM CE at sourceforge. net/projects/sugarcrm ● Use support.sugarcrm.com for: ○ Support ○ Application Guide ○ Training material, FAQ, Forum, videos etc. ○ Developer Guide ● Use the developer blog (goo.gl/XTSzn) for coding and best practices, tips and tricks Enrico Simonetti - http://enricosimonetti.com
  • 19. How can I contribute? To contribute to SugarCRM code base you would need: 1. A Github account 2. To read the following wiki goo.gl/Lf9Oq 3. A signed contributor agreement goo. gl/U9Ehv The SugarCRM CE git repo is at this address: github.com/sugarcrm/sugarcrm_dev Enrico Simonetti - http://enricosimonetti.com
  • 20. My Contact Details Enrico Simonetti Web: enricosimonetti.com Linkedin: linkedin.com/in/enricosimonetti Twitter: @simonettienrico Email: enrico.simonetti@gmail.com Need SugarCRM? www.insightful.com.au