[{"Title":"Initialize variables","ActionType":"INITALIZE_VARIABLES","Variables":[{"Name":"GroupName","Value":"testGroup"},{"Name":"GroupUserEmails","Value":""}]},{"Title":"Send HTTP request to get users from group","Condition":"","ActionType":"HTTP_REQUESTS","Headers":[{"Key":"Accept","Value":"application/json; odata=nometadata"},{"Key":"Content-Type","Value":"application/json; odata=nometadata"}],"AppendRequestDigestHeader":true,"InternalName":"Send_HTTP_request_to_get_users_from_group","Url":"=[[@Web.Url]] + \"/_api/web/sitegroups/getbyname('\" + [[@Variables.GroupName]] + \"')/users\"","RequestType":"GET"},{"Title":"Set variable to return emails","Condition":"","ActionType":"SET_VARIABLE","Name":"GroupUserEmails","Value":"{ var emails = \"\";\r\nvar response = [[@Actions.Send_HTTP_request_to_get_users_from_group.ResponseBody]];\r\nvar users = response.value;\r\nusers.forEach(function (user) {\r\n if (user && user.Email) {\r\n emails += user.Email + \";\";\r\n }\r\n});\r\nreturn emails; }","InternalName":"Set_variable_to_return_emails"},{"Title":"Send email","Condition":"","ActionType":"SEND_MAIL_V2","SendAsText":false,"SaveToSentItems":true,"InternalName":"Send_email","To":"[[@Variables.GroupUserEmails]]","Subject":"Subject of the Email","Body":"