# Create object step

![](/files/-MVtxgxamygkLFWsiTAu)

**Create object** step allows you to create object or to make a link to existing object.

### General parameters

![](/files/-MVty3cWrRh8T1w5_ufk)

* Choose the data structure, whose object we are going to create.
* ID of new object
  * Automatic. The unique ID will be created automatically;
  * Manual. You can compose the expression for the ID> For example, it could be todays date, or a combination of other fields (e.g. `$D.md5('{{field1}}' + '{{field2}}')`)  Remember, that length of ID cannot exceed 32 characters.&#x20;
* Save ID to the field. Often necessary in case of automatic ID generation.
* Generating an event (see [event model](/scenarios/principles-of-scenarios/directual-event-model.md))&#x20;

{% hint style="info" %}
If there is an *existing object* with such an ID, no new object will be created. The link to the existing object will be saved to the field.
{% endhint %}

### Fields mapping

![](/files/-MVtzGDaCP1bnuysJDbV)

Fill the fields of new object. Similar to [edit object step](/scenarios/editing-scenarios/action-steps/edit-object-step.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://readme.directual.com/scenarios/editing-scenarios/action-steps/create-object-step.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
