I have a flow where I want to add users with a specific profile to new campaigns as campaign members. Users with this profile all have contact records with the same email address as the email on their profile.
- get the profile records
- Creating a loop
- Doing a get record for the email in the loop
- Decision to check if there's a contact id in the get contact id records
- Assign Campaign members values
- Add to collection
- Create campaign member record
I'm getting the error, "This error occurred when the flow tried to create records: DUPLICATE_VALUE: Attempted to add an entity '0038I00000M9xFM' to a campaign '7018I0000001O5O' more than once."
Any ideas what I need to do so it's not trying to create a duplicate?