# Create File

### Description

The `Create File` action creates an empty file. This is useful for creating trigger files from within workflows.

### Options

| Option                 | Description                                                                                                                                                                     |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Action name            | The name of the workflow action.                                                                                                                                                |
| File name              | The name and path of the file to create an empty file.                                                                                                                          |
| Fail if file exists    | <p>The workflow action will follow the failure outgoing hop when the file to be created already exists (empty or not) and this option is switched on.<br>The default is on.</p> |
| Add filename to result | Add the filename for the file that was created in this action to the results.                                                                                                   |


---

# 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://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/createfile.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.
