API action types are pre-built reusable “verbs” you can attach to any datastore — approve, archive, duplicate, transfer, recalculate. They save you from writing the same custom function many times when the pattern is identical across record types.
Available Action Types
- Approve / Reject: Idempotent state transitions with audit.
- Archive / Unarchive: Hide from default views without true deletion.
- Duplicate: Copy a record (and optionally its children) with a new ID.
- Transfer ownership: Change the user or tenant that owns a record.
- Lock / Unlock: Prevent further edits.
- Tag / Untag: Apply labels in bulk.
- Trigger workflow: Kick off a configured workflow.
How They're Exposed
Once enabled for a datastore, each action becomes available as:
- API endpoint:
POST /api/records/{table}/{id}/approveetc. - Bulk endpoint:
POST /api/records/{table}/bulk/approvewith an array of IDs. - UI button: Appears on the record's edit page (if enabled in the layout).
- Workflow step: Other workflows can invoke action types.
Worked Examples
- Order approval: Enable Approve/Reject on Orders. Backend systems call POST /approve when their checks pass.
- Document archival: Bulk archive 6-month-old documents nightly via a scheduled task.
- Duplicate a quote: User clicks “Duplicate” on a quote; the action copies the quote and line items with a new quote number.
- Bulk tag: Mark all customers in a region with a “2025-priority” tag in one bulk call.