Centro Support Center

Contact Us

What Are the Components of the Centro Action Platform Event?

The Centro Action Platform Event plays a critical role in the seamless integration between Slack and Salesforce within the Centro Rock platform. It enables real-time automation and workflow execution triggered by user activity in Slack. This article breaks down each component of the platform event to provide a comprehensive understanding of how it functions and what data it encompasses.

Overview

The Centro platform event is a structured Salesforce event that captures key metadata about an interaction within Slack, typically triggered by a user action such as clicking a button or reacting with an emoji. Each field in the event serves a specific purpose to inform downstream automation in Salesforce. 

{

    "Centro__Value__c": "0018a00002397j6AAA",

    "Centro__UserId__c": "U07N7EL0DGS",

    "Centro__ChannelId__c": "CAJC3D7RR",

    "Centro__Message_TS__c": "1743614076.978249",

    "Centro__Message_Text__c": "This might be a really basic question but I recently turned off all of my salesforce email notifications since I noticed I was also getting case alerts directly in salesforce, but when I turned off my email notifications, I also stopped getting the case alerts in salesforce.\n\nIs there a way to turn off emails but keep the activity alerts that show up in the little bell icon on?",

    "Centro__Message_User_Email__c": "smccormick@sample.edu",

    "Centro__Message_UserId__c": "U06QAT2AGLC",

    "Centro__Message_Username__c": "Kate Carroll",

    "Centro__Slack_User_Email__c": "bsmith@sample.edu",

    "Centro__API_Name__c": "Help Desk IT"

}


Core Components of the Platform Event

Centro Value (Centro__Value__c)

Channel ID (Centro__ChannelId__c)

Centro Message Timestamp (Centro__Message_TS__c)

Centro Message Text (Centro__Message_Text__c)


Message User Metadata

This group of fields pertains to the original author of the message (not the person who triggered the event):

Centro Message User Email (Centro__Message_User_Email__c)

Centro Message User ID (Centro__Message_UserId__c)

Centro Message User Name (Centro__Message_Username__c)


Event Trigger User Metadata

This group of fields captures information about the user who triggered the event (this could be different from the message author):

Slack User Email (Centro__Slack_User_Email__c)

Centro User ID (Centro__UserId__c)

Centro Slack Username (Centro__Slack__Username__c)


Workflow and API Configuration

Centro API Name (Centro__API_Name__c)


Summary

These ten components make up the Centro Action Platform Event, each contributing vital context to support real-time automation, tracking, and user interaction management between Slack and Salesforce. By leveraging these fields, administrators and developers can build robust flows that are responsive to Slack activity while staying tightly integrated with Salesforce records and logic.

If you have any questions about implementing or customizing the Centro Action Platform Event, please don't hesitate to contact your Centro support representative or technical team.