SlideShare a Scribd company logo
1 of 15
Salesforce Apex Hours
Einstein Next Best Action
The Other NBA
#SalesforceApexHours
Speaker :- Daniel Peter(Salesforce MVP), Amit Chaudhary
Date :- Saturday, FEB 16, 2019 10:00 AM EST (8:30 PM IST)
Venue/Link :- https://zoom.us/j/847916414
Who am I ?
Amit Chaudhary
• Active on Salesforce Developer Community
• Blogging at http://amitsalesforce.blogspot.in/
• Co-Organizer of :- FarmingtonHillsSFDCDug
• Salesforce MVP
Our Speaker
Daniel Peter
• 2x Salesforce MVP
• 25x Salesforce Certified
• Salesforce Practice Lead, Robots & Pencils
• Bay Area Salesforce Dev Group
• @danieljpeter
Einstein Next Best Action is not AI.
But it is still incredible.
And you will see how easily you can customize it to
power it with any AI of your choice.
Terminology
Strategy Builder
UI for managing the overall loading, filter and branching logic of the recommendations.
Recommendations
A new standard object in Salesforce. Text, an image, custom fields.
Action strategies
Determine which recommendations you show. You build these with Strategy Builder.
Screen flow
Built with lightning flow builder, this is how you execute the recommendation.
Demo
Tips
1 strategy per object
5,000 Next Best Action strategy requests per month at no charge.
Image size for recommendations
1000 x 380 recommended by salesforce
1000 x 450 seemed to look better on desktop to me
Tips
Writing formulas in strategy builder.
No formula editor! (yet?)
Write the formula in a “scratch” formula field, copy and paste into strategy builder.
Tips
Writing formulas in strategy builder.
Add “$Record.” before the field name when you paste
Tips
Writing formulas in strategy builder.
CONTAINS($Record.Subject, 'beer') || CONTAINS($Record.Subject, 'thirsty')
It’s called Einstein. How do you get the AI?
It’s all about the custom Action Strategies!
1) Create a connection to invocable Apex in Strategy Builder. Call any prediction
service.
2) Run predictions on any fields on the object, write the predicted values, and
reference these values in your filter expression in Strategy Builder. Batch Apex,
Aysnc Apex, Prediction Builder!
3) Combination of human intelligence (rules) + AI if you want
Issues
Dynamic screen flows launched from recommendations
Can’t seem to get the recommendation Id of the recommendation launching the
flow. Can only get the parent record such as Case Id. This means you would have
to make different screen flows for different recommendations if you wanted them to
do custom things for each recommendation.
Hopefully someone will solve this (Salesforce?)
Packaging / Metadata / Backend
https://developer.salesforce.com/docs/metadata-coverage
Custom fields on Recommendation object not available for managed package. Can retrieve /
deploy, data load.
Strategies not available for managed package
https://developer.salesforce.com/docs/atlas.en-
us.api_meta.meta/api_meta/meta_recommendationstrategy.htm
Can query via tooling API: SELECT Id, fullName FROM RecommendationStrategy
Flows are packageable
Chatter API: https://developer.salesforce.com/docs/atlas.en-
us.chatterapi.meta/chatterapi/connect_resources_nba_resources.htm
Docs
Einstein Next Best Action Docs
https://help.salesforce.com/articleView?id=einstein_next_best_action.htm
Strategy Builder
https://help.salesforce.com/articleView?id=nba_strategy_builder_tour.htm&type=5
NBA expressions
https://help.salesforce.com/articleView?id=nba_strategy_expressions.htm
https://help.salesforce.com/articleView?id=customize_functions.htm&type=5
Thank you!
#SalesforceApexHours

More Related Content

What's hot

Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)Salesforce Partners
 
Understanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We DoUnderstanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We DoSalesforce Developers
 
Microsoft power platform
Microsoft power platformMicrosoft power platform
Microsoft power platformJenkins NS
 
Best Practices for Rolling Out New Functionality
Best Practices for Rolling Out New FunctionalityBest Practices for Rolling Out New Functionality
Best Practices for Rolling Out New FunctionalitySalesforce Admins
 
