SlideShare ist ein Scribd-Unternehmen logo
1 von 25
www.tothenew.com
MailChimp Integration
with AEM
Jatin Gupta
(AEM Consultant)
www.tothenew.com
Agenda
 Introduction
 Email Marketing in AEM
 Existing Flow of Email Marketing in AEM
 Disadvantages of current Architecture
 Better approach to AEM’s current Email Marketing – MailChimp and its
Introduction
 MailChimp as One Man Army and its features
 Integration of MailChimp with AEM
 MailChimp API and Its Working
 References
www.tothenew.com
Introduction
Email Marketing is
 Directly marketing a commercial message to group of people using email.
 Can be used to sends ads, request business or brand/product awareness.
 Building customer loyalty, acquiring new customers or convince existing customer
and increased sales.
www.tothenew.com
Where Email Marketing being Used
1. Have you lately received an email
from your favorite ecommerce site
promoting an exciting offer that
prompted you to take action.
2. Do you receive emails from online
sources you might have subscribed to
(like blogs, notifications) about latest
content, offers, etc. ?
www.tothenew.com
Email Marketing in AEM
In AEM, email marketing is done through Newsletters. It’s a part of Campaign
management. Once created, you can send newsletter to specific group of users either
immediately or at schedule time.
You can also add the new content or modify the existing content.
www.tothenew.com
Existing Flow of Email Marketing in AEM
Send a newsletter to Leads in 5 simple steps:
 Configure Email Service “Day CQ Mail Service”.
 Create a Newsletter (Use Geometrixx Newsletter Template or create a new
one.)
 Add content to Newsletter or modify the existing content.
 Open the settings and associate with the list.
 Publish the newsletter and its assets.
 And finally Send the newsletter to leads in the list associated with the same.
www.tothenew.com
3,4
1
2
Activate the
Newsletter
5
6
3,4
www.tothenew.com
Disadvantages in the existing architecture
 Performance issues when number of leads increases in terms of managing those
leads.
 Additional overhead of sending email.
www.tothenew.com
www.tothenew.com
MailChimp Features
 Interface to create Campaign, List
 Predefined Templates
 Advanced analytics to grow your business
 Drag and Drop support for Campaign content creation
 Advance feature for including segments with Campaigns
 Comprehensive mobile Options that go with you
 Flexible API documentation
 Sending/scheduling emails
www.tothenew.com
MailChimp Integration With AEM
List Creation
Lead Creation
Campaign/Newsletter Creation
Exporting the Newsletter to MailChimp
Send Newsletter
www.tothenew.com
List Creation
 Navigate to http://mailchimp.com
 Create a MailChimp account
 Go to List Tab and click on “Create
List”
 Enter the required information
and click on “Save”
Fill List form &
Click Save
www.tothenew.com
Fetching MailChimp List in AEM
 Navigate to http://localhost:4502/miscadmin
 Under Tools -> Cloud Services Configuration,
select MailChimp and Click on “New”
 Select MailChimp Template and click on
“Create”
 Open the config page and configure the config
page as per the MailChimp Account details
Via
Importer
Marketing
User
AEM
MailChimp
Config
Pages
Cloud
Service
Pages
www.tothenew.com
Lead Creation
 Configure the MailChimp Cloud Service on the page
 Drag and Drop the Subscribe-MailChimp Component
 End user selects the list
 Click on Subscribe.
End User
AEM
www.tothenew.com
Newsletter Creation , Exporting & Sending
 Navigate to http://localhost:4502/system/console/configMgr
 Create a entry in “Day CQ Link Externalizer” in Domains property
(mailchimp:<public-DNS-publish-AEM-instance>)
 Create a page under Websites -> Campaigns using “MailChimp
Newsletter” template
 Add the content as per your requirement
 Open “Settings” Tab and configure the fields and cloud service
 Activate the page and its assets.
 Click On “Export Newsletter to MailChimp” tab
 To send the Newsletter, click on “Send”
www.tothenew.com
Marketing
Author
Newsletter Creation , Exporting & Sending………
Newsletters
Newsletters
AEM
www.tothenew.com
MailChimp API
Key Points:
 Latest version 3.0
 Based on REST
 Support HTTP Basic-Auth and OAuth2 authentication Method
 Define Actions, Resources like Subscribers, Campaigns
 Supported Format JSON
 Based on HTTPS protocol
 Supports pagination
http://developer.mailchimp.com/documentation/mailchimp/guides/get-started-with-
mailchimp-api-3/
www.tothenew.com
Http Basic Auth
 Widely used protocol for simple
username/password authentication.
 Easiest authentication method and
