SlideShare a Scribd company logo
What is Platform
Events
• Document
https://developer.salesforce.com/docs/atlas.en-
us.platform_events.meta/platform_events/platform_events_intro.htm
• In Salesforce, We can connect the business process with
the external apps using Platform Events by exchanging
real-time data.
• Platform events are scalable and secure messages
holding data.
• The publishers publish the event messages that the
subscribers receive in real-time.
• If one wants to modify the data publishes, he needs to
define platform event fields.
How To Get Access Token
Step 1- Open Postman
Step 2- Slick Import
Step 3- Select raw text
Step 4- Write curl request –
Note- Username ,password and client_id, client_secret it could be different depends where platform event and
connected app is created.
curl -v https://test.salesforce.com//services/oauth2/token
-d "grant_type=password"
-d "client_id=3MVG9Lf04EwncL7mOf8fdrWEYGdt.Bg.nRGx5QaFGh7zKV35M_jX4sL5ogBuW.MX3wwruIFJtJrzedofccDll"
-d "client_secret=4500FEB31381ABDC9582D47CCA931C3715C13FB0A0DF4B74FFE1B99C5B067312"
-d "username=ankita@claimvantage.cloudvandana.com.devxad" -d "password=welcome@123
Step 5- Click on Continue
https://test.salesforce.com//services/oauth2/token
Step 6- Click on Send
Step 7- You will Get Access Token After
Access token
{
"access_token": "00D3H0000008pCe!AQUAQNxc1ZFshiHpyju1muKNKrsGOqGi9z.0HKBnee_fZjws9R7g1uMnCZicuPimMGSl1OatibdcV_S2_3S1DQKktJC9gnRn",
"instance_url": "https://sanlam03082021--devxad.sandbox.my.salesforce.com",
"id": "https://test.salesforce.com/id/00D3H0000008pCeUAI/0050C000005gcM3QAI",
"token_type": "Bearer",
"issued_at": "1662444521130",
"signature": "46tDXjYbs0ioxFwcXrRHXX6eg34dBecC5wNMnOnsmlQ="
}
How to Trigger Platform Events
Steps How To Perform Operation
• Step 1 – login to Work Banch( )
• Step 2 - Use the Base URL
• https://sanlam03082021--devxad.sandbox.my.salesforce.com/
• Api  /services/data/v52.0/sobjects/MemberPortfolio_Response_Event__e
• Note-> Base URL Is need to be added Before API
• Step 3 –
Request Body {
"Event_Type__c" : "12345“
}
Note-> Event_Type__c is field of Platform Event it can be change or we can
also add some fields according to needs.
Step 4 - Method - post
Response Which you get after
performing the all previous steps
@RestResourceful class -
• Api-
/services/apexrest/memberPortolio
• method-(Get , Post, Put, Patch ,Delete)
• Note – these all Method Accept
• Different string parameter
• On the bases of response we make
wrapper for it.

More Related Content

Similar to Platform Events Demo (1).pptx

Webinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
Webinar: Extend The Power of The ForgeRock Identity Platform Through ScriptingWebinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
Webinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
ForgeRock
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
Zenita Smythe
 
Anjanpunith anjanpuni5@gmail.com
Anjanpunith anjanpuni5@gmail.comAnjanpunith anjanpuni5@gmail.com
Anjanpunith anjanpuni5@gmail.com
Anjan Punith
 
CIS14: OAuth and OpenID Connect in Action
CIS14: OAuth and OpenID Connect in ActionCIS14: OAuth and OpenID Connect in Action
CIS14: OAuth and OpenID Connect in Action
CloudIDSummit
 
CIS14: OAuth and OpenID Connect in Action
CIS14: OAuth and OpenID Connect in ActionCIS14: OAuth and OpenID Connect in Action
CIS14: OAuth and OpenID Connect in Action
CloudIDSummit
 
Presentation tritan erp service
Presentation tritan erp servicePresentation tritan erp service
Presentation tritan erp service
Tritan solution
 
Apex Replay Debugger and Salesforce Platform Events.pptx
Apex Replay Debugger and Salesforce Platform Events.pptxApex Replay Debugger and Salesforce Platform Events.pptx
Apex Replay Debugger and Salesforce Platform Events.pptx
mohayyudin7826
 
Buzzient oracle crmod_integration
Buzzient oracle crmod_integrationBuzzient oracle crmod_integration
Buzzient oracle crmod_integration
TBJ Investments, LLC
 
Salesforce Integration Pattern Overview
Salesforce Integration Pattern OverviewSalesforce Integration Pattern Overview
Salesforce Integration Pattern Overview
Dhanik Sahni
 
Marketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoftMarketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoft
Patryk Bandurski
 
Openstack Cloud Management and Automation Using Red Hat Cloudforms 4.0
Openstack Cloud  Management and Automation Using Red Hat Cloudforms 4.0Openstack Cloud  Management and Automation Using Red Hat Cloudforms 4.0
Openstack Cloud Management and Automation Using Red Hat Cloudforms 4.0
Prasad Mukhedkar
 
