function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TransitForceTransitForce 

Trigger Auto-response Email from API Program

We want to re-write our Web-to-Case application so that we can better control error handling â¬? e.g. Salesforce not available â¬? and have a common code base for our other API applications.  One sticking point in our custom web2case design seems to be how to generate an auto-response email.  The auto response rules seem to require some hidden trigger in addition to the defined condition.  (We canâ¬?t use the Self Service portal because it is already being used for another purpose.)  Is there anything we can do to trigger an auto-response without running Web2Case or SS Portal?
DevAngelDevAngel

Hi TransitForce,

You can do all your error handling and other processing required prior to create the case, and then instead of call the create call for the case, generate a post to the url on the generated web2case template.  This should have the affect of allowing you to pre-process the case and also take advantage of the auto-response supported by the "standard" web to case web form.

chuckdubdubchuckdubdub

Will this work for leads as well?  If I am inserting lead records via the API rather than Web-to-Lead forms, I still want to trigger the auto-response rule.  Is that yet possible?

 

thanks,

Chuck