SlideShare a Scribd company logo
Integrating High-Velocity External
Data in Your Salesforce Application
​ Stan Lemon
​ Software Engineer
​ slemon@salesforce.com
​ @stanlemon
​ 
Fusing real time information with Salesforce user’s data.
​ Michael Ellis
​ Software Engineer
​ mellis@salesforce.com
​ 
​ Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
​ This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize
or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the
forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any
projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding
strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or
technology developments and customer contracts or use of our services.
​ The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for
our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate
of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with
completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability
to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our
limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential
factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year
and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are
available on the SEC Filings section of the Investor Information section of our Web site.
​ Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and
may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are
currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Safe Harbor
Integrating High-Velocity External Data in Your Salesforce Application
Who We Are
Michael Ellis Stan Lemon
Integrating High-Velocity External Data in Your Salesforce Application
Integrating High-Velocity External Data in Your Salesforce Application
•  Sales rep sends a 1-1 email campaign to a lead: “Hey, I thought you might be
interested in knowing about our latest model of flux capacitor…”
•  Customer (Lead) opens email; the email contains a tracker link which is pinged.
•  Sales rep immediately sees the email open activity on their Engage Alerts
dashboard.
•  Customer (Lead) clicks a link within the email to learn more about the latest flux
capacitor model.
•  Sales rep immediately sees the email click activity on their Engage Alerts
dashboard.
•  Sales rep counts down a minute, 60...59...
•  Sales rep calls Customer (Lead) and sets up a demo of the latest flux capacitor.
•  A week later the Sales rep closes the deal! #winning
Use Case
Integrating High-Velocity External Data in Your Salesforce Application
Dashboard
Filters
Some Considerations for Implementing Engage
• Existing Platform
•  Latency
• Data volume could be BIG
• Hydrate real-time data with Salesforce data
•  API Limits
•  Authentication
• Deploy to Heroku
• WebSocket in NodeJS
•  OAuth
•  Heroku Connect
•  VisualForce Page
We’ll call it the… Dream Stream
Let’s Build a Real Time Stream
Heroku Hobby Instance
Heroku Connect
• Package.json
• Authenticator
• Dream-socket
• Dream-api
• Visualforce
• Server
•  Procfile
Dream Stream Project
Dream Stream Architecture
Initial
OAuth*
Sales Rep
Input
Events
Leads/Contacts
Salesforce Auth
*OAuth also involves communicating with Salesforce (not
shown); for Heroku Connect, OAuth is already handled
Server: Input
Server: Hydration
Dream-socket
Authenticator
Salesforce
Login
Sales Rep
Dream-api
Salesforce Sync
Salesforce Leads &
Contacts
Socket Connect/Login
Stream Event
package.json
authenticator
Salesforce Auth
Dream-socket
Authenticator
Dream-api
Socket Connect/
Login
Stream Event
https://jsforce.github.io/
npm install jsforce
server: socket and console
server: event send
dream-api
visualforce
visualforce: script
Live Demo
Integrating High-Velocity External Data in Your Salesforce Application
Integrating High-Velocity External Data in Your Salesforce Application
Integrating High-Velocity External Data in Your Salesforce Application
Event Activity Persistence
http://github.com/stanlemon/dream-stream
Questions?
slemon@salesforce.com
mellis@salesforce.com
Thank you
Share Your Feedback, and Win a GoPro!
3
Earn a GoPro prize entry for
each completed survey
Tap the bell to take a
survey2Enroll in a session1

More Related Content

PPTX
Which quoting tool is right for you
PPTX
Automate Tasks for Transitioning Employees with Process Builder and Flow by K...
PPTX
Using Third-Party Tools for Easy Data Manipulation by Ashima Saigal, M. Sridh...
PPTX
Data import options- Salesforce Dreamforce presentation
PPTX
Lightning Flow: The Best Feature You're Not Using
PPTX
Authentic Connections in an Online World by Mary Scotton, Leah Hunter & Jessi...
PPT
Chatter - Salesforce.com
PPTX
Are You Truly Ready for Your Salesforce Project?
Which quoting tool is right for you
Automate Tasks for Transitioning Employees with Process Builder and Flow by K...
Using Third-Party Tools for Easy Data Manipulation by Ashima Saigal, M. Sridh...
Data import options- Salesforce Dreamforce presentation
Lightning Flow: The Best Feature You're Not Using
Authentic Connections in an Online World by Mary Scotton, Leah Hunter & Jessi...
Chatter - Salesforce.com
Are You Truly Ready for Your Salesforce Project?

What's hot (19)

