Skip to main content

State hooks

onState on an inbox runs in your app whenever an item changes state, whether a person, a triage rule or a new occurrence moved it:
It receives the item (id, title, record and its typed data), the state it left (from), the state it’s in now (to) and who moved it (actor). If the hook throws, the failure shows in the item’s timeline; the state change itself stands.

Record history

A record’s page shows what was done to it in Pult. Your app can add its own events, so the person about to act sees what happened on your side too:
by says who did it in your app; without it the entry is from your app. Entries can carry blocks, and show up live on the record’s page.