Skip to content
MyAppBuilder
StableWorkflow trigger

A record is deleted

Overview

Starts the workflow after a record of the entity has been deleted.

Purpose

Clean-up and audit: notify the team, cancel related bookings through an API, or log the deletion elsewhere.

Inputs

  • Entity — which entity to watch.
  • Only if (optional) — a condition on the deleted record's values.

Configuration

  • You cannot update the deleted record; use its values for emails, notifications or to update other records.

Outputs

  • Current record — the record as it was before deletion (all fields still readable in templates).
  • Available data in every step: Current record / {{record.field_key}} (the record that triggered the run), Event / {{event.name}} (inputs passed to the run; {{event.before.field_key}} holds the previous values after an update), Action results / {{results.key}} (values saved by earlier steps) and Current user / {{user.email}} (whoever caused the run; for test runs, you).

Example

Tell the team

Example
Trigger: Bookings › A record is deleted
Step 1  Notification  Title: Booking cancelled · Message: {{record.customer_name}} on {{record.date}} was deleted by {{user.email}}

Errors

  • None specific.

Limitations

  • Cannot prevent or undo the deletion.

Advanced

  • Trigger: { type: "record_deleted", entityId, condition? }.

Related

Was this helpful?