/
Data Write

Data Write

The DataWrite step type is used to write data back into the local database of the agent. This data can then be viewed by the user, or fed recursively back into the agent.

Options

data_model_name

This is the name of the data model that you would like to write data to.

 

This can either be a filled_intake, if you are trying to generate one of the built in filled intake objects. Or it can be the machine_name of one of the custom data schemas that are loaded in your account.

overwrite_existing_by_conversation_id

True/False on whether or not you want to overwrite any data that was previously generated versus creating new data every time the step is run.

data

The raw data that will be saved into the database. This must be in the same schema as the data model you are writing to.

Output

object_id

The ID of the object that resulted from this data write action.

Properties

type

system

needs conversation

[optional]

uses content template

true

uses options template

true

customizable output schema

false