# FolderCreated

Event payload for the folder-created platform event.

> Kind: Apex type · Updated: 2026-07-01

Custom Apex type representing the output that Platform Events and the Platform Events Apex handler return for the folder-created platform event type. Resolve it from Apex with Client.getEventDetails().

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | String | optional | Identifier of the created folder. |
| DriveId | String | optional | Identifier of the drive the folder was created in. |
| Library | String | optional | Storage library the folder belongs to. |
| RecordId | String | optional | Salesforce Record Id. |
| Name | String | optional | Name of the created folder. |
