# Building the Core Logic: Using the Workflow Prompt and Assets

### Summary

After setting up your workflow's details, the next step is to build its core logic. You will do this by writing a high-level **Workflow Prompt** to define the AI's role and, where necessary, uploading **Workflow Assets** to provide it with your firm's specific expertise.

### Why This is Important

This is the step where you transform a general AI into a specialized legal assistant that operates according to *your firm's* standards. A well-defined prompt and the right assets are the keys to **AI legal workflow automation**. They "ground" the AI, ensuring its outputs are not just accurate in general, but accurate and consistent for your specific needs.

{% hint style="info" %}
**Turn Your Expertise into an Asset:** The most powerful **Workflow Assets** are often the simplest. Think about the informal checklists, email templates, or "rules of thumb" that your most experienced partners use. Type those unwritten rules into a simple text file and upload it. This is the fastest way to scale senior-level expertise across your entire firm.
{% endhint %}

### Configuring Your Workflow's Core Logic

This screen has two main components that work together: the Prompt and the Assets.

#### 1. The Workflow Prompt

The **Workflow Prompt** is the AI's high-level "job description" for the entire workflow. It should describe the AI's role, its overall purpose, and the tone it should adopt.

**Workflow Prompt vs. Task Prompt** It is critical to understand the difference:

* The **Workflow Prompt** defines the AI's *role* (the "who" and "why").
* The **Task Prompts** (which you will configure in the next step) define the AI's specific *instructions* (the "what" and "how").

**Best Practice:** Give the AI a clear persona. This helps it generate more consistent and professional results.

* **Example:** For a workflow that reviews NDAs, a strong Workflow Prompt would be:

  > *You are an expert paralegal specializing in contract review. Your job is to analyze Non-Disclosure Agreements based on our firm's specific criteria and standards, which are provided in the attached asset file.*

{% tabs %}
{% tab title="English Interface" %}

<figure><img src="/files/OBPzcmRUZOizUSnBcCFI" alt=""><figcaption><p>Define the AI’s role with a clear Workflow Prompt, and strengthen it with Workflow Assets like playbooks, checklists, or templates to guide its analysis.</p></figcaption></figure>
{% endtab %}

{% tab title="Interfaz en Español" %}

<figure><img src="/files/8scMnRhcnoNjls8jEjPw" alt=""><figcaption><p>Defina el rol de la IA con un Prompt de Flujo de Trabajo claro y refuércelo con Activos del Flujo de Trabajo como manuales, listas de verificación o plantillas para guiar su análisis.</p></figcaption></figure>
{% endtab %}
{% endtabs %}

#### 2. Workflow Assets

**Workflow Assets** are the "secret sauce" of your automation. They are the source-of-truth documents you can upload to give the workflow a specific knowledge base. The AI will refer to these assets to ground its analysis and ensure its responses align with your firm's unique expertise.

* **What makes a good asset?**
  * **Playbooks:** A document outlining your firm's position on specific contract clauses.
  * **Checklists:** A list of items to verify during a compliance review.
  * **Templates:** An approved document structure or boilerplate text.
  * **Guidelines:** A list of your firm's branding and tone-of-voice rules.
* **Example:** For our `NDA Red Flag Analysis` workflow, the perfect asset is a simple text file named `NDA_Playbook.txt` that lists and explains the specific "deal-breaker" clauses the AI must look for.

### Best Practices & Pro Tips

* **Be Specific in Your Prompt:** Clearly state the AI's role and mention that it should refer to the uploaded assets. This explicitly connects its persona to its knowledge base.
* **One Asset, One Purpose:** For the best results, use focused, single-purpose assets. Instead of uploading a massive, 100-page firm manual, create a small, targeted text file that contains only the information relevant to that specific workflow.

### Unlock the Power of Legal Automation

Ready to see how Vincent Studio can transform your firm's efficiency?

[**Contact our sales team for a personalized demo today.**](https://vlex.com/book-a-demo?utm_source=website\&utm_medium=organic\&utm_campaign=web_trial_homepage\&campaign_id=4270741)

### Related Articles

* [Workflow Governance: Quality Control and Lifecycle Management](/vincent-by-vlex-1/vincent-studio/vincent-studio-advanced-techniques-and-best-practices/workflow-governance-quality-control-and-lifecycle-management.md)
* [How to Publish and Share Your Vincent Studio Workflow](/vincent-by-vlex-1/vincent-studio/creating-and-managing-ai-workflows-in-vincent-studio/how-to-publish-and-share-your-vincent-studio-workflow.md)

**What's Your Next Step?**

| **New to Vincent Studio?**                                                                                                                                                                                 | **Already a Vincent Studio Customer?**                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [See how Vincent can transform your practice. **Request a personalized demo**.](https://vlex.com/book-a-demo?utm_source=website\&utm_medium=organic\&utm_campaign=web_trial_homepage\&campaign_id=4270741) | [If you still have questions or need help with a specific feature, our team is here to assist. **Contact our Support team**.](https://vlex.com/contact-us) |


---

# 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://support.vlex.com/vincent-by-vlex-1/vincent-studio/creating-and-managing-ai-workflows-in-vincent-studio/building-the-core-logic-using-the-workflow-prompt-and-assets.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.
