In this chapter, we will see one of the operation types which is the “Publish salesforce event”.
Platform event #
Platform events enable developers to deliver secure, scalable, and customizable event notifications within the Salesforce platform or from external sources. Platform events are based on a publish-subscribe architecture.
How to create the platform event SKYVVA feature? #
We can create a platform event without programming with SKYVVA feature. Creating an event can be done using the inbound or outbound interface. With the inbound interface, we get data from the outside and with this data, we can create an event either into the Salesforce bus.
Follow the given steps to create a platform event with SKYVVA.
Step1: Create a platform Event:
- Go to Set Up.
- Search for Platform Event in the quick find box.
- Click on the new button.
- Fill the required fields.
- And click on the Save button.
- Go to Custom fields and Relationship section.
- Click on new button.
- New button navigates to:
- Click on the next button.
- Create two custom fields. AccountNumber and Name.
Repeat the same process to create the Name field.
Step3: Create Integration
Step4: Create an interface.
We can execute an inbound interface with our new API i,e Event Interface.
- source/target name: select Platform Event name. here platform event name is Platform_Event_Account_e.
- Operation Type: It should be a Public salesforce Event.
- Interface Type: Event Interface
Step5: Do mapping
Step6: Upload data manually.
- Go to the Integration detail page.
- Upload CSV file.
- Push data to the message board.
Step7: Search result on message Monitoring:
- Go to Message Board
- Select Interface and search