# Record Created or Updated

> Part of the NocoDB documentation (Workflows > Workflows > Nodes > Trigger). Index of all pages: https://nocodb.com/llms.txt. Any docs page is available as Markdown by adding `.md` to its URL.

URL: https://nocodb.com/docs/workflows/nodes/trigger-nodes/record-created-or-updated
Last updated: 2026-11-11

Trigger NocoDB workflows when a record is created or updated in a table, with one trigger instead of two.

This NocoDB trigger starts a workflow when a record is added to a table and when an existing record changes. Use it when the same steps must run in both cases, instead of building one workflow for creates and another for updates. The workflow context gets the data of the record.

<AskNocoAI>
  <Prompt>
    When a record is added or changed in [Leads], update [Last Touched]
  </Prompt>

  <Prompt>
    When a record is added or changed in [Orders], recalculate its [Total]
  </Prompt>

  <Prompt>
    When [Status] is set or changed in [Tickets], notify [the Owner]
  </Prompt>
</AskNocoAI>

### Configuration

* **Table**: Select the target table.
* **Fields to monitor**: Optional. Updates start the workflow only when one of these fields changes. Creates always start it. If you select no fields, an update to any field starts the workflow.

<img alt="Record Created or Updated Trigger Configuration" src={__img0} placeholder="blur" />

### How it works

* A create and an update both start the workflow, each as its own run.
* The output has a `trigger.event` value of `created` or `updated`, so later steps can branch on which one happened.
* On a create, `previousRecord` is empty and `trigger.affectedColumns` is an empty list.
* On an update, the trigger behaves as the [Record updated](/docs/workflows/nodes/trigger-nodes/record-updated) trigger: `previousRecord` holds the values before the change, and **Fields to monitor** limits the runs.
* **Test step** runs the trigger as an update.

**Additional options**

| To                      | Use the trigger node                                                                          |
| ----------------------- | --------------------------------------------------------------------------------------------- |
| Run only on new records | [when record created](/docs/workflows/nodes/trigger-nodes/record-created)                     |
| Run only on changes     | [when record updated](/docs/workflows/nodes/trigger-nodes/record-updated)                     |
| Add a condition         | [when record matches condition](/docs/workflows/nodes/trigger-nodes/record-matches-condition) |

### Use cases

* Keep a derived field correct whether a record is new or edited
* Send one record to an external system on every create and change
* Stamp a review date each time a record is entered or revised

## Availability

* Available on NocoDB Cloud (all plans) and on all self-hosted deployments, including Community Edition.

---

## Related pages

- [Manual](https://nocodb.com/docs/workflows/nodes/trigger-nodes/manual.md): The Manual Trigger node starts a NocoDB workflow only when a user runs it.
- [Button clicked](https://nocodb.com/docs/workflows/nodes/trigger-nodes/button-clicked.md): Start a workflow when a user clicks a Run automation button on an interface page or record, or a Button field in a table.
- [Scheduled](https://nocodb.com/docs/workflows/nodes/trigger-nodes/scheduled.md): The Scheduled Trigger runs a NocoDB workflow on a fixed schedule.
- [Record Created](https://nocodb.com/docs/workflows/nodes/trigger-nodes/record-created.md): Trigger workflows when new records are created in NocoDB.
- [Record Updated](https://nocodb.com/docs/workflows/nodes/trigger-nodes/record-updated.md): Trigger workflows when records are updated in NocoDB.
- [Record Deleted](https://nocodb.com/docs/workflows/nodes/trigger-nodes/record-deleted.md): Trigger workflows when records are deleted in NocoDB.
- [Record Matches Condition](https://nocodb.com/docs/workflows/nodes/trigger-nodes/record-matches-condition.md): Trigger workflows when records meet specific conditions in NocoDB.
- [Field Changes](https://nocodb.com/docs/workflows/nodes/trigger-nodes/field-changes.md): Trigger a NocoDB workflow when one field moves from one set of values to another.
