# Add row

> Insert a row into a collection.

Source: https://docs.buildcord.dev/nodes/variables-and-data/add-row/

`data.insert` adds one row to a collection.

## Settings

| Setting | What it does |
| --- | --- |
| Collection | The collection to add to. |
| Values | One column per line, such as `user: {user.id}`. |

## Ways out

`out`. Turn on **If it fails** for a red way out.

## Produces

`{inserted.id}`, the number given to the new row.

## Example

```text
user: {user.id}
topic: {option.topic}
status: open
```

## Related

- [Change rows](https://docs.buildcord.dev/nodes/variables-and-data/change-rows)
- [Find rows](https://docs.buildcord.dev/nodes/variables-and-data/find-rows)