MICROSOFT 365 STRATEGY & SUCCESS: PRACTICAL TOOLS & TECHNIQUES FOR THE STRATE...
MICROSOFT 365 STRATEGY & SUCCESS: PRACTICAL TOOLS & TECHNIQUES FOR THE STRATE...MICROSOFT 365 STRATEGY & SUCCESS: PRACTICAL TOOLS & TECHNIQUES FOR THE STRATE...
MICROSOFT 365 STRATEGY & SUCCESS: PRACTICAL TOOLS & TECHNIQUES FOR THE STRATE...Richard Harbridge
 
Microsoft PowerApps and Flow
Microsoft PowerApps and FlowMicrosoft PowerApps and Flow
Microsoft PowerApps and FlowSteve Knutson
 
Introducing the Salesforce platform
Introducing the Salesforce platformIntroducing the Salesforce platform
Introducing the Salesforce platformJohn Stevenson
 
Complete Guide To Salesforce Einstein Analytics
Complete Guide To Salesforce Einstein AnalyticsComplete Guide To Salesforce Einstein Analytics
Complete Guide To Salesforce Einstein AnalyticsCloud Analogy
 
Cheat Sheet: Salesforce Einstein for Customer Service
Cheat Sheet: Salesforce Einstein for Customer ServiceCheat Sheet: Salesforce Einstein for Customer Service
Cheat Sheet: Salesforce Einstein for Customer ServiceIvan Harris
 
Automate Data Scraping and Extraction for Web
Automate Data Scraping and Extraction for WebAutomate Data Scraping and Extraction for Web
Automate Data Scraping and Extraction for WebHelpSystems
 
Pardot Hands-On Training: Getting More Out of Your Salesforce Pardot Integrat...
Pardot Hands-On Training: Getting More Out of Your Salesforce Pardot Integrat...Pardot Hands-On Training: Getting More Out of Your Salesforce Pardot Integrat...
Pardot Hands-On Training: Getting More Out of Your Salesforce Pardot Integrat...Jeremy Mason
 
Pardot B2B Marketing Automation
Pardot B2B Marketing AutomationPardot B2B Marketing Automation
Pardot B2B Marketing AutomationJulie Minner
 
A comprehensive guide to Salesforce Org Strategy
A comprehensive guide to Salesforce Org StrategyA comprehensive guide to Salesforce Org Strategy
A comprehensive guide to Salesforce Org StrategyGaytri khandelwal
 

What's hot (20)

Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
 
Salesforce 101
Salesforce 101Salesforce 101
Salesforce 101
 
Understanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We DoUnderstanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We Do
 
Microsoft power platform
Microsoft power platformMicrosoft power platform
Microsoft power platform
 
Best Practices for Rolling Out New Functionality
Best Practices for Rolling Out New FunctionalityBest Practices for Rolling Out New Functionality
Best Practices for Rolling Out New Functionality
 
Salesforce Deck Template
Salesforce Deck TemplateSalesforce Deck Template
Salesforce Deck Template
 
MICROSOFT 365 STRATEGY & SUCCESS: PRACTICAL TOOLS & TECHNIQUES FOR THE STRATE...
MICROSOFT 365 STRATEGY & SUCCESS: PRACTICAL TOOLS & TECHNIQUES FOR THE STRATE...MICROSOFT 365 STRATEGY & SUCCESS: PRACTICAL TOOLS & TECHNIQUES FOR THE STRATE...
MICROSOFT 365 STRATEGY & SUCCESS: PRACTICAL TOOLS & TECHNIQUES FOR THE STRATE...
 
Microsoft PowerApps and Flow
Microsoft PowerApps and FlowMicrosoft PowerApps and Flow
Microsoft PowerApps and Flow
 
Introducing the Salesforce platform
Introducing the Salesforce platformIntroducing the Salesforce platform
Introducing the Salesforce platform
 
Complete Guide To Salesforce Einstein Analytics
Complete Guide To Salesforce Einstein AnalyticsComplete Guide To Salesforce Einstein Analytics
Complete Guide To Salesforce Einstein Analytics
 
Cheat Sheet: Salesforce Einstein for Customer Service
Cheat Sheet: Salesforce Einstein for Customer ServiceCheat Sheet: Salesforce Einstein for Customer Service
Cheat Sheet: Salesforce Einstein for Customer Service
 
