---
title: "Publishing Platform Events - Appiphony"
url: "https://appiphony.com/docs/share-connect/features/automation/publishing-platform-events"
---

# Publishing Platform Events

The Automate Share Flow action can publish platform events for operation results that can be used with Apex triggers and Platform Event-Triggered flows. By default, publishing these platform events is disabled, but can be enabled on a per-operation basis using the **Publish Results Events toggle**. The results are provided in JSON format.

| **Key** | | **Type** | **Description** |
| --- | --- | --- | --- |
| `actionApiName` | | String | The API name of the Automate Share action (as configured in the Flow Builder) that the operation belongs to. |
| `objectName` | | String | The object API name that the Automate Share action is defined for. |
| `recordId` | | String | The Salesforce record ID that the operation ran in the context of. |
| `contentDocumentId` | | String | The Salesforce ID of the ContentDocument record that was created in the operation (available when linking files and folders and saving files to Salesforce). |
| `contentVersionId` | | String | The Salesforce ID of the ContentVersion record that was created in the operation (available when linking files and folders and saving files to Salesforce). |
| `id` | | String | The SharePoint file or folder ID that was created/modified in the operation. |
| `name` | | String | The name of the file or folder ID that was created/modified in the operation. |
| `webViewLink` | | String | The URL of the SharePoint file or folder that was created/modified in the operation. |
| `mimeType` | | String | The MIME type of the file or folder that was created/modified in the operation. |
| `parents` | | List<String> | The SharePoint folder ID that the created/modified file or folder is located in (can be extracted from index 0; listed as root when the location is OneDrive). |
