+ Start a Discussion
David Bradburn UKDavid Bradburn UK 

Create a Chatter Group from a Campaign

Hi all, 

Thanks in advance for your help. 

I'm pretty sure this is going to need to be done in APEX, and i'm fairly new to it so reaching out for template / advice. 

I need to automate the following: 
When a Campaign is created (by any means) a Chatter Group should be created using the same name. 
In addition, when Campaign Members are added to the Campaign, these members need to be added to the Chatter Group that was created off this Campaign. 

These Campaign Members will be Community Users - additional logic will need to ensure that when a user is added to the Campaign, they have a existing contact on the org. 

I hope this makes sense. 
Again, thank you :)