Einstein Analytics
Einstein Analytics Einstein Analytics
Einstein Analytics
 
Salesforce Pardot Benefits
Salesforce Pardot BenefitsSalesforce Pardot Benefits
Salesforce Pardot Benefits
 
SharePoint as a Document Management System (DMS)
SharePoint as a Document Management System (DMS)SharePoint as a Document Management System (DMS)
SharePoint as a Document Management System (DMS)
 
Automate Data Scraping and Extraction for Web
Automate Data Scraping and Extraction for WebAutomate Data Scraping and Extraction for Web
Automate Data Scraping and Extraction for Web
 
Pardot Hands-On Training: Getting More Out of Your Salesforce Pardot Integrat...
Pardot Hands-On Training: Getting More Out of Your Salesforce Pardot Integrat...Pardot Hands-On Training: Getting More Out of Your Salesforce Pardot Integrat...
Pardot Hands-On Training: Getting More Out of Your Salesforce Pardot Integrat...
 
Salesforce Einstein Analytics
Salesforce Einstein AnalyticsSalesforce Einstein Analytics
Salesforce Einstein Analytics
 
Pardot B2B Marketing Automation
Pardot B2B Marketing AutomationPardot B2B Marketing Automation
Pardot B2B Marketing Automation
 
A comprehensive guide to Salesforce Org Strategy
A comprehensive guide to Salesforce Org StrategyA comprehensive guide to Salesforce Org Strategy
A comprehensive guide to Salesforce Org Strategy
 
Development Best Practices
Development Best PracticesDevelopment Best Practices
Development Best Practices
 

Similar to Einstein Next Best Action (NBA)

Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...NadinaLisbon1
 
WORKSHOP: STRATEGY AND SUCCESS WITH OFFICE 365: PRACTICAL TOOLS AND TECHNIQUE...
WORKSHOP: STRATEGY AND SUCCESS WITH OFFICE 365: PRACTICAL TOOLS AND TECHNIQUE...WORKSHOP: STRATEGY AND SUCCESS WITH OFFICE 365: PRACTICAL TOOLS AND TECHNIQUE...
WORKSHOP: STRATEGY AND SUCCESS WITH OFFICE 365: PRACTICAL TOOLS AND TECHNIQUE...Richard Harbridge
 
Machine learning with salesforce data using prediction io
Machine learning with salesforce data using prediction ioMachine learning with salesforce data using prediction io
Machine learning with salesforce data using prediction ioMohith Shrivastava
 
How to Product: Lifecycle of an Enterprise SaaS Product
How to Product: Lifecycle of an Enterprise SaaS ProductHow to Product: Lifecycle of an Enterprise SaaS Product
How to Product: Lifecycle of an Enterprise SaaS Productasimfayaz
 
Pittsburgh, PA Salesforce Trailblazer Community Group Global Gathering DF2019
Pittsburgh, PA Salesforce Trailblazer Community Group Global Gathering DF2019Pittsburgh, PA Salesforce Trailblazer Community Group Global Gathering DF2019
Pittsburgh, PA Salesforce Trailblazer Community Group Global Gathering DF2019Becky Willis
 
Shift AI 2020: Building AI-first Products - Ehsan Yousefzadeh (AIG Investments)
Shift AI 2020: Building AI-first Products - Ehsan Yousefzadeh (AIG Investments)Shift AI 2020: Building AI-first Products - Ehsan Yousefzadeh (AIG Investments)
Shift AI 2020: Building AI-first Products - Ehsan Yousefzadeh (AIG Investments)Shift Conference
 
skillshare organic search strategy
skillshare organic search strategyskillshare organic search strategy
skillshare organic search strategyAlexis Sanders
 
Maintainable Machine Learning Products
Maintainable Machine Learning ProductsMaintainable Machine Learning Products
Maintainable Machine Learning ProductsAndrew Musselman
 
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...Andrew Ly
 
Strange but True: Counterintiutive Paths to Building a Business on APIs
Strange but True: Counterintiutive Paths to Building a Business on APIsStrange but True: Counterintiutive Paths to Building a Business on APIs
Strange but True: Counterintiutive Paths to Building a Business on APIsThomas Bouldin
 