east to Implement
 Safe over secure SSL/HTTPS
connection
 Examples: Jive, Mail Chimp, Chargify
www.tothenew.com
Under the hood for (3):
Header: Authorization Basic {TOKEN}
Where {TOKEN} is
Base64(username + ‘:’ + password)
www.tothenew.com
3 Simple Steps to Implement Basic Auth
1. Create username and password
2. Encode the <username>:<password> string using base64
3. Add the authorization header with value as
Basic <Value generated from step2>
Note: For each request to third party API we need to include the authorization
header
www.tothenew.com
Advantages:
 Safe over HTTPS/SSL
 Easier to implement
Several Problems and Limitations:
 App can store the user’s credentials
 Apps get the complete access to your account
 User can’t revoke access to an app except by changing their password
 Compromised apps can expose the User’s credentials
www.tothenew.com
Subscribe A user to a list using CURL…
www.tothenew.com
References
 http://mailchimp.com/features
 http://developer.mailchimp.com/documentation/mailchimp/guides/g
et-started-with-mailchimp-api-3/
www.tothenew.com
Contact me at:
jatingupta030@gmail.com
For any Questions or
Codebase ?
www.tothenew.com
Thank you

Weitere ähnliche Inhalte

Was ist angesagt?

How to rock at email marketing part 2
How to rock at email marketing part 2How to rock at email marketing part 2
How to rock at email marketing part 2
InTouch
 
Internet Marketing 102 Websites, Email, Social Media, & New Options
Internet Marketing 102 Websites, Email, Social Media, & New OptionsInternet Marketing 102 Websites, Email, Social Media, & New Options
Internet Marketing 102 Websites, Email, Social Media, & New Options
Dave Tedlock
 

Was ist angesagt? (20)

ICP_Team_P
ICP_Team_PICP_Team_P
ICP_Team_P
 
Mailwizz customer manual
Mailwizz customer manualMailwizz customer manual
Mailwizz customer manual
 
Getting Started with Email Marketing
Getting Started with Email MarketingGetting Started with Email Marketing
Getting Started with Email Marketing
 
Mailchimp 101 : Newsletter
Mailchimp 101 : NewsletterMailchimp 101 : Newsletter
Mailchimp 101 : Newsletter
 
Digital Marketing for Small Business v3
Digital Marketing for Small Business v3Digital Marketing for Small Business v3
Digital Marketing for Small Business v3
 
Benchmarknew
BenchmarknewBenchmarknew
Benchmarknew
 
Email marketing 101
Email marketing 101Email marketing 101
Email marketing 101
 
List building techniques nams7
List building techniques nams7List building techniques nams7
List building techniques nams7
 
Rockin MailChimp: Accounts, lists, & campaigns
Rockin MailChimp: Accounts, lists, & campaignsRockin MailChimp: Accounts, lists, & campaigns
Rockin MailChimp: Accounts, lists, & campaigns
 
How to rock at email marketing part 2
How to rock at email marketing part 2How to rock at email marketing part 2
How to rock at email marketing part 2
 
Email marketing
Email marketingEmail marketing
Email marketing
 
Ad sale deck story
Ad sale deck   storyAd sale deck   story
Ad sale deck story
 
Internet Marketing 102 Websites, Email, Social Media, & New Options
Internet Marketing 102 Websites, Email, Social Media, & New OptionsInternet Marketing 102 Websites, Email, Social Media, & New Options
Internet Marketing 102 Websites, Email, Social Media, & New Options
 
Using Return Path Data to Protect Your Brand: Security Breakout Session - Chi...
Using Return Path Data to Protect Your Brand: Security Breakout Session - Chi...Using Return Path Data to Protect Your Brand: Security Breakout Session - Chi...
Using Return Path Data to Protect Your Brand: Security Breakout Session - Chi...
 
iContact review
iContact reviewiContact review
iContact review
 
Email Marketing Basics
Email Marketing BasicsEmail Marketing Basics
Email Marketing Basics
 
Email Marketing: Expand Your Reach, Grow Your Business
Email Marketing: Expand Your Reach, Grow Your BusinessEmail Marketing: Expand Your Reach, Grow Your Business
Email Marketing: Expand Your Reach, Grow Your Business
 
HTML email best practices
HTML email best practicesHTML email best practices
HTML email best practices
 
Why I’m Moving To Active Campaign And You Should Too
Why I’m Moving To Active Campaign And You Should TooWhy I’m Moving To Active Campaign And You Should Too
Why I’m Moving To Active Campaign And You Should Too
 
