# Set up your knowledge base

> Add the policy for one decision and choose how the workflow receives it.

In the [refund review quickstart](https://outwin.ai/docs/start/quickstart/), the 30-day policy is written into the **Yes / No** block’s instructions. Move the rule into a knowledge document when your team needs to maintain it as policy. The document says which purchases qualify. The block’s instructions say how to use the policy to choose a path.

## Start with the document that governs the decision

For refund eligibility, start with the policy the team uses today. Include the facts it requires, the rule it applies, and when a request needs review. Keep examples alongside the policy if they help explain a rule. Label them as examples so readers can tell an illustration from the rule itself. Agree on who will review changes when the policy is updated.

To try this with the practice workflow, open **Knowledge**, select **New document**, and enter `Practice refund policy` in **Title**. In **Content**, enter the following and select **Create document**:

> A purchase made 30 days ago or less qualifies for a refund recommendation. Send older purchases for review. Send requests with an unknown purchase age for review.

As the collection grows, group related documents by **Section** and use **Labels** for topics that span sections. For example, a Customer support section might include several policies, while a Refunds label can mark relevant documents across support and finance.

## Choose what the block receives

| When you need | Use | What the block receives |
| --- | --- | --- |
| The same short policy for every decision | **Add documents** | The full text of each attached document. |
| Relevant guidance that depends on the request | **Search for relevant information** | Passages found for that run. Use **Sections** and **Labels** to narrow where the block searches. |
| A policy every decision needs plus case-specific guidance | Both | The attached documents and any relevant passages found by search. |

For the practice workflow, open the **Yes / No** block and turn on **Knowledge base**. Under **Documents**, select **Add documents** and choose `Practice refund policy`. Turn off **Search for relevant information** for this example so you can test just the attached policy. Replace the earlier **Instructions** with:

> Apply the attached practice refund policy to the request. Answer yes when the policy says the purchase qualifies for a refund recommendation. Answer no when the policy calls for review.

## Check that the decision uses the policy

[Publish the workflow changes](https://outwin.ai/docs/run/change-a-published-workflow/) and repeat the two sample requests. The purchase made 12 days ago should take the **Yes** path. The purchase made 45 days ago should take the **No** path and wait for approval. If either takes an unexpected path, check that the policy is attached to the block making the decision and that its instructions tell the block to use it.

When several documents cover the same decision, [set authoritative guidance](https://outwin.ai/docs/knowledge/set-authoritative-guidance/) to identify the governing policy and resolve disagreements between sources.
