iDialogue Platform Event reference
Use the iDialogue Platform Event to start a Salesforce Flow after an iDialogue activity.
The Salesforce object label is iDialogue Platform Event. The source API name is Event__e. The API name in an installed managed package is usually rooms__Event__e.
Salesforce publishes this high-volume event after the source transaction commits.
See Platform event types for the baseline event-type list.
Filter a file event by Library folder
A Salesforce Library is a ContentWorkspace record. A Library folder is a ContentFolder record.
Use these conditions in one Decision outcome. Select All Conditions Are Met (AND).
| Event field | Operator | Value |
|---|---|---|
Event Type (Type__c) |
Equals | CONTENT_VERSION_INSERT |
Content Workspace Name (ContentWorkspaceName__c) |
Equals | AI Inbox |
Content Folder Name (ContentFolderName__c) |
Equals | Business Cards |
The name conditions are easy to read. A user can change a Library name or a folder name. Two Libraries can also have folders with the same name. Use Content Workspace ID and Content Folder ID when the Flow needs stable and unique routing.
For the complete file-processing procedure, see Handle Salesforce Files with OCR and Run Agent.
Understand record fields
RecordId__c identifies the primary record for the event. For CONTENT_VERSION_INSERT, this field contains the ContentVersion ID.
RecordType__c contains the source object API name. For CONTENT_VERSION_INSERT, the value is ContentVersion. This field does not contain a Salesforce Record Type ID or Record Type name.
RelatedRecordID__c identifies a related business record. For example, this field can identify an Account or a Contact that has the file.
RelatedRecordType__c contains the API name of that business object. A Library-only upload can have blank related record fields.
Event schema
The tables in this section show the current managed-package schema. Most text fields have a maximum length of 255 characters. A publisher populates only the fields that apply to its event type.
Event and record identity
| Field | Data type | Use |
|---|---|---|
Type__c |
Text (255), required | Identifies the event type. |
RecordId__c |
Text (255) | Identifies the primary Salesforce record. |
RecordType__c |
Text (255) | Contains the primary object API name. |
RelatedRecordID__c |
Text (255) | Identifies a related business record. |
RelatedRecordType__c |
Text (255) | Contains the related business object API name. |
File and Library context
| Field | Data type | Use |
|---|---|---|
AttachmentID__c |
Text (255) | Identifies a legacy Salesforce Attachment. |
ContentDocumentID__c |
Text (255) | Identifies the Salesforce ContentDocument. |
ContentVersionID__c |
Text (255) | Identifies the Salesforce ContentVersion. |
ContentWorkspaceID__c |
Text (255) | Identifies the Salesforce Library. |
ContentWorkspaceName__c |
Text (255) | Contains the Library name when the event was published. |
ContentWorkspaceDocID__c |
Text (255) | Identifies the Library document relationship. |
ContentFolderID__c |
Text (255) | Identifies the immediate folder that contains the file. |
ContentFolderName__c |
Text (255) | Contains the immediate folder name. |
The folder fields do not contain the full folder path.
People and room context
| Field | Data type | Use |
|---|---|---|
ContactId__c |
Text (255) | Identifies a Contact. |
LeadId__c |
Text (255) | Identifies a Lead. |
UserId__c |
Text (255) | Identifies the Salesforce user. |
RoomId__c |
Text (255) | Identifies an iDialogue room. |
RoomItemId__c |
Text (255) | Identifies an item in an iDialogue room. |
RoomMemberId__c |
Text (255) | Identifies a member of an iDialogue room. |
Agent context
| Field | Data type | Use |
|---|---|---|
ArtifactId__c |
Text (255) | Identifies an artifact that an agent created. |
DialogueId__c |
Text (255) | Identifies an agent dialogue. |
ModelId__c |
Text (255) | Identifies an agent. |
PlanID__c |
Text (255) | Identifies an agent plan. |
SkillId__c |
Text (255) | Identifies an agent skill. |
StepID__c |
Text (255) | Identifies a step in an agent plan. |
TargetId__c |
Text (255) | Identifies the target for an agent action. |
Message, status, and audit context
| Field | Data type | Use |
|---|---|---|
Subject__c |
Text (255) | Contains a short event summary. |
Message__c |
Long Text Area (131,072) | Contains the event message. |
Success__c |
Checkbox | Shows if the publisher reported success. The default value is true. |
Value__c |
Number (14,2) | Contains a numeric value for the event type. |
Origin__c |
Text (255) | Identifies the publishing process. |
Timestamp__c |
Date/Time | Contains the activity time. |
The installed managed-package field names usually have the rooms__ namespace prefix. Flow Builder displays the field labels, such as Content Workspace Name and Content Folder Name.