You need to sign in to do that
Don't have an account?
SunilKumar.ax1648
How to save sales force contact in Mail chimp any way to do this
Hi All,
I want to save salesforce contact in mailchimp. i am able to save mailchimp object in salesforce but i am not getting any way to save salesforce contact to mailchimp if any body have any idea so plaese share with me. it's very urgent for me thanks in advance if any helf form your side. here i am waiting for yuor valuable response.
trigger SubscribeTrigger on Contact (after insert) {
for(Contact c : Trigger.new)
{
if(c!=null)
{
SalesforceWithMailchimpController.subScribe(c.email);
SalesforceWithMailchimpController.findAllListByFolderName('xyz');
}
}
}
All Answers
Hi All,
I have done,
below is step how to save subscribed salesforce contact to Malchimp.
SalesforceWithMailchimpController
http://apidocs.mailchimp.com/api/2.0/lists/subscribe.php
trigger SubscribeTrigger on Contact (after insert) {
for(Contact c : Trigger.new)
{
if(c!=null)
{
SalesforceWithMailchimpController.subScribe(c.email);
SalesforceWithMailchimpController.findAllListByFolderName('xyz');
}
}
}