Skip to content

Database

The Database action performs CRUD (and view) operations against WorkHub24 datastores from an automation.

  • Persist webhook payloads into a table
  • Look up a record by ID before branching
  • Bulk create/update from an array
  • Read a saved view with placeholders
ActionPurpose
GET_BY_IDLoad one record by ID
CREATEInsert one record
CREATE_MANYInsert many records from a source array
UPDATEUpdate one record
UPDATE_MANYUpdate many records
DELETEDelete a record
GET_VIEWRead rows from a datastore view (with optional placeholders)
  1. Add a Database node.
  2. On General, choose the Action.
  3. Select a Datatable (or a View for GET_VIEW).
  4. For ID-based actions, set Record ID from a fixed value or variable.
  5. Use field mapping to map source variables into destination columns (and nested mappings when needed).
  6. For GET_VIEW, fill any placeholder inputs the view requires.
  7. On Output, expose returned fields for later nodes.

Tabs: General, Output, Execution.

Schedule nightly job → Database GET_VIEW of expired trials → Loop → Send Email for each customer.

  • Table / column permissions must allow the automation’s effective access—see Data Table Permissions.
  • Field types must be compatible with mapped variables (file→file, number→number, and so on).
  • CREATE_MANY needs a proper source array variable—verify upstream shape in execution logs.

Related: Datastores Management, Loop.