onCardCreated( )

Deprecated. This event will continue to work until June 30, 2024.

An event that triggers when a new workflow card is created.

The onCardCreated() event handler runs when a new workflow card is created programmatically using the createCard() function or manually in your site's Dashboard. The received CardCreatedEvent object contains information about the card that was created.

Note: Backend events don't work when previewing your site.

Method Declaration
Method Parameters

The created card's data.

Was this helpful?