SlideShare a Scribd company logo
Salesforce Campaign Members Prediction
with AWS Machine Learning
Overview : How to work with AWS Machine Learning
2
DM Campaign to
Top Customers
1
3
2
Trigger AWS ML
1. Add members from Contact
/ Lead records
2. Once members are added to the campaign, Apex
trigger passes each member’s attributes to AWS ML
to get predictions, who are likely to respond the
campaign and who are not
3. The predictions via AWS ML are shown here
Architecture
Trigger
DM Campaign to
Top Customers
Completed campaign records
store each campaign
member’s status such as
sent or responded.
csv file
Report
Create the ML model based on csv file stored in
SFDC. The ML model is a collection of patterns
that Amazon ML finds in your data during training
Campaign members are added
and then the trigger is called to
execute callout request to AWS
API Gateway to get the
predictions Feed those data to
Machine Learning for
prediction
Prepare Training Data for AWS Machine Learning
4
Campaign
Each campaign members
(Contact) has specific
attributes for ML such as
education, job category, and
so on
Once the campaign is completed, the
trigger converts campaign member’s
status (sent or responded) along with all
attributes on his contact/lead record into
AWS Training Datasources record. This
example generates three AWS Training
Datasource records because there are
three campaign members for this
campaign.
Same data
Target 1 : responded
Target 2 : sent
Contact
AWS Training Datasource
Upload Training Data source to S3
5
1. In order to feed training
datasource to AWS
Machine Learning, save all
records as csv file via
report function
csv file
2. Upload csv file to S3
backet
Set up AWS Machine Learning and API
6
1. Create ML Model from csv
file on S3 bucket
2. Review the ML Model’s
Predictive Performance
3. Create Lambda function to
call the ML model
4. Create Rest API to receive
parameters and pass them
to Lambda function in order
to get prediction based on
the ML Model
1
2
3
4
Call the API from Salesforce
7
Once campaign member is added
to a campaign, Apex calls the
prediction API with the member’s
attributes based on his contact
record.
Result
8
The API returns Yes or No
which the member is likely
to respond the invitation and
purchase products.
Salesforce X AWS Machine Learning

More Related Content

PPTX
Token Management using Stormpath inside Mule
PPT
Mule anypoint workday-devkit
PPT
Mule google connectors
PPT
Mule finance connectors
PPT
Anypoint platform highlights
PPT
Mule marketing connectors
PPT
Mule google connectors
PPT
Mule api and service management
Token Management using Stormpath inside Mule
Mule anypoint workday-devkit
Mule google connectors
Mule finance connectors
Anypoint platform highlights
Mule marketing connectors
Mule google connectors
Mule api and service management

What's hot (15)

PPT
Mule human resources connectors
PPTX
Mailchimp app 4 Capsidea
PPT
Mule saas
PPT
Mule api
PDF
10 Step Guide to API Integrations
PPT
Mule google connectors
PPT
Mule add contacts into salesforce
PPTX
Integration with dropbox using mule esb
PPT
Mule oracle connectors
PPT
Mule esb–api layer
PPT
Mule workday-connectors
PPTX
Mule esb stripe
PPT
Mule NetSuite connectors
PPT
Api Layer
PPT
Mule salesforce integration solutions
Mule human resources connectors
Mailchimp app 4 Capsidea
Mule saas
Mule api
10 Step Guide to API Integrations
Mule google connectors
Mule add contacts into salesforce
Integration with dropbox using mule esb
Mule oracle connectors
Mule esb–api layer
Mule workday-connectors
Mule esb stripe
Mule NetSuite connectors
Api Layer
Mule salesforce integration solutions
Ad

Similar to Salesforce X AWS Machine Learning (20)

PPTX
Presentazione tutorial
PDF
Machine Learning for Developers
PPTX
Intro to AWS Machine Learning
PPTX
2019 CDM CIO Summit AI Driven Development
PDF
Machinelearning dg
PDF
Mcl345 re invent_sagemaker_dmbanga
PDF
How ml can improve purchase conversions
PDF
Inawisdom MLOPS
PDF
Machine Learning as a Service with Amazon Machine Learning
PDF
Amazon Machine Learning im Einsatz: smartes Marketing - AWS Machine Learning...
PPTX
Emerging Best Practises for Machine Learning Engineering (Canberra Meetup edits)
PDF
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
PPTX
Inside the mind of Sports and Energy Industry through Machine Learning - Igo...
PDF
Transforming B2B Sales with Spark Powered Sales Intelligence
PDF
Become a Machine Learning developer with AWS (Avril 2019)
PDF
Machine Learning for everyone
PPTX
DevOps and Machine Learning (Geekwire Cloud Tech Summit)
PDF
DutchMLSchool 2022 - End-to-End ML
PDF
Spark summit 2017- Transforming B2B sales with Spark powered sales intelligence
PDF
Transforming B2B Sales with Spark-Powered Sales Intelligence with Songtao Guo...
Presentazione tutorial
Machine Learning for Developers
Intro to AWS Machine Learning
2019 CDM CIO Summit AI Driven Development
Machinelearning dg
Mcl345 re invent_sagemaker_dmbanga
How ml can improve purchase conversions
Inawisdom MLOPS
Machine Learning as a Service with Amazon Machine Learning
Amazon Machine Learning im Einsatz: smartes Marketing - AWS Machine Learning...
Emerging Best Practises for Machine Learning Engineering (Canberra Meetup edits)
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Inside the mind of Sports and Energy Industry through Machine Learning - Igo...
Transforming B2B Sales with Spark Powered Sales Intelligence
Become a Machine Learning developer with AWS (Avril 2019)
Machine Learning for everyone
DevOps and Machine Learning (Geekwire Cloud Tech Summit)
DutchMLSchool 2022 - End-to-End ML
Spark summit 2017- Transforming B2B sales with Spark powered sales intelligence
Transforming B2B Sales with Spark-Powered Sales Intelligence with Songtao Guo...
Ad

