I am blown away that this seemingly simple functionality is missing - There is no simple way in setup to send an email to a member after you add them to a case team. I was resigned to doing a more complicated route (a flow or a trigger that fires off an email on create of a CaseTeamMember record) but that object isnt even an option to select in either a flow or trigger! It looks like you can create flows/triggers on campaign member and opportunity team member so I'm not sure what the reason is here.

I know I can query the CaseTeamMembers table in Apex but I have no way of automating this to send the email on create... does anyone have any suggestions?

1 Answer 1


It's simply not triggerable. Generally, the canonical approach is to write a scheduled job (likely a batch) that you run on an interval. Each execution, you look for records created since the last run. Then you run logic against those records.

  • Interesting, I have plenty of experience writing scheduled batches but can you elaborate on how you capture the last job run time in a way that can be retrieved/referenced in my Apex class?
    – Chris
    Commented May 6 at 17:19
  • 2
    @Chris That's just a Custom Setting you'd create.
    – sfdcfox
    Commented May 6 at 17:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .