Contact Log in

Create Object

Create an object of a specified type, passing the desired JSON data which should exist in the object’s “data” field. This step will validate that the object being created passes the current Object Type schema.

Once a schema changes, you must adapt workflows to insert the new schema, not the old version. Attempting to create an object that does not satisfy the current schema will result in a handoff.

After successfully creating an object, the entire object will be stored in the result memory with its ID populated.

For instance, you might pass this to Create Object:

{"name": "Bob Belcher", "favoriteFood": "burgers"}

And something similar to the following will become available in the memory:

{
	"id": 1,
	"objectTypeID": 1,
	"data": {"name": "Bob Belcher", "favoriteFood": "burgers"},
	"customerID": 1,
	"createdAt": "2020-01-30T00:00:00Z",
	"version": 1,
	"byteSize": 48
}
Ask Support