Centro Support Center

Contact Us

Fire a Salesforce Platform Event

Salesforce Platform Events are an event-driven messaging architecture to enable apps to communicate inside and outside of Salesforce. Refer to Salesforce Platform Event Developer guide for more information.

Platform Events are similar to Salesforce Custom Objects in that they are defined with an API Name (i.e. Event__e) and with Custom Fields that can have defined name, type and value which can be utilized by event-listeners consuming the event. When invoking a Platform Event using Slack Workflow Builder and Centro Platform Event Step the Event API Name is required and Custom Field values must be specified as JSON-encoded values. JSON only supports basic data-types for String types, Integer and floating-point numbers, and booleans. Date values are expected to be formatted as Strings in ISO 8601 format (i.e. YYYY-MM-DD for Dates and YYYY-MM-DDTHH:NN:SSZ for UTC time).

Slack Workflow variables may be used in the Centro Platform Event Step as shown. This enables outputs from other steps in a workflow to be passed into the Platform Event and used by other integrations inside or outside of the Salesforce platform. For example this Platform Event could trigger a Salesforce Flow process to Create a Task as shown here. Please note that when the Platform Event is fired it will use the permissions of the Salesforce Connection for the user who saved the Workflow Step.