More from Akihiro Iwaya (20)

PPTX
Wt13 processing records
PPTX
Wt12 triggering flows
PPTX
Wt11 writing dataweave transformations
PPTX
Wt9 multicast an event
PPTX
Wt8 consuming web services
PPTX
Wt7 structuring mule applications
PPTX
Wt6 accessing and modifying mule event
PPTX
Wt5 deploying and managing ap is
PPTX
Wt4 building apis
PPTX
Wt3 designing apis
PPTX
Iot explore demo for cross clouds
PPTX
Iot explorer デモ (MC, CC, Heroku, Core)
PPTX
Df salesforce dx説明資料
PPTX
IoT explorer タクシー配車デモ
PPTX
Io t工場機器監視デモ
DOCX
Visualforceとは
PPTX
Soracom X AWS Iot X Salesforce
PDF
Force.comハンズオン
PPTX
Lightingコンポーネントベーシック開発
PPTX
Lighting componentワークブック(s1コンタクトリストコンポーネント)
Wt13 processing records
Wt12 triggering flows
Wt11 writing dataweave transformations
Wt9 multicast an event
Wt8 consuming web services
Wt7 structuring mule applications
Wt6 accessing and modifying mule event
Wt5 deploying and managing ap is
Wt4 building apis
Wt3 designing apis
Iot explore demo for cross clouds
Iot explorer デモ (MC, CC, Heroku, Core)
Df salesforce dx説明資料
IoT explorer タクシー配車デモ
Io t工場機器監視デモ
Visualforceとは
Soracom X AWS Iot X Salesforce
Force.comハンズオン
Lightingコンポーネントベーシック開発
Lighting componentワークブック(s1コンタクトリストコンポーネント)

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Cloud computing and distributed systems.
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
MYSQL Presentation for SQL database connectivity
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
KodekX | Application Modernization Development
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
Teaching material agriculture food technology
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Electronic commerce courselecture one. Pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Cloud computing and distributed systems.
Unlocking AI with Model Context Protocol (MCP)
Machine learning based COVID-19 study performance prediction
NewMind AI Weekly Chronicles - August'25 Week I
MYSQL Presentation for SQL database connectivity
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KodekX | Application Modernization Development
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Chapter 3 Spatial Domain Image Processing.pdf
Teaching material agriculture food technology
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Electronic commerce courselecture one. Pdf
Review of recent advances in non-invasive hemoglobin estimation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Building Integrated photovoltaic BIPV_UPV.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
A Presentation on Artificial Intelligence

Salesforce X AWS Machine Learning

  • 1. Salesforce Campaign Members Prediction with AWS Machine Learning
  • 2. Overview : How to work with AWS Machine Learning 2 DM Campaign to Top Customers 1 3 2 Trigger AWS ML 1. Add members from Contact / Lead records 2. Once members are added to the campaign, Apex trigger passes each member’s attributes to AWS ML to get predictions, who are likely to respond the campaign and who are not 3. The predictions via AWS ML are shown here
  • 3. Architecture Trigger DM Campaign to Top Customers Completed campaign records store each campaign member’s status such as sent or responded. csv file Report Create the ML model based on csv file stored in SFDC. The ML model is a collection of patterns that Amazon ML finds in your data during training Campaign members are added and then the trigger is called to execute callout request to AWS API Gateway to get the predictions Feed those data to Machine Learning for prediction
  • 4. Prepare Training Data for AWS Machine Learning 4 Campaign Each campaign members (Contact) has specific attributes for ML such as education, job category, and so on Once the campaign is completed, the trigger converts campaign member’s status (sent or responded) along with all attributes on his contact/lead record into AWS Training Datasources record. This example generates three AWS Training Datasource records because there are three campaign members for this campaign. Same data Target 1 : responded Target 2 : sent Contact AWS Training Datasource
  • 5. Upload Training Data source to S3 5 1. In order to feed training datasource to AWS Machine Learning, save all records as csv file via report function csv file 2. Upload csv file to S3 backet
  • 6. Set up AWS Machine Learning and API 6 1. Create ML Model from csv file on S3 bucket 2. Review the ML Model’s Predictive Performance 3. Create Lambda function to call the ML model 4. Create Rest API to receive parameters and pass them to Lambda function in order to get prediction based on the ML Model 1 2 3 4
  • 7. Call the API from Salesforce 7 Once campaign member is added to a campaign, Apex calls the prediction API with the member’s attributes based on his contact record.
  • 8. Result 8 The API returns Yes or No which the member is likely to respond the invitation and purchase products.