Using Return Path Data to Protect Your Brand: Security Breakout Session - London
Using Return Path Data to Protect Your Brand: Security Breakout Session - LondonUsing Return Path Data to Protect Your Brand: Security Breakout Session - London
Using Return Path Data to Protect Your Brand: Security Breakout Session - London
 

Andere mochten auch

Vimeo Integration with aem
Vimeo Integration with aemVimeo Integration with aem
Vimeo Integration with aem
Manisha Bano
 
Content-Centric Apps for Mobile Devices by John Fait
Content-Centric Apps for Mobile Devices by John FaitContent-Centric Apps for Mobile Devices by John Fait
Content-Centric Apps for Mobile Devices by John Fait
AEM HUB
 

Andere mochten auch (14)

Integration Testing in AEM
Integration Testing in AEMIntegration Testing in AEM
Integration Testing in AEM
 
Vimeo Integration with aem
Vimeo Integration with aemVimeo Integration with aem
Vimeo Integration with aem
 
EVOLVE'15 | Enhance | Rene Ugarte | AEM Quality Assurance
EVOLVE'15 | Enhance | Rene Ugarte | AEM Quality AssuranceEVOLVE'15 | Enhance | Rene Ugarte | AEM Quality Assurance
EVOLVE'15 | Enhance | Rene Ugarte | AEM Quality Assurance
 
Adaptto2016-APM-AEM-Permission-Management-Mateusz-Chrominski
Adaptto2016-APM-AEM-Permission-Management-Mateusz-ChrominskiAdaptto2016-APM-AEM-Permission-Management-Mateusz-Chrominski
Adaptto2016-APM-AEM-Permission-Management-Mateusz-Chrominski
 
Презентация "Расшифровка понятий для написания сочинения 15.3"
Презентация "Расшифровка понятий для написания сочинения 15.3"Презентация "Расшифровка понятий для написания сочинения 15.3"
Презентация "Расшифровка понятий для написания сочинения 15.3"
 
AEM integration with Apache Mahout
AEM integration with Apache MahoutAEM integration with Apache Mahout
AEM integration with Apache Mahout
 
Adobe Experience Manager (AEM) - Multilingual SIG on SEO - Dave Lloyd
Adobe Experience Manager (AEM) - Multilingual SIG on SEO - Dave LloydAdobe Experience Manager (AEM) - Multilingual SIG on SEO - Dave Lloyd
Adobe Experience Manager (AEM) - Multilingual SIG on SEO - Dave Lloyd
 
Adobe Summit 2016 Bombardier’s AEM Implementation for Multi-sites Management
Adobe Summit 2016 Bombardier’s AEM Implementation for Multi-sites ManagementAdobe Summit 2016 Bombardier’s AEM Implementation for Multi-sites Management
Adobe Summit 2016 Bombardier’s AEM Implementation for Multi-sites Management
 
Integration patterns in AEM 6
Integration patterns in AEM 6Integration patterns in AEM 6
Integration patterns in AEM 6
 
AEM & eCommerce integration
AEM & eCommerce integrationAEM & eCommerce integration
AEM & eCommerce integration
 
The six key steps to AEM architecture
The six key steps to AEM architectureThe six key steps to AEM architecture
The six key steps to AEM architecture
 
Integrating with Adobe Marketing Cloud - Summit 2014
Integrating with Adobe Marketing Cloud - Summit 2014Integrating with Adobe Marketing Cloud - Summit 2014
Integrating with Adobe Marketing Cloud - Summit 2014
 
Content-Centric Apps for Mobile Devices by John Fait
Content-Centric Apps for Mobile Devices by John FaitContent-Centric Apps for Mobile Devices by John Fait
Content-Centric Apps for Mobile Devices by John Fait
 
AEM Best Practices for Component Development
AEM Best Practices for Component DevelopmentAEM Best Practices for Component Development
AEM Best Practices for Component Development
 

Ähnlich wie Mail chimp Integration with AEM

Affiliates Summit
Affiliates SummitAffiliates Summit
Affiliates Summit
Phi Jack
 
Communication plan-mail chimp
Communication plan-mail chimpCommunication plan-mail chimp
Communication plan-mail chimp
Bob Schnyder
 
Introduction to Email Marketing
Introduction to Email MarketingIntroduction to Email Marketing
Introduction to Email Marketing
LindsayABurton
 
250745501 effective-list-building-secrets
250745501 effective-list-building-secrets250745501 effective-list-building-secrets
250745501 effective-list-building-secrets
Robert Hart
 
Web 3 0 Krista Thomas
Web 3 0 Krista ThomasWeb 3 0 Krista Thomas
Web 3 0 Krista Thomas
Mediabistro
 

