
## Events when asset is created

URL: https://docs.atlan.com/product/capabilities/build-apps/sdks/python/events/references/triggers/asset-create

> Reference for asset creation event triggers in the Atlan Python SDK (pyatlan). Understand ENTITY_CREATE and ENTITY_UPDATE events for event-driven integrations.

# Events when asset is created

When an [asset](https://docs.atlan.com/llms/platform/python/build-your-first-metadata-workflow/llms.txt) is created in Atlan, the following events can be emitted.

## `ENTITY_CREATE`

Atlan always emits an [`ENTITY_CREATE`](https://docs.atlan.com/llms/platform/python/entity-create/llms.txt) event when an asset is created. The details in the event are for the asset that was created.

## `ENTITY_UPDATE`

When a relationship is defined as part of asset creation, Atlan will also emit an [`ENTITY_UPDATE`](https://docs.atlan.com/llms/platform/python/entity-update/llms.txt) event. The details in this event cover the related asset.

**Parent-child relationships**

For example, a column in Atlan must exist within a table.

- When a column is created, the table must be specified.
- An `ENTITY_UPDATE` event will be emitted for the table in which that column was created.

:::warning[Details of the relationship aren't included in `detail.message.mutatedDetails`]
In the case of a parent-child relationship, the details of the relationship aren't included in the `ENTITY_UPDATE` event's payload.
:::

**Peer-to-peer relationships**

For example, specifying a term to link to a column when creating the column.

- An `ENTITY_UPDATE` event will be emitted for the term that's specified.

Note: this means a single asset creation (single `ENTITY_CREATE` event) could emit any number of `ENTITY_UPDATE` events.

---