Web Based Investment Management System
Web Based Investment Management SystemWeb Based Investment Management System
Web Based Investment Management System
Mike Taylor
 
The Significant role of event driven apps in software development
The Significant role of event driven apps in software development					The Significant role of event driven apps in software development
The Significant role of event driven apps in software development
Shelly Megan
 
Complete Guide to Crypto Exchange Development ppt(1).pptx
Complete Guide to Crypto Exchange Development ppt(1).pptxComplete Guide to Crypto Exchange Development ppt(1).pptx
Complete Guide to Crypto Exchange Development ppt(1).pptx
Emilysean1
 
Complete Guide to Crypto Exchange Development
Complete Guide to Crypto Exchange Development Complete Guide to Crypto Exchange Development
Complete Guide to Crypto Exchange Development
HuianAhLam
 
Top-Rated Cryptocurrency Exchange Features Must know the features Before star...
Top-Rated Cryptocurrency Exchange Features Must know the features Before star...Top-Rated Cryptocurrency Exchange Features Must know the features Before star...
Top-Rated Cryptocurrency Exchange Features Must know the features Before star...
fitriaroslin
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & Azure
Sam Basu
 
senior software developer .net
senior software developer .netsenior software developer .net
senior software developer .net
Rakesh Kumar Kushwaha
 
Ladies Be Architects: Integration Study Group: Security & State Management
Ladies Be Architects: Integration Study Group: Security & State ManagementLadies Be Architects: Integration Study Group: Security & State Management
Ladies Be Architects: Integration Study Group: Security & State Management
gemziebeth
 
Authentication With Captive Portal
Authentication With Captive  PortalAuthentication With Captive  Portal
Authentication With Captive Portal
Wavecrest Computing
 

Similar to Platform Events Demo (1).pptx (20)

Webinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
Webinar: Extend The Power of The ForgeRock Identity Platform Through ScriptingWebinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
Webinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
 
Anjanpunith anjanpuni5@gmail.com
Anjanpunith anjanpuni5@gmail.comAnjanpunith anjanpuni5@gmail.com
Anjanpunith anjanpuni5@gmail.com
 
CIS14: OAuth and OpenID Connect in Action
CIS14: OAuth and OpenID Connect in ActionCIS14: OAuth and OpenID Connect in Action
CIS14: OAuth and OpenID Connect in Action
 
CIS14: OAuth and OpenID Connect in Action
CIS14: OAuth and OpenID Connect in ActionCIS14: OAuth and OpenID Connect in Action
CIS14: OAuth and OpenID Connect in Action
 
Presentation tritan erp service
Presentation tritan erp servicePresentation tritan erp service
Presentation tritan erp service
 
Apex Replay Debugger and Salesforce Platform Events.pptx
Apex Replay Debugger and Salesforce Platform Events.pptxApex Replay Debugger and Salesforce Platform Events.pptx
Apex Replay Debugger and Salesforce Platform Events.pptx
 
Buzzient oracle crmod_integration
Buzzient oracle crmod_integrationBuzzient oracle crmod_integration
Buzzient oracle crmod_integration
 
Salesforce Integration Pattern Overview
Salesforce Integration Pattern OverviewSalesforce Integration Pattern Overview
Salesforce Integration Pattern Overview
 
Marketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoftMarketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoft
 
Openstack Cloud Management and Automation Using Red Hat Cloudforms 4.0
Openstack Cloud  Management and Automation Using Red Hat Cloudforms 4.0Openstack Cloud  Management and Automation Using Red Hat Cloudforms 4.0
Openstack Cloud Management and Automation Using Red Hat Cloudforms 4.0
 
Web Based Investment Management System
Web Based Investment Management SystemWeb Based Investment Management System
Web Based Investment Management System
 
The Significant role of event driven apps in software development
The Significant role of event driven apps in software development					The Significant role of event driven apps in software development
The Significant role of event driven apps in software development
 
Complete Guide to Crypto Exchange Development ppt(1).pptx
Complete Guide to Crypto Exchange Development ppt(1).pptxComplete Guide to Crypto Exchange Development ppt(1).pptx
Complete Guide to Crypto Exchange Development ppt(1).pptx
 
Complete Guide to Crypto Exchange Development
Complete Guide to Crypto Exchange Development Complete Guide to Crypto Exchange Development
Complete Guide to Crypto Exchange Development
 
Top-Rated Cryptocurrency Exchange Features Must know the features Before star...
Top-Rated Cryptocurrency Exchange Features Must know the features Before star...Top-Rated Cryptocurrency Exchange Features Must know the features Before star...
Top-Rated Cryptocurrency Exchange Features Must know the features Before star...
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & Azure
 
senior software developer .net
senior software developer .netsenior software developer .net
senior software developer .net
 
Ladies Be Architects: Integration Study Group: Security & State Management
Ladies Be Architects: Integration Study Group: Security & State ManagementLadies Be Architects: Integration Study Group: Security & State Management
Ladies Be Architects: Integration Study Group: Security & State Management
 