Ähnlich wie Mail chimp Integration with AEM (20)

How to Create and Manage Professional Newsletters using MailChimp
How to Create and Manage Professional Newsletters using MailChimp How to Create and Manage Professional Newsletters using MailChimp
How to Create and Manage Professional Newsletters using MailChimp
 
RE How to create a campaign in ReachEngine Dashboard.pptx
RE How to create a campaign in ReachEngine Dashboard.pptxRE How to create a campaign in ReachEngine Dashboard.pptx
RE How to create a campaign in ReachEngine Dashboard.pptx
 
RE How to create a campaign in ReachEngine Dashboard.pptx
RE How to create a campaign in ReachEngine Dashboard.pptxRE How to create a campaign in ReachEngine Dashboard.pptx
RE How to create a campaign in ReachEngine Dashboard.pptx
 
Guide to send your email
Guide to send your emailGuide to send your email
Guide to send your email
 
Affiliates Summit
Affiliates SummitAffiliates Summit
Affiliates Summit
 
How to create a campaign in ReachEngine Dashboard.pptx
How to create a campaign in ReachEngine Dashboard.pptxHow to create a campaign in ReachEngine Dashboard.pptx
How to create a campaign in ReachEngine Dashboard.pptx
 
Communication plan-mail chimp
Communication plan-mail chimpCommunication plan-mail chimp
Communication plan-mail chimp
 
Connector Corner: Power your campaign with Mailchimp, Microsoft Teams, CRM an...
Connector Corner: Power your campaign with Mailchimp, Microsoft Teams, CRM an...Connector Corner: Power your campaign with Mailchimp, Microsoft Teams, CRM an...
Connector Corner: Power your campaign with Mailchimp, Microsoft Teams, CRM an...
 
Introduction to Email Marketing
Introduction to Email MarketingIntroduction to Email Marketing
Introduction to Email Marketing
 
Digital marketing - Introduction to email marketing
Digital marketing - Introduction to email marketingDigital marketing - Introduction to email marketing
Digital marketing - Introduction to email marketing
 
Integrate MailChimp and Salesforce CRM by using ChimpConnect
Integrate MailChimp and Salesforce CRM by using ChimpConnectIntegrate MailChimp and Salesforce CRM by using ChimpConnect
Integrate MailChimp and Salesforce CRM by using ChimpConnect
 
SimpleCRM: Marketing Automation
SimpleCRM: Marketing AutomationSimpleCRM: Marketing Automation
SimpleCRM: Marketing Automation
 
6 Email marketing tips
6 Email marketing tips6 Email marketing tips
6 Email marketing tips
 
250745501 effective-list-building-secrets
250745501 effective-list-building-secrets250745501 effective-list-building-secrets
250745501 effective-list-building-secrets
 
Masterclass: Advanced Strategies on LinkedIn [New York]
Masterclass: Advanced Strategies on LinkedIn [New York]Masterclass: Advanced Strategies on LinkedIn [New York]
Masterclass: Advanced Strategies on LinkedIn [New York]
 
Web 3 0 Krista Thomas 1 26 10
Web 3 0 Krista Thomas 1 26 10Web 3 0 Krista Thomas 1 26 10
Web 3 0 Krista Thomas 1 26 10
 
Web 3 0 Krista Thomas
Web 3 0 Krista ThomasWeb 3 0 Krista Thomas
Web 3 0 Krista Thomas
 
MailChimp and Salesforce Integration to Sync Data by ChimpConnect
MailChimp and Salesforce Integration to Sync Data by ChimpConnectMailChimp and Salesforce Integration to Sync Data by ChimpConnect
MailChimp and Salesforce Integration to Sync Data by ChimpConnect
 
Salesforce Marketing Cloud Connector For Shopify
Salesforce Marketing Cloud Connector For ShopifySalesforce Marketing Cloud Connector For Shopify
Salesforce Marketing Cloud Connector For Shopify
 
Lead Generation Campaign
Lead Generation CampaignLead Generation Campaign
Lead Generation Campaign
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

