Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
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.