Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to send mail to Group (All users in group) in flow

SK00335601
Tera Contributor

I am new to servicenow. Wanted to know How to send mail to Group (All users in group) in flow ? As i am unable to find option where i can set group name in To field while creating a Flow. Thanks and Regards,

Sachin Kulkarni.

4 REPLIES 4

Maddysunil
Kilo Sage

@SK00335601 

Check the reply of Shawn in below link

https://www.servicenow.com/community/now-platform-forum/send-email-to-a-group-in-flow-designer/m-p/1... 

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks

Sandeep Rajput
Tera Patron
Tera Patron

@SK00335601 You will not be able to add a group name in the to field of send email action. However, you can use a Lookup records action to get all the members of the group and use a Foreach action along with Send email action to  send them the email. You can configure your flow as follows.

 

Screenshot 2024-05-15 at 7.09.45 PM.pngScreenshot 2024-05-15 at 7.10.48 PM.pngScreenshot 2024-05-15 at 7.11.45 PM.png

Hope this helps.

Curt4
Tera Contributor

You can put the SYS_ID of the group in the TO: field and it will send it to all the users in that group.  You don't have to do a lookup or anything.

Curt4_0-1727217555693.png

 

Brilliant, thank you! This also worked putting more than one group separted by comma