Hi All - Automatic Opportunity Creation on Inbound Outlook Email

Does anyone know if a new Opportunity can be automatically created from an inbound email to an MS Outlook email group?

And if the Opportunity can be opened against a record other than an Account? E.g. a site record (Custom Module)?

Version is Sugar 8.x 

Parents Reply
  • Hi Bjorn and Dmytro,

    The emails are not formatted in any way to easily identify the site against which the opportunity is to be opened.  As Bjorn quite rightly pointed out there will be some need for manual intervention.  I am thinking if I create a generic site such as "Company_Opportunity", for example, I can still automate the creation of the opportunity. At least the more tedious task of physically creating the opportunity is automated.  My estimator then simply has to assign it to the correct site.  I at least then minimise the chance of an opportunity being missed in email. 

    Thank you very much for sharing your thoughts, experience and insights.

    Best Regards

    Malcolm. 

Children
  • Hello! Excuse me, I can't help noticing such an interesting case
    Well, if a human can somehow identify to which site the opportunity must be related, this knowledge may be shared to a system as well

    In overall, I suppose this task may be implemented in the following way:

    • to create an inbound email account in Sugar
    • to use Logic Builder to implement the following algorithm:
      Create Opportunity when a new email comes to a particular address.
      Then identify to which Site this Opportunity must be related, by checking if there is a site in the text (or probably subject) of the email that is like a Site record in the Sugar (for example, if value in the field Name of record Site is the same as this site is defined in the email subject or text). What I mean that an email body could be parsed if there is a text like http://somesite and matched site record in Sugar.
      If the matched Site was found – relate Opportunity to Site.
    • Otherwise (here SugarBPM process must be created) to assign to an entitled user Activity of manually relating Opportunity to the site.

    However it will work if there is no huge number of Sites... What I mean if there is a lot of data, this scenario will cause performance issues.

    You know, we are conducting webinars of how to apply advanced Sugar configuration to address different business challenges. May we take your example for the next webinar? So you could see in the action how this task could be solved and implement this solution in your system in case you find it suitable.

  • Hi Anastasiia,

    Yes please. You are most welcome to take my example for your next seminar.  I am very interested to learn how this may be solved.  Please let me know if there is anything further information you require from me.

    Best Regards

    Malcolm