# Wizard step #2: Prompt

In the Prompt Builder tab, you’ll enter and refine the prompt for your document. Start by writing your prompt—this gives DeepWriter the input it needs to begin generation. The prompt must be at least 20 characters long and can go up to 30,000 characters.

You can keep it simple or provide a more detailed text, depending on your needs. For best results, we recommend the following structure:

* **Be specific:** Clearly state what you want to generate.
* **Provide context:** Include any relevant background information.
* **Define the purpose:** Explain the goal or research objective.
* **Mention the target audience:** Specify who the document is intended for.
* **Describe desired sections:** Outline the key parts you’d like included.

Additionally, you can include multiple documents as part of your prompt. Our current limit is 100 documents, with each file being up to 50MB.&#x20;

{% hint style="info" %}
**Pro Tip:** You can explore two alternative prompting strategies in the [Advanced prompting](/essential-user-guide/advanced-prompting.md) section of this guide.
{% endhint %}

Once your prompt is ready, click the **Process** button and let DeepWriter take it from there.

After you've prepared your initial prompt, DeepWriter will give you the option to keep your original text or use our enhanced version. You can still make edits after choosing either option.&#x20;

Most users prefer starting with the enhanced version:

<figure><img src="/files/gTsVIPRqSBzxrQlLrOSe" alt="" width="563"><figcaption></figcaption></figure>

Once you’ve chosen your prompt, you’ll be able to further edit it on the next page. More importantly, DeepWriter will generate up to 9 questions to help you tailor the output more precisely. You can skip them if you’d like, but the more details you provide, the better the results.

<figure><img src="/files/io5ZbKQpjfuQbmKwsgJw" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
**Pro tip:** before clicking **Next**, answer DeepWriter's smart follow-up questions. Once you do that, hit **Re-process** for even better results. This process, called Smart Loops, helps DeepWriter go deeper, question ideas, and find new directions for your content. Think of Smart Loops as your personal research assistant that gets better every time. We’ll revisit this in the [Prompt refinement with Smart Loops](/essential-user-guide/advanced-prompting/prompt-refinement-with-smart-loops.md) section.
{% endhint %}

Finally, add any extra outline instructions you’d like. This helps DeepWriter include specific details in the generation. We’ll cover this section in more depth later in the advanced part of the guide.

<figure><img src="/files/RcflDrlgy3CZaquykq2A" alt="" width="563"><figcaption></figcaption></figure>

When you're ready, click **Next** to begin the process.


---

# 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.deepwriter.com/essential-user-guide/quck-start/wizard-step-2-prompt.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.
