| |||||||||||||||||||||
TN-12:Automatically Creating Cases from Inbound Emails - The salesforce.com CRM On-Demand Platform Email to case (Email-to-Case) relies on a simple, reliable process for managing inbound support requests. This solution can be described by the following process; emails are sent to a given address (ie support@company.com), emails are processed by either a polling mechanism or procmail script, the email is converted into a supportforce.com cases via the AppExchange Web services API, and finally the new case is processed via supportforce.com workflow and assignment rules. There are two basic options for designing the Email-to-Case integration. In the first model, called mailbox agent, a script is created that regularly (every 2-5 minutes) polls for new messages to the support email address via standard IMAP or POP3 protocols. In the alternative model, Unix's built-in email scripting capability, known as procmail, is used to fire the processing code whenever a new email is received. Essentially, the former option is polling driven, whereas the later is event driven. Either way, the only difference between the approaches is in how emails are passed to the core business logic; the rest of program is essentially the same. Once the inbound email has been obtained, by either technique described above, the next step is to create the corresponding supportforce.com case. (Note for sake of simplicity, this document will only cover new case creation. While it is possible to update an existing case from an inbound email, the details will be left to the reader's imagination.) This process itself has two components; finding the appropriate supportforce.com contact from the inbound email address, and creating a new case associated with that contact. Thanks to the customizability of the salesforce.com application, you can further benefit by implementing Cass Assignment Rules. For instance, you can obtain the account that the contact belongs and determine what level of support they may have purchased. You can then set the appropriate value on the assignment rule trigger field to have that case assigned to the correct owner. Cases created using the Apex API will honor the implemented assignment rules in the salesforce.com application. Implementing the E-mail to Case solution using the AppExchange Web service API an automated way to increate inbound corporate emails with salesforce.com while leveraging all the business rules, searching and usability of Supportforce. Please consult the AppExchange message boards for help or advise in building your own Email-to-Case solutions. | |||||||||||||||||||||
| Privacy Statement | Security Statement |
|
|
© Copyright 2000-2007 salesforce.com, inc. Customer Relationship Management (CRM) All rights reserved Various trademarks held by their respective owners. |
|