PDF
WT19: Lightning Layout Tricks
PDF
SFWT18 - Get Smarter: Integrate Salesforce Einstein Vision with Alexa
PDF
Commission Tracking: Automate Using Process Builder, Formulas and Workflows! ...
PDF
New from Salesforce Labs
PPTX
Managing Exceptions with Salesforce Reporting
PDF
Navigate Your Salesforce Career
PDF
Fun with Flows - Terry Cole
PPTX
Using Salesforce to Manage Your Developer Community
PDF
Webinar: How Admins Solve Problems with AppExchange Apps
PPTX
Process Automation Makeover: Transform Multiple Workflows into One Process by...
PDF
Become a Superstar Admin with Custom Metadata Types
PDF
WT16 - Cloud Services Portfolio
PDF
Webinar: So You Inherited (or Created) a Mess...Now What?
PDF
Building Mobile Apps That Deliver Salesforce to Your Employees
PDF
CNX16 - 1:1 Email Messaging
PDF
Webinar: Best Practices for Rolling Out Einstein
PDF
Get Started with the Lightning Platform
PDF
Metrics Worth Measuring: Align Business Goals to Salesforce Adoption
PPTX
Top 5 Tips for Solo Admins
WT19: Lightning Layout Tricks
SFWT18 - Get Smarter: Integrate Salesforce Einstein Vision with Alexa
Commission Tracking: Automate Using Process Builder, Formulas and Workflows! ...
New from Salesforce Labs
Managing Exceptions with Salesforce Reporting
Navigate Your Salesforce Career
Fun with Flows - Terry Cole
Using Salesforce to Manage Your Developer Community
Webinar: How Admins Solve Problems with AppExchange Apps
Process Automation Makeover: Transform Multiple Workflows into One Process by...
Become a Superstar Admin with Custom Metadata Types
WT16 - Cloud Services Portfolio
Webinar: So You Inherited (or Created) a Mess...Now What?
Building Mobile Apps That Deliver Salesforce to Your Employees
CNX16 - 1:1 Email Messaging
Webinar: Best Practices for Rolling Out Einstein
Get Started with the Lightning Platform
Metrics Worth Measuring: Align Business Goals to Salesforce Adoption
Top 5 Tips for Solo Admins
Ad

Similar to Integrating High-Velocity External Data in Your Salesforce Application (20)

PDF
Developing on the Salesforce Platform With Clicks, Not Code
PPTX
Salesforce Partner Forum: The Internet of Things Opportunity
PDF
Five Developer Tips Every Admin Needs To Know
PPTX
Singapore dg salesforce einstein + spring 17 release by manish
PPTX
Building BOTS on App Cloud
PDF
Commission Tracking: Automate Using Process Builder, Formulas and Workflows
PDF
Introduction to Force.com
PPTX
Getting Started with Process Builder by Susan Sparks
PDF
The Invisible Admin: Tricking Users into Adopting Salesforce - Allison Klein
PPTX
Force.com Fridays: Intro to Force.com
PPTX
Detroit ELEVATE Track 1
PDF
Elevate workshop track1
PDF
Dallas user group February 20 2015
PPTX
How to Choose the Right Automation Tool by Jonathan Hackworth
PDF
Salesforce Tour Paris - Platform Events - Martin Lezer
PPSX
Process Automation Showdown Session 1
PPTX
Reimagine Customer, Partner, and Employee Engagement - Cesar Castro
PPTX
Salesforce Lightning component framework from 0 to app
PPTX
Build Better Communities with Lightning
PDF
Keynote Dreamforce To You Italy 2015
Developing on the Salesforce Platform With Clicks, Not Code
Salesforce Partner Forum: The Internet of Things Opportunity
Five Developer Tips Every Admin Needs To Know
Singapore dg salesforce einstein + spring 17 release by manish
Building BOTS on App Cloud
Commission Tracking: Automate Using Process Builder, Formulas and Workflows
Introduction to Force.com
Getting Started with Process Builder by Susan Sparks
The Invisible Admin: Tricking Users into Adopting Salesforce - Allison Klein
Force.com Fridays: Intro to Force.com
Detroit ELEVATE Track 1
Elevate workshop track1
Dallas user group February 20 2015
How to Choose the Right Automation Tool by Jonathan Hackworth
Salesforce Tour Paris - Platform Events - Martin Lezer
Process Automation Showdown Session 1
Reimagine Customer, Partner, and Employee Engagement - Cesar Castro
Salesforce Lightning component framework from 0 to app
Build Better Communities with Lightning
Keynote Dreamforce To You Italy 2015
Ad

More from Salesforce Developers (20)

PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
PDF
Maximizing Salesforce Lightning Experience and Lightning Component Performance
PDF
Local development with Open Source Base Components
PPTX
TrailheaDX India : Developer Highlights
PDF
Why developers shouldn’t miss TrailheaDX India
PPTX
CodeLive: Build Lightning Web Components faster with Local Development
PPTX
CodeLive: Converting Aura Components to Lightning Web Components
PPTX
Enterprise-grade UI with open source Lightning Web Components
PPTX
TrailheaDX and Summer '19: Developer Highlights
PDF
Live coding with LWC
PDF
Lightning web components - Episode 4 : Security and Testing
PDF
LWC Episode 3- Component Communication and Aura Interoperability
PDF
Lightning web components episode 2- work with salesforce data
PDF
Lightning web components - Episode 1 - An Introduction
PDF
Migrating CPQ to Advanced Calculator and JSQCP
PDF
Scale with Large Data Volumes and Big Objects in Salesforce
PDF
Replicate Salesforce Data in Real Time with Change Data Capture
PDF
Modern Development with Salesforce DX
PDF
Get Into Lightning Flow Development
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Local development with Open Source Base Components
TrailheaDX India : Developer Highlights
Why developers shouldn’t miss TrailheaDX India
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Converting Aura Components to Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
TrailheaDX and Summer '19: Developer Highlights
Live coding with LWC
Lightning web components - Episode 4 : Security and Testing
LWC Episode 3- Component Communication and Aura Interoperability
Lightning web components episode 2- work with salesforce data
Lightning web components - Episode 1 - An Introduction
Migrating CPQ to Advanced Calculator and JSQCP
Scale with Large Data Volumes and Big Objects in Salesforce
Replicate Salesforce Data in Real Time with Change Data Capture
Modern Development with Salesforce DX
Get Into Lightning Flow Development
Integrate CMS Content Into Lightning Communities with CMS Connect

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Approach and Philosophy of On baking technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Cloud computing and distributed systems.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Encapsulation theory and applications.pdf
PDF
KodekX | Application Modernization Development
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Big Data Technologies - Introduction.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
NewMind AI Weekly Chronicles - August'25 Week I
Approach and Philosophy of On baking technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Cloud computing and distributed systems.
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation theory and applications.pdf
KodekX | Application Modernization Development
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
The AUB Centre for AI in Media Proposal.docx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Big Data Technologies - Introduction.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Electronic commerce courselecture one. Pdf
Encapsulation_ Review paper, used for researhc scholars
Digital-Transformation-Roadmap-for-Companies.pptx

Integrating High-Velocity External Data in Your Salesforce Application

  • 1. Integrating High-Velocity External Data in Your Salesforce Application ​ Stan Lemon ​ Software Engineer ​ slemon@salesforce.com ​ @stanlemon ​  Fusing real time information with Salesforce user’s data. ​ Michael Ellis ​ Software Engineer ​ mellis@salesforce.com ​ 
  • 2. ​ Safe harbor statement under the Private Securities Litigation Reform Act of 1995: ​ This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. ​ The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. ​ Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements. Safe Harbor
  • 8. •  Sales rep sends a 1-1 email campaign to a lead: “Hey, I thought you might be interested in knowing about our latest model of flux capacitor…” •  Customer (Lead) opens email; the email contains a tracker link which is pinged. •  Sales rep immediately sees the email open activity on their Engage Alerts dashboard. •  Customer (Lead) clicks a link within the email to learn more about the latest flux capacitor model. •  Sales rep immediately sees the email click activity on their Engage Alerts dashboard. •  Sales rep counts down a minute, 60...59... •  Sales rep calls Customer (Lead) and sets up a demo of the latest flux capacitor. •  A week later the Sales rep closes the deal! #winning Use Case
  • 12. Some Considerations for Implementing Engage • Existing Platform •  Latency • Data volume could be BIG • Hydrate real-time data with Salesforce data •  API Limits •  Authentication
  • 13. • Deploy to Heroku • WebSocket in NodeJS •  OAuth •  Heroku Connect •  VisualForce Page We’ll call it the… Dream Stream Let’s Build a Real Time Stream
  • 17. Dream Stream Architecture Initial OAuth* Sales Rep Input Events Leads/Contacts Salesforce Auth *OAuth also involves communicating with Salesforce (not shown); for Heroku Connect, OAuth is already handled Server: Input Server: Hydration Dream-socket Authenticator Salesforce Login Sales Rep Dream-api Salesforce Sync Salesforce Leads & Contacts Socket Connect/Login Stream Event
  • 19. authenticator Salesforce Auth Dream-socket Authenticator Dream-api Socket Connect/ Login Stream Event https://jsforce.github.io/ npm install jsforce
  • 33. Share Your Feedback, and Win a GoPro! 3 Earn a GoPro prize entry for each completed survey Tap the bell to take a survey2Enroll in a session1