I am using Web-to-Lead, Lead assignment rules, Process Builder and Docomotion.
All leads created via web-to-lead are assigned to Bob.
Then the lead assignment rules share the leads in a round robin style to:
Then Process Builder (using a Docomotion Apex InvocableMethod) sends an email to the email address on the Lead.
Unfortunately, the email is sent from the email address of Bob.
From: email@example.com < firstname.lastname@example.org > On Behalf Of Bob Boberts
Whereas, I need it to come from:
I've updated the process criteria such that it will only fire when the
Owner.Email address is not Bob Boberts, and it fires, yet the email is still from Bob Boberts email address.
How can I get the lead ownership to change before the email is sent?