I've created a registration form via a public site where a lead is created and immediately added to a campaign via a visualforce page and custom controller (not web to lead).
The coding is the easy part (apparently). How can I send an email template to that lead? I'm trying process builder and workflow but I can't send an email template only an email alert. Perhaps email alert will work but I can't figure out how to send that to a newly created lead.
Use Case: user enters email clicks submit (complete) -> lead is created and added to campaign members object (complete) -> [now on create of that campaign members record] I want to send the email template to the lead: "thanks for registering..." (need to complete)
Currently I have an email alert set up but it's not emailing the lead
Workflow rule: Object: Campaign Member Rule Criteria: Campaign: Campaign Name EQUALS AMCC - Mobility Session Evaluation Criteria: Evaluate the rule when a record is created Email Alert Object: Campaign Member Recipients Email Field: Email
I suspect the problem is the recipient field becuase this is a public site.