> ## Documentation Index
> Fetch the complete documentation index at: https://docs.askui.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AskUI-NewAIElement

### SYNOPSIS

Creates a new AI Element.

### PARAMETERS

* `-Name` | *\<String>* - (Optional) Name of the AI Element.
* `-WorkspaceId` | *\<String>* - (Optional) Workspace ID for the AI Element.
* `-Delay` | *\<Int32>* - (Optional) Delay in seconds before the screen freezes. Default is 0.
* `-AlwaysPreview` | *\<SwitchParameter>* - (Optional) Always opens the preview without prompting. Cannot be used together with the parameter '-Name'.
* `-NoPreview` | *\<SwitchParameter>* - (Optional) Never opens the preview without prompting.
* `-ConfigFile` | *\<String>* -
