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
Rasmita Sahoo 11Rasmita Sahoo 11 

Write a AutoLaunch Flow to send an email.

Write a AutoLaunch Flow to send an email to all contacts where there is no phone number.
Best Answer chosen by Rasmita Sahoo 11
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Rasmita,

As per your question the flow is autolaunched flow and we will add get record element first as shown below.

User-added imageAdd for loop to iterate over the list.

User-added image
Create a resouce of type variable and type text and it should accept multple values as below.

User-added imageInside For loop add a assignment to add all the emails to the collection variable.

User-added image
Now out side for loop add send email action and will the subject and body and emails as below.

User-added image
Save the flow and activate it. 

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Rasmita,

If this is autolaunched flow hos do you want to invoke this flow?

Thanks,
 
Rasmita Sahoo 11Rasmita Sahoo 11
Can we invoke ? I have a task to do this Flow? I m tring. But not able to do. How to retrieving data where there is Blank(no) phone number? 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Rasmita,

As per your question the flow is autolaunched flow and we will add get record element first as shown below.

User-added imageAdd for loop to iterate over the list.

User-added image
Create a resouce of type variable and type text and it should accept multple values as below.

User-added imageInside For loop add a assignment to add all the emails to the collection variable.

User-added image
Now out side for loop add send email action and will the subject and body and emails as below.

User-added image
Save the flow and activate it. 

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
This was selected as the best answer
Rasmita Sahoo 11Rasmita Sahoo 11
Thank You So much . It is working Forfectly.