Authentication With Captive Portal
Authentication With Captive  PortalAuthentication With Captive  Portal
Authentication With Captive Portal
 

Recently uploaded

Levelised Cost of Hydrogen (LCOH) Calculator Manual
Levelised Cost of Hydrogen  (LCOH) Calculator ManualLevelised Cost of Hydrogen  (LCOH) Calculator Manual
Levelised Cost of Hydrogen (LCOH) Calculator Manual
Massimo Talia
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Assistant Engineer (Chemical) Interview Questions.pdf
Assistant Engineer (Chemical) Interview Questions.pdfAssistant Engineer (Chemical) Interview Questions.pdf
Assistant Engineer (Chemical) Interview Questions.pdf
Seetal Daas
 
SENTIMENT ANALYSIS ON PPT AND Project template_.pptx
SENTIMENT ANALYSIS ON PPT AND Project template_.pptxSENTIMENT ANALYSIS ON PPT AND Project template_.pptx
SENTIMENT ANALYSIS ON PPT AND Project template_.pptx
b0754201
 
Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...
pvpriya2
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
uqyfuc
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
DharmaBanothu
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
DharmaBanothu
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptxEV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
nikshimanasa
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
snaprevwdev
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdfSELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
Pallavi Sharma
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 

Recently uploaded (20)

Levelised Cost of Hydrogen (LCOH) Calculator Manual
Levelised Cost of Hydrogen  (LCOH) Calculator ManualLevelised Cost of Hydrogen  (LCOH) Calculator Manual
Levelised Cost of Hydrogen (LCOH) Calculator Manual
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Assistant Engineer (Chemical) Interview Questions.pdf
Assistant Engineer (Chemical) Interview Questions.pdfAssistant Engineer (Chemical) Interview Questions.pdf
Assistant Engineer (Chemical) Interview Questions.pdf
 
SENTIMENT ANALYSIS ON PPT AND Project template_.pptx
SENTIMENT ANALYSIS ON PPT AND Project template_.pptxSENTIMENT ANALYSIS ON PPT AND Project template_.pptx
SENTIMENT ANALYSIS ON PPT AND Project template_.pptx
 
Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptxEV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdfSELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 

Platform Events Demo (1).pptx

  • 1. What is Platform Events • Document https://developer.salesforce.com/docs/atlas.en- us.platform_events.meta/platform_events/platform_events_intro.htm • In Salesforce, We can connect the business process with the external apps using Platform Events by exchanging real-time data. • Platform events are scalable and secure messages holding data. • The publishers publish the event messages that the subscribers receive in real-time. • If one wants to modify the data publishes, he needs to define platform event fields.
  • 2. How To Get Access Token Step 1- Open Postman Step 2- Slick Import Step 3- Select raw text Step 4- Write curl request – Note- Username ,password and client_id, client_secret it could be different depends where platform event and connected app is created. curl -v https://test.salesforce.com//services/oauth2/token -d "grant_type=password" -d "client_id=3MVG9Lf04EwncL7mOf8fdrWEYGdt.Bg.nRGx5QaFGh7zKV35M_jX4sL5ogBuW.MX3wwruIFJtJrzedofccDll" -d "client_secret=4500FEB31381ABDC9582D47CCA931C3715C13FB0A0DF4B74FFE1B99C5B067312" -d "username=ankita@claimvantage.cloudvandana.com.devxad" -d "password=welcome@123 Step 5- Click on Continue https://test.salesforce.com//services/oauth2/token Step 6- Click on Send Step 7- You will Get Access Token After Access token { "access_token": "00D3H0000008pCe!AQUAQNxc1ZFshiHpyju1muKNKrsGOqGi9z.0HKBnee_fZjws9R7g1uMnCZicuPimMGSl1OatibdcV_S2_3S1DQKktJC9gnRn", "instance_url": "https://sanlam03082021--devxad.sandbox.my.salesforce.com", "id": "https://test.salesforce.com/id/00D3H0000008pCeUAI/0050C000005gcM3QAI", "token_type": "Bearer", "issued_at": "1662444521130", "signature": "46tDXjYbs0ioxFwcXrRHXX6eg34dBecC5wNMnOnsmlQ=" }
  • 3. How to Trigger Platform Events Steps How To Perform Operation • Step 1 – login to Work Banch( ) • Step 2 - Use the Base URL • https://sanlam03082021--devxad.sandbox.my.salesforce.com/ • Api  /services/data/v52.0/sobjects/MemberPortfolio_Response_Event__e • Note-> Base URL Is need to be added Before API • Step 3 – Request Body { "Event_Type__c" : "12345“ } Note-> Event_Type__c is field of Platform Event it can be change or we can also add some fields according to needs. Step 4 - Method - post Response Which you get after performing the all previous steps
  • 4. @RestResourceful class - • Api- /services/apexrest/memberPortolio • method-(Get , Post, Put, Patch ,Delete) • Note – these all Method Accept • Different string parameter • On the bases of response we make wrapper for it.