This object is in archive! 

Customer Lead created via API creates quote but does not trigger New Quote Alert email

Bill G. shared this idea 5 years ago
Under Consideration

Using API on a custom contact form to create Customer and Lead, all of which succeed. Problem is that while the new Quote is created, the New Quote alert does not fire and send an email so my folks can follow up.

Still testing, but here are a few dummy leads created via API:

3294682, 3295093

Thanks

Comments (1)

photo
1

This alert would be a feature we don't currently have. The existing "New Quote" alert is only triggered by our existing online form. We'll consider adding another alert for API created leads, but it may not get done soon, so you may want to consider having your code generate an alert on your end.

photo
1

I actually have it send an email to the same folks in the PHP, but for some reason I'm unable to get the lead ID from the Json. Do you have some sample PHP to do that? I am able to pull the record ID out for the customer to pass to lead creation, so I'm not sure why this is continuing to fail for me. If I can get that value, I can just send them a link directly to the lead in IO

photo
1

$response = curl_exec($ch);
$response_decoded = json_decode($response);
$leadid = $response_decoded->recordid;

photo
Leave a Comment
 
Attach a file