veda-consulting-company / uk.co.vedaconsulting.mailchimp

Other
22 stars 43 forks source link

Multiple Emails on Contact Record, Sync? #174

Open zkrebs opened 8 years ago

zkrebs commented 8 years ago

Is there any way this extension can sync multiple email addresses from a contact record to a mailchimp list? Thanks.

jason-vivid commented 8 years ago

@veda-consulting can chime in but here are some thoughts from our setup.

This would be helpful but probably very complex implementation. On our end we have multiple MC lists. Each contact in Civi can be part of one or none of those lists. Since each email has a corresponding list of groups and child-groups (in Civi) which are attached to a MC list and interest-group then there would need to be multiple groupings assigned to each email address. I don't see how that would be possible but there are a lot smarter folks out there than me.

We currently have a workaround in that each contact record in CiviCRM has only one email address associated. We link multiple emails from the same person with a relationship called "additional email addresses" and have a custom field called master record to track which record contains the contact's primary information. Maybe not the best/smartest solution but its what worked with us when individuals have multiple email addresses on file and the integration is one-to-one.

zkrebs commented 8 years ago

Each email would need to be thought of as a contact in the group, vs just the primary email of the contact. Not sure how it would work.

veda-consulting commented 8 years ago

It’s possible but not an easy enhancement. We’d need to re-test all cases to ensure everything works as expected We’re currently looking into sync’ing more fields and if the need for multiple email addresses for a contact is there then this should really be done before.

On the other hand I’d need to understand the rationale for having multiple email addresses for the same contact in Mailchimp as its not clear to me why you might need to do that?

On 8 Dec 2015, at 17:49, zkrebs notifications@github.com wrote:

Each email would need to be thought of as a contact in the group, vs just the primary email of the contact. Not sure how it would work.

— Reply to this email directly or view it on GitHub https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp/issues/174#issuecomment-162959393.

jason-vivid commented 8 years ago

@veda-consulting I can answer the rationale question above although it may not be rational, it is what contacts do. Individuals have multiple email addresses. They choose which/how they connect with us. For example, we have individuals all the time that sign up for events that use one email which is not the same as their primary email. Sometimes our integration's add them to the Mailchimp list automatically, which results in a new CiviCRM record. We don't have control over what emails users connect with us over what platform which results in multiple email addresses from the same contact. They may also have signed up for different MC lists using different emails and therefore we have multiple contact records for the same individual.