Publish Event Messages with Processes
Use Process Builder to publish event messages from a Salesforce app
as part of an automated process.
To publish event messages, add a Create a Record action to the appropriate process. Where you'd usually pick an object to create, select the custom platform event.
For example, here’s how to configure a Create a Record action that publishes a Low Ink event
message. This example assumes that the Low Ink platform event is defined in your org and that
the event has these custom fields.
- Printer Model (Text)
- Serial Number (Text)
- Ink Percentage (Number)
- For Record Type, enter low and select Low Ink.
-
Set the field values.
Field Type Value Printer Model String XZO-5 Serial Number String 12345 Ink Percentage Number 0.2 - Save the action and activate the process.