Newer Version Available

This content describes an older version of this product. View Latest

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)
  1. For Record Type, enter low and select Low Ink.
  2. Set the field values.
    Field Type Value
    Printer Model String XZO-5
    Serial Number String 12345
    Ink Percentage Number 0.2

    Process Builder create a record action

  3. Save the action and activate the process.