Email all members, but exclude employees

Former Member
Former Member

I need to send an email to all community members EXCEPT employees. The problem is that the email members options (Admin/Membership/Email Members) seems to allow me only to select the group that I want to send to. It doesn't allow me to EXCLUDE a group. 

Is there a workaround here? How do I email all registered users who AREN'T in the employee role?

Parents
  • You are correct that the mass email option  How do I send an ad-hoc mass email to community members? is inclusive and not exclusive. The tool does allow you to email roles, so if you have all customers in a role, and no employees, then that could be a potential workaround. Although if you have many customers and they aren't already in a role, then that may be too great of an undertaking.

    Also thinking an automation could be built to add all registered users to a role, but then remove anyone with a @companyname.com domain.

    Anyone else have an idea here that could accommodate the ask?

  • I think for net new users you can use the Auto Add New User to a Role based on Email Domain automation from the Marketplace to put your employees in one role (Employees) and then everyone that doesn't match your employee domain in a separate role (Customers).  For the latter, see screenshot below.

    Unfortunately, I don't think this is retroactive, so you would have to figure out a way to put all the existing non-employee users in the proper role.    or   - please let us know if there is an easy way to do that.  

      - It isn't the ideal solution, but you can use Microsoft Mail Merge to do this.  If you go to Administration > Reports > Members > New Members you can do a custom date range starting before your community was created until the current day to catch all the users.  Then export the list as a CSV.  Delete the top few rows that have the report informaiton so the file only contains real data with the top being the label (Membership ID, Username, etc).  Then add a new column for User Type or whatever you want to call it and paste this formula in:

    =IF(ISNUMBER(SEARCH("@company.com",D2)),"EMPLOYEE","CUSTOMER")

    You will need to replace company.com with your email domain, and make sure that the email addresses are in the right column (D by default from the Report export).  This scans the cell (D2 in this example) for the string with your company's email domain and if it finds a match it will set it to EMPLOYEE and if it doesn't match it will set it to CUSTOMER.  Then after the formula executes in the first cell you can click and drag the bottom right corner of that cell to copy the formula to the end of your spreadsheet.  The result will be every user classified as either EMPLOYEE or CUSTOMER.  I usually then copy the entire new column of data and use paste values to put the resulting text in place instead of formulas.  Then you can filter the spreadsheet to just keep the CUSTOMERs and use Mail Merge to send them all an email.  I did something similar to this in the past with data exported from our previous platform but the concepts are the same.

  • Former Member
    0 Former Member in reply to Matt Nevill

    Wow,  , you just made my week. THANK YOU. These instructions are so clear and they will work. Thank you so much!!!

  • Thanks for adding this, Matt!

    Unfortunately, I don't think this is retroactive, so you would have to figure out a way to put all the existing non-employee users in the proper role.    or   - please let us know if there is an easy way to do that. 

    The automation could be adjusted so it runs a check to see if a user is in a given role, and if not, add them to that role as defined. e.g. when a user logs in, run the check and sort them into the appropriate roles. You're correct that right now the automation in the marketplace is checking for net new, but again, the check can be added/change to check when a user logs in or the like.

  • The automation could also be adjusted so that it runs on an interval (nightly, etc), looking at all existing users, and ensuring the correct roles are applied - in addition to on log in of existing users or for new users.

Reply Children
No Data