> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-server/005-function/dataset/dataset.insert.md).

# Dataset.insert

## Description

Inserts rows of data into a dataset.

## Input / Parameter

| Name    | Description                                                             | Input Type | Default | Options | Required |
| ------- | ----------------------------------------------------------------------- | ---------- | ------- | ------- | -------- |
| dataset | The name of the dataset that is created in Services.                    | Text       | -       | -       | Yes      |
| data    | Multiple dynamic attributes with values associated with each attribute. | Object     | -       | -       | Yes      |
| extra   | The stored value that is passed to all the callbacks.                   | Any        | -       | -       | No       |

## Output

| Description                        | Output Type |
| ---------------------------------- | ----------- |
| Returns the formatted information. | Object      |

### Object

| Key     | Description                                                             | Output Type |
| ------- | ----------------------------------------------------------------------- | ----------- |
| success | Boolean value to denote whether the function was executed successfully. | Text        |
| message | The message to print.                                                   | Text        |
| data    | Any additional message or data to print.                                | Text        |

## Callback

### callback

The action performed if this function runs successfully.

| Description                     | Output Type |
| ------------------------------- | ----------- |
| Returns the newly created data. | Object      |

### errorCallback

The action performed if this function does not run successfully.

| Description               | Output Type |
| ------------------------- | ----------- |
| Returns an error message. | Text        |

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