Mail chimp Integration with AEM

  • 2. www.tothenew.com Agenda  Introduction  Email Marketing in AEM  Existing Flow of Email Marketing in AEM  Disadvantages of current Architecture  Better approach to AEM’s current Email Marketing – MailChimp and its Introduction  MailChimp as One Man Army and its features  Integration of MailChimp with AEM  MailChimp API and Its Working  References
  • 3. www.tothenew.com Introduction Email Marketing is  Directly marketing a commercial message to group of people using email.  Can be used to sends ads, request business or brand/product awareness.  Building customer loyalty, acquiring new customers or convince existing customer and increased sales.
  • 4. www.tothenew.com Where Email Marketing being Used 1. Have you lately received an email from your favorite ecommerce site promoting an exciting offer that prompted you to take action. 2. Do you receive emails from online sources you might have subscribed to (like blogs, notifications) about latest content, offers, etc. ?
  • 5. www.tothenew.com Email Marketing in AEM In AEM, email marketing is done through Newsletters. It’s a part of Campaign management. Once created, you can send newsletter to specific group of users either immediately or at schedule time. You can also add the new content or modify the existing content.
  • 6. www.tothenew.com Existing Flow of Email Marketing in AEM Send a newsletter to Leads in 5 simple steps:  Configure Email Service “Day CQ Mail Service”.  Create a Newsletter (Use Geometrixx Newsletter Template or create a new one.)  Add content to Newsletter or modify the existing content.  Open the settings and associate with the list.  Publish the newsletter and its assets.  And finally Send the newsletter to leads in the list associated with the same.
  • 8. www.tothenew.com Disadvantages in the existing architecture  Performance issues when number of leads increases in terms of managing those leads.  Additional overhead of sending email.
  • 10. www.tothenew.com MailChimp Features  Interface to create Campaign, List  Predefined Templates  Advanced analytics to grow your business  Drag and Drop support for Campaign content creation  Advance feature for including segments with Campaigns  Comprehensive mobile Options that go with you  Flexible API documentation  Sending/scheduling emails
  • 11. www.tothenew.com MailChimp Integration With AEM List Creation Lead Creation Campaign/Newsletter Creation Exporting the Newsletter to MailChimp Send Newsletter
  • 12. www.tothenew.com List Creation  Navigate to http://mailchimp.com  Create a MailChimp account  Go to List Tab and click on “Create List”  Enter the required information and click on “Save” Fill List form & Click Save
  • 13. www.tothenew.com Fetching MailChimp List in AEM  Navigate to http://localhost:4502/miscadmin  Under Tools -> Cloud Services Configuration, select MailChimp and Click on “New”  Select MailChimp Template and click on “Create”  Open the config page and configure the config page as per the MailChimp Account details Via Importer Marketing User AEM MailChimp Config Pages Cloud Service Pages
  • 14. www.tothenew.com Lead Creation  Configure the MailChimp Cloud Service on the page  Drag and Drop the Subscribe-MailChimp Component  End user selects the list  Click on Subscribe. End User AEM
  • 15. www.tothenew.com Newsletter Creation , Exporting & Sending  Navigate to http://localhost:4502/system/console/configMgr  Create a entry in “Day CQ Link Externalizer” in Domains property (mailchimp:<public-DNS-publish-AEM-instance>)  Create a page under Websites -> Campaigns using “MailChimp Newsletter” template  Add the content as per your requirement  Open “Settings” Tab and configure the fields and cloud service  Activate the page and its assets.  Click On “Export Newsletter to MailChimp” tab  To send the Newsletter, click on “Send”
  • 16. www.tothenew.com Marketing Author Newsletter Creation , Exporting & Sending……… Newsletters Newsletters AEM
  • 17. www.tothenew.com MailChimp API Key Points:  Latest version 3.0  Based on REST  Support HTTP Basic-Auth and OAuth2 authentication Method  Define Actions, Resources like Subscribers, Campaigns  Supported Format JSON  Based on HTTPS protocol  Supports pagination http://developer.mailchimp.com/documentation/mailchimp/guides/get-started-with- mailchimp-api-3/
  • 18. www.tothenew.com Http Basic Auth  Widely used protocol for simple username/password authentication.  Easiest authentication method and east to Implement  Safe over secure SSL/HTTPS connection  Examples: Jive, Mail Chimp, Chargify
  • 19. www.tothenew.com Under the hood for (3): Header: Authorization Basic {TOKEN} Where {TOKEN} is Base64(username + ‘:’ + password)
  • 20. www.tothenew.com 3 Simple Steps to Implement Basic Auth 1. Create username and password 2. Encode the <username>:<password> string using base64 3. Add the authorization header with value as Basic <Value generated from step2> Note: For each request to third party API we need to include the authorization header
  • 21. www.tothenew.com Advantages:  Safe over HTTPS/SSL  Easier to implement Several Problems and Limitations:  App can store the user’s credentials  Apps get the complete access to your account  User can’t revoke access to an app except by changing their password  Compromised apps can expose the User’s credentials
  • 22. www.tothenew.com Subscribe A user to a list using CURL…