Getting More Out Of Microsoft 365: From The Microsoft Graph To Workplace Anal...
Getting More Out Of Microsoft 365: From The Microsoft Graph To Workplace Anal...Getting More Out Of Microsoft 365: From The Microsoft Graph To Workplace Anal...
Getting More Out Of Microsoft 365: From The Microsoft Graph To Workplace Anal...Richard Harbridge
 
Learning About GenAI Engineering with AWS PartyRock [AWS User Group Basel - F...
Learning About GenAI Engineering with AWS PartyRock [AWS User Group Basel - F...Learning About GenAI Engineering with AWS PartyRock [AWS User Group Basel - F...
Learning About GenAI Engineering with AWS PartyRock [AWS User Group Basel - F...Chris Bingham
 
Serverless projects at Myplanet
Serverless projects at MyplanetServerless projects at Myplanet
Serverless projects at MyplanetDaniel Zivkovic
 
Belladati Meetup Singapore Workshop
Belladati Meetup Singapore WorkshopBelladati Meetup Singapore Workshop
Belladati Meetup Singapore Workshopbelladati
 
Empowering you - Power BI, Power Platform & AI Builder
Empowering you  -  Power BI, Power Platform & AI BuilderEmpowering you  -  Power BI, Power Platform & AI Builder
Empowering you - Power BI, Power Platform & AI BuilderRui Quintino
 
Data Science at Speed. At Scale.
Data Science at Speed. At Scale.Data Science at Speed. At Scale.
Data Science at Speed. At Scale.DataWorks Summit
 
Startup Vision definition
Startup Vision definitionStartup Vision definition
Startup Vision definitionNeal Cabage
 
ChatGPT and not only: How to use the power of GPT-X models at scale
ChatGPT and not only: How to use the power of GPT-X models at scaleChatGPT and not only: How to use the power of GPT-X models at scale
ChatGPT and not only: How to use the power of GPT-X models at scaleMaxim Salnikov
 

Similar to Einstein Next Best Action (NBA) (20)

Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
 
WORKSHOP: STRATEGY AND SUCCESS WITH OFFICE 365: PRACTICAL TOOLS AND TECHNIQUE...
WORKSHOP: STRATEGY AND SUCCESS WITH OFFICE 365: PRACTICAL TOOLS AND TECHNIQUE...WORKSHOP: STRATEGY AND SUCCESS WITH OFFICE 365: PRACTICAL TOOLS AND TECHNIQUE...
WORKSHOP: STRATEGY AND SUCCESS WITH OFFICE 365: PRACTICAL TOOLS AND TECHNIQUE...
 
Machine learning with salesforce data using prediction io
Machine learning with salesforce data using prediction ioMachine learning with salesforce data using prediction io
Machine learning with salesforce data using prediction io
 
How to Product: Lifecycle of an Enterprise SaaS Product
How to Product: Lifecycle of an Enterprise SaaS ProductHow to Product: Lifecycle of an Enterprise SaaS Product
How to Product: Lifecycle of an Enterprise SaaS Product
 
Pittsburgh, PA Salesforce Trailblazer Community Group Global Gathering DF2019
Pittsburgh, PA Salesforce Trailblazer Community Group Global Gathering DF2019Pittsburgh, PA Salesforce Trailblazer Community Group Global Gathering DF2019
Pittsburgh, PA Salesforce Trailblazer Community Group Global Gathering DF2019
 
Shift AI 2020: Building AI-first Products - Ehsan Yousefzadeh (AIG Investments)
Shift AI 2020: Building AI-first Products - Ehsan Yousefzadeh (AIG Investments)Shift AI 2020: Building AI-first Products - Ehsan Yousefzadeh (AIG Investments)
Shift AI 2020: Building AI-first Products - Ehsan Yousefzadeh (AIG Investments)
 
skillshare organic search strategy
skillshare organic search strategyskillshare organic search strategy
skillshare organic search strategy
 
Maintainable Machine Learning Products
Maintainable Machine Learning ProductsMaintainable Machine Learning Products
Maintainable Machine Learning Products
 
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
 
Strange but True: Counterintiutive Paths to Building a Business on APIs
Strange but True: Counterintiutive Paths to Building a Business on APIsStrange but True: Counterintiutive Paths to Building a Business on APIs
Strange but True: Counterintiutive Paths to Building a Business on APIs
 
Microsoft Cognitive Service, Tap into the Power of Machine Learning with Easy...
Microsoft Cognitive Service, Tap into the Power of Machine Learning with Easy...Microsoft Cognitive Service, Tap into the Power of Machine Learning with Easy...
Microsoft Cognitive Service, Tap into the Power of Machine Learning with Easy...
 
Getting More Out Of Microsoft 365: From The Microsoft Graph To Workplace Anal...
Getting More Out Of Microsoft 365: From The Microsoft Graph To Workplace Anal...Getting More Out Of Microsoft 365: From The Microsoft Graph To Workplace Anal...
Getting More Out Of Microsoft 365: From The Microsoft Graph To Workplace Anal...
 
Learning About GenAI Engineering with AWS PartyRock [AWS User Group Basel - F...
Learning About GenAI Engineering with AWS PartyRock [AWS User Group Basel - F...Learning About GenAI Engineering with AWS PartyRock [AWS User Group Basel - F...
Learning About GenAI Engineering with AWS PartyRock [AWS User Group Basel - F...
 
Resume
ResumeResume
Resume
 
Serverless projects at Myplanet
Serverless projects at MyplanetServerless projects at Myplanet
Serverless projects at Myplanet
 
Belladati Meetup Singapore Workshop
Belladati Meetup Singapore WorkshopBelladati Meetup Singapore Workshop
Belladati Meetup Singapore Workshop
 
Empowering you - Power BI, Power Platform & AI Builder
Empowering you  -  Power BI, Power Platform & AI BuilderEmpowering you  -  Power BI, Power Platform & AI Builder
Empowering you - Power BI, Power Platform & AI Builder
 
Data Science at Speed. At Scale.
Data Science at Speed. At Scale.Data Science at Speed. At Scale.
Data Science at Speed. At Scale.
 
Startup Vision definition
Startup Vision definitionStartup Vision definition
Startup Vision definition
 
ChatGPT and not only: How to use the power of GPT-X models at scale
ChatGPT and not only: How to use the power of GPT-X models at scaleChatGPT and not only: How to use the power of GPT-X models at scale
ChatGPT and not only: How to use the power of GPT-X models at scale
 

More from Amit Chaudhary

Apex code Benchmarking
Apex code BenchmarkingApex code Benchmarking
Apex code BenchmarkingAmit Chaudhary
 
Empower admins with the power of salesforce dx, git and cicd pipeline
Empower admins with the power of salesforce dx, git and cicd pipelineEmpower admins with the power of salesforce dx, git and cicd pipeline
Empower admins with the power of salesforce dx, git and cicd pipelineAmit Chaudhary
 
Marketing cloud development
Marketing cloud developmentMarketing cloud development
Marketing cloud developmentAmit Chaudhary
 
Salesforce Apex Hours : Node red for salesforce
Salesforce Apex Hours : Node red for salesforceSalesforce Apex Hours : Node red for salesforce
Salesforce Apex Hours : Node red for salesforceAmit Chaudhary
 
Modular application development using unlocked packages
Modular application development using unlocked packagesModular application development using unlocked packages
Modular application development using unlocked packagesAmit Chaudhary
 
Lightning web components
Lightning web componentsLightning web components
Lightning web componentsAmit Chaudhary
 
Lightning web components
Lightning web componentsLightning web components
Lightning web componentsAmit Chaudhary
 
Lightning Locker Services
Lightning Locker ServicesLightning Locker Services
Lightning Locker ServicesAmit Chaudhary
 
Salesforce apex hours heroku connect - deep dive
Salesforce apex hours   heroku connect - deep diveSalesforce apex hours   heroku connect - deep dive
Salesforce apex hours heroku connect - deep diveAmit Chaudhary
 
Salesforce apex hours :- azure active directory seamless single sign-on with...
Salesforce apex hours  :- azure active directory seamless single sign-on with...Salesforce apex hours  :- azure active directory seamless single sign-on with...
Salesforce apex hours :- azure active directory seamless single sign-on with...Amit Chaudhary
 
Salesforce DX for Non-Scratch Org
Salesforce DX for Non-Scratch OrgSalesforce DX for Non-Scratch Org
Salesforce DX for Non-Scratch OrgAmit Chaudhary
 
Einstein Analytics Part 2
Einstein Analytics Part 2Einstein Analytics Part 2
Einstein Analytics Part 2Amit Chaudhary
 
Demystifying the salesforce reports api
Demystifying the salesforce reports apiDemystifying the salesforce reports api
Demystifying the salesforce reports apiAmit Chaudhary
 
Salesforce apex hours Einstein platform services
Salesforce apex hours   Einstein platform servicesSalesforce apex hours   Einstein platform services
Salesforce apex hours Einstein platform servicesAmit Chaudhary
 
Salesforce Apex Hours : How Lightning Platform Query Optimizer works for LDV
Salesforce Apex Hours : How Lightning Platform Query Optimizer works for LDVSalesforce Apex Hours : How Lightning Platform Query Optimizer works for LDV
Salesforce Apex Hours : How Lightning Platform Query Optimizer works for LDVAmit Chaudhary
 
Integrating with salesforce using platform events
Integrating with salesforce using platform eventsIntegrating with salesforce using platform events
Integrating with salesforce using platform eventsAmit Chaudhary
 
Einstein analytics basics
Einstein analytics basicsEinstein analytics basics
Einstein analytics basicsAmit Chaudhary
 

More from Amit Chaudhary (20)

Platform cache
Platform cachePlatform cache
Platform cache
 
Apex code Benchmarking
Apex code BenchmarkingApex code Benchmarking
Apex code Benchmarking
 
Empower admins with the power of salesforce dx, git and cicd pipeline
Empower admins with the power of salesforce dx, git and cicd pipelineEmpower admins with the power of salesforce dx, git and cicd pipeline
Empower admins with the power of salesforce dx, git and cicd pipeline
 
Marketing cloud development
Marketing cloud developmentMarketing cloud development
Marketing cloud development
 
Salesforce Apex Hours : Node red for salesforce
Salesforce Apex Hours : Node red for salesforceSalesforce Apex Hours : Node red for salesforce
Salesforce Apex Hours : Node red for salesforce
 
Modular application development using unlocked packages
Modular application development using unlocked packagesModular application development using unlocked packages
Modular application development using unlocked packages
 
Pardot basics
Pardot basicsPardot basics
Pardot basics
 
Lightning web components
Lightning web componentsLightning web components
Lightning web components
 
Lightning web components
Lightning web componentsLightning web components
Lightning web components
 
Lightning Locker Services
Lightning Locker ServicesLightning Locker Services
Lightning Locker Services
 
Salesforce apex hours heroku connect - deep dive
Salesforce apex hours   heroku connect - deep diveSalesforce apex hours   heroku connect - deep dive
Salesforce apex hours heroku connect - deep dive
 
Salesforce apex hours :- azure active directory seamless single sign-on with...
Salesforce apex hours  :- azure active directory seamless single sign-on with...Salesforce apex hours  :- azure active directory seamless single sign-on with...
Salesforce apex hours :- azure active directory seamless single sign-on with...
 
Salesforce DX for Non-Scratch Org
Salesforce DX for Non-Scratch OrgSalesforce DX for Non-Scratch Org
Salesforce DX for Non-Scratch Org
 
Einstein Analytics Part 2
Einstein Analytics Part 2Einstein Analytics Part 2
Einstein Analytics Part 2
 
Demystifying the salesforce reports api
Demystifying the salesforce reports apiDemystifying the salesforce reports api
Demystifying the salesforce reports api
 
Salesforce apex hours Einstein platform services
Salesforce apex hours   Einstein platform servicesSalesforce apex hours   Einstein platform services
Salesforce apex hours Einstein platform services
 
Salesforce Apex Hours : How Lightning Platform Query Optimizer works for LDV
Salesforce Apex Hours : How Lightning Platform Query Optimizer works for LDVSalesforce Apex Hours : How Lightning Platform Query Optimizer works for LDV
Salesforce Apex Hours : How Lightning Platform Query Optimizer works for LDV
 
Einstein bots
Einstein botsEinstein bots
Einstein bots
 
Integrating with salesforce using platform events
Integrating with salesforce using platform eventsIntegrating with salesforce using platform events
Integrating with salesforce using platform events
 
Einstein analytics basics
Einstein analytics basicsEinstein analytics basics
Einstein analytics basics
 

Recently uploaded

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 

Recently uploaded (20)

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 

Einstein Next Best Action (NBA)

  • 1. Salesforce Apex Hours Einstein Next Best Action The Other NBA #SalesforceApexHours Speaker :- Daniel Peter(Salesforce MVP), Amit Chaudhary Date :- Saturday, FEB 16, 2019 10:00 AM EST (8:30 PM IST) Venue/Link :- https://zoom.us/j/847916414
  • 2. Who am I ? Amit Chaudhary • Active on Salesforce Developer Community • Blogging at http://amitsalesforce.blogspot.in/ • Co-Organizer of :- FarmingtonHillsSFDCDug • Salesforce MVP
  • 3. Our Speaker Daniel Peter • 2x Salesforce MVP • 25x Salesforce Certified • Salesforce Practice Lead, Robots & Pencils • Bay Area Salesforce Dev Group • @danieljpeter
  • 4. Einstein Next Best Action is not AI. But it is still incredible. And you will see how easily you can customize it to power it with any AI of your choice.
  • 5. Terminology Strategy Builder UI for managing the overall loading, filter and branching logic of the recommendations. Recommendations A new standard object in Salesforce. Text, an image, custom fields. Action strategies Determine which recommendations you show. You build these with Strategy Builder. Screen flow Built with lightning flow builder, this is how you execute the recommendation.
  • 7. Tips 1 strategy per object 5,000 Next Best Action strategy requests per month at no charge. Image size for recommendations 1000 x 380 recommended by salesforce 1000 x 450 seemed to look better on desktop to me
  • 8. Tips Writing formulas in strategy builder. No formula editor! (yet?) Write the formula in a “scratch” formula field, copy and paste into strategy builder.
  • 9. Tips Writing formulas in strategy builder. Add “$Record.” before the field name when you paste
  • 10. Tips Writing formulas in strategy builder. CONTAINS($Record.Subject, 'beer') || CONTAINS($Record.Subject, 'thirsty')
  • 11. It’s called Einstein. How do you get the AI? It’s all about the custom Action Strategies! 1) Create a connection to invocable Apex in Strategy Builder. Call any prediction service. 2) Run predictions on any fields on the object, write the predicted values, and reference these values in your filter expression in Strategy Builder. Batch Apex, Aysnc Apex, Prediction Builder! 3) Combination of human intelligence (rules) + AI if you want
  • 12. Issues Dynamic screen flows launched from recommendations Can’t seem to get the recommendation Id of the recommendation launching the flow. Can only get the parent record such as Case Id. This means you would have to make different screen flows for different recommendations if you wanted them to do custom things for each recommendation. Hopefully someone will solve this (Salesforce?)
  • 13. Packaging / Metadata / Backend https://developer.salesforce.com/docs/metadata-coverage Custom fields on Recommendation object not available for managed package. Can retrieve / deploy, data load. Strategies not available for managed package https://developer.salesforce.com/docs/atlas.en- us.api_meta.meta/api_meta/meta_recommendationstrategy.htm Can query via tooling API: SELECT Id, fullName FROM RecommendationStrategy Flows are packageable Chatter API: https://developer.salesforce.com/docs/atlas.en- us.chatterapi.meta/chatterapi/connect_resources_nba_resources.htm
  • 14. Docs Einstein Next Best Action Docs https://help.salesforce.com/articleView?id=einstein_next_best_action.htm Strategy Builder https://help.salesforce.com/articleView?id=nba_strategy_builder_tour.htm&type=5 NBA expressions https://help.salesforce.com/articleView?id=nba_strategy_expressions.htm https://help.salesforce.com/articleView?id=customize_functions.htm&type=5