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

# Build Your First Case Template

> Create a case template to collect information from a new employee — in 5 to 10 minutes.

Get up and running in minutes — this guide walks you through creating a case template to collect information from a new employee.

## What you'll build

By the end of this guide, you'll have a ready-to-use case template that:

* Sends a form to your new employee to collect their personal details
* Automatically follows up with a welcome email

**Estimated time:** 5–10 minutes

***

<Steps>
  <Step title="Open the Templates section">
    Head over to your Penbox workspace and click **Templates** in the sidebar, then select **Cases**.

    <Frame>
      <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=eb763b465be98a8c422a289b97e0c0ef" alt="Image" width="253" height="169" data-path="images/image.png" />
    </Frame>
  </Step>

  <Step title="Create a new template">
    Click **+ New template**, give it a name (for example, *Collect info about new employee*), and hit **Create**.

    <Frame>
      <img src="https://mintcdn.com/penbox/WfHtQIauJDcuIVjl/images/image2.png?fit=max&auto=format&n=WfHtQIauJDcuIVjl&q=85&s=b60368fea812b2958a7641e874758668" alt="Image2" title="Image2" className="mx-auto" style={{ width:"60%" }} width="519" height="228" data-path="images/image2.png" />
    </Frame>
  </Step>

  <Step title="Define your main contact">
    Every case has a main contact — the person you'll be communicating with. In this scenario, that's your new employee.

    1. Click on **Main Contact** to rename it.
    2. Change the name to **New employee**.

    This label will appear throughout the case, so pick something that makes it easy to understand at a glance.

    <Frame>
      <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-3.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=561454d5fe0d26e2be35514a1073994a" alt="Image 3" title="Image 3" style={{ width:"78%" }} className="mx-auto" width="410" height="55" data-path="images/image-3.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-4.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=e4beec78f7c1a90067dea983ce5e20e0" alt="Image 4" className="mx-auto" style={{ width:"65%" }} width="427" height="129" data-path="images/image-4.png" />
    </Frame>
  </Step>

  <Step title="Set up your data schema">
    Now let's define the information you need to collect. For a new employee, you'll typically need six data points:

    | Data field             | Data type |
    | ---------------------- | --------- |
    | Birth date             | Date      |
    | Start date             | Date      |
    | Street name            | Text      |
    | City                   | Text      |
    | Zip code               | Text      |
    | Driving license number | Text      |

    Here's how to add them:

    1. Click **+ Add Data**.
    2. Select the appropriate data type (e.g., *Date* for Birth date).

           <Frame>
             <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-5.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=3c0a2d391fe77e1ce1c8eff38efd619e" alt="Image 5" width="321" height="328" data-path="images/image-5.png" />
           </Frame>
    3. Click on the new field's name and rename it (e.g., *Birth date*).

           <Frame>
             <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-6.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=0256f2641f8c65609514d38b98e9a3b5" alt="Image 6" width="351" height="270" data-path="images/image-6.png" />
           </Frame>
    4. Repeat for each data point.

           <Frame>
             <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-7.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=9776f3e4d8330668d258b7ba807c3b90" alt="Image 7" width="490" height="295" data-path="images/image-7.png" />
           </Frame>

    <Tip>
      Need to collect something extra later? Just click **+ Add Data** at any time to add more fields — your template is flexible.
    </Tip>
  </Step>

  <Step title="Create your first step: the collection form">
    Time to set up the communication flow. Your first step will send an email with a form so your new employee can fill in their details.

    1. Select the six data points you just created.
    2. Click **Ask with form**.

    <Frame>
      <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-8.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=77f65385f882a1b0cdf74a012ac9fb68" alt="Image 8" width="483" height="235" data-path="images/image-8.png" />
    </Frame>

    3. Review the form preview to make sure all the right fields are included, then click **Done**.

    <Frame>
      <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-9.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=4478d64eda2d9ec95d8b053072391ffa" alt="Image 9" title="Image 9" className="mx-auto" style={{ width:"52%" }} width="490" height="800" data-path="images/image-9.png" />
    </Frame>

    4. Penbox's AI will automatically generate an email inviting your new employee to fill out the form. Review the email content, tweak it if needed, and click **Save**.

    <Frame>
      <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-10.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=42dbc0ed8a6bf83ddc2554fc0cd6d76c" alt="Image 10" title="Image 10" className="mx-auto" style={{ width:"74%" }} width="800" height="789" data-path="images/image-10.png" />
    </Frame>
  </Step>

  <Step title="Create your second step: the welcome email">
    Now let's add a follow-up email to thank your new employee and welcome them aboard.

    1. Click  **Email**.

    <Frame>
      <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-11.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=e67ad3d379a03bf5766b32ef0aa1c4ee" alt="Image 11" title="Image 11" className="mx-auto" style={{ width:"47%" }} width="570" height="86" data-path="images/image-11.png" />
    </Frame>

    2. Click on the email subject line and change it to something like **Thank you and welcome**.
    3. Write a friendly welcome message in the email body.
    4. Click **Save**.

    <Frame>
      <img src="https://mintcdn.com/penbox/O5dgzBec3xzbc864/images/image-12.png?fit=max&auto=format&n=O5dgzBec3xzbc864&q=85&s=6a698191a1518aa49632dd5068f8750b" alt="Image 12" title="Image 12" className="mx-auto" style={{ width:"75%" }} width="809" height="425" data-path="images/image-12.png" />
    </Frame>
  </Step>
</Steps>

***

## You're all set!

Your case template now has two steps:

1. **Step 1** — An email with a form to collect your new employee's information
2. **Step 2** — A welcome email to thank them and say hello

The template is ready to use. Next time you onboard someone, just create a new case from this template and Penbox will handle the rest.

***

## What's next?

<CardGroup cols={3}>
  <Card icon="play" href="/guides/run-first-case" title="Run your first case">
    Put your template to work — launch a case, collect data, and close it in minutes.
  </Card>

  <Card icon="sliders" href="/cases/case_templates" title="Customize further">
    Add more steps, attach documents, or include additional data fields as your onboarding process evolves.
  </Card>

  <Card icon="folder-open" href="/cases/introduction" title="Explore other templates">
    Case templates work for any multi-step data collection workflow, not just onboarding.
  </Card>
</CardGroup>
