Add a Subscriber to Mailchimp as a web form is submitted on your website/user signups for your offerings.
Users signing up for your offerings can be typically through web forms on your website. Once a web form is submitted it can be captured using our RESTFUL APIs directly into Salesmate or by using the available integrations for Gravity and Wufoo Forms.
But what if you are using Mailchimp to send out Emails or run an Email Automation. Here, as contact is created the combination of another powerful and easy to configure feature for Workflow along with Webhooks comes into the picture to make it easier for you to utilize Mailchimp.
A simple workflow can be created upon creation or update of a Contact with some rules/criteria’s say Contact’s with Tag = “Registered” OR “WebLead” to trigger a Webhook which adds this contact as a subscriber to Mailchimp
Here are four simple steps to create this workflow:
Basic Information
Specify the basic details for the rule, such as Name and Description
- Module: Contact
- Rule Name: Send Registered Contact to MailChimp List
Execute On
Choose an action based on which the rule will be executed.
- Select Create or Update
- Executes the Workflow Rule when a new record is created OR an existing record is updated.
Rule Criteria
The rule will be executed that match the following rule criteria.
- Tags equals to "Registered"
Actions
Instant and time based actions can be set as per your business needs.
- +Add Call Webhooks
- Actions:
- Call Webhooks
- Method: POST
- URL to Notify: https://usX.api.mailchimp.com/3.0/lists/{list_id}/members
- Refer MailChimp API documentation at http://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/
- Here X is the data center number - you can find it as the last digit of the Mailchimp API key ex. us8 - here 8 is the data center number
- {list_id} is the list id to which you need to subscribe the contact to.
- How to find MailChimp API Key:
- Headers:
- Content-Type: application/json
- Authorization: anystring: <mailchimp API key> ex. anystring bfe78c413652314348d1685fc727bb813c-us8 ( Ensure that the spelling of Authorization is as mentioned here )
- Body: raw / JSON (application/json
{
"email_address":"{{Contact.email}}",
"status":"subscribed",
"merge_fields":{
"FNAME":"{{Contact.firstName}}",
"LNAME":"{{Contact.lastName}}",
"COMPANY":"{{Contact.company}}"
}
}
- Save and Associate
- Save
- This sets your subscriber details like email address, status, first name and last name to be added to the desired Mailchimp list.
Another way of achieving this without having any know how about APIs is to use Zapier Integration.
Want to give Zapier a try? Click here to get started.
Can't figure out how to go about it just connect to us over chat OR drop us a line at help@salesmate.io. We will be happy to help.
Comments
0 comments
Article is closed for comments.