Background
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:
- John
- Jane
- Sam
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.
Like this:
From: [email protected] < [email protected] > On Behalf Of Bob Boberts
Whereas, I need it to come from:
From: [email protected]
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.
Question
How can I get the lead ownership to change before the email is sent?
Re-evaluate Workflow Rules after Field Change
) -> Process builder