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

# Use cases: forms, actions

> See how you can use workflows and workflow solutions to respond to specific business scenarios.

<a href="/docs/product-overview#design" noZoom className="pillbuttonP">Design Workflows</a>
<a href="/docs/product-overview#design" noZoom className="pillbuttonT">Builder Toolbox</a>

<AccordionGroup>
  <Accordion title="Check if a date is in the future">
    To validate if a date is in the future, use the [compare quick action](/docs/calculations#comparing-formulas) in Next Matter.

    <Frame>
      <img src="https://mintcdn.com/nextmatter/Z3-w3RiDibcpWWcE/images/docs/0f4ec91b77cacf132851dc98ca45b47d12f1e7262605286b8352b1c417870ffe-Screenshot_2024-11-25_at_15.36.43.png?fit=max&auto=format&n=Z3-w3RiDibcpWWcE&q=85&s=520f8ff29deeabe7a6aea4630e70202e" alt="Image of the compare formula quick action setup" width="1336" height="532" data-path="images/docs/0f4ec91b77cacf132851dc98ca45b47d12f1e7262605286b8352b1c417870ffe-Screenshot_2024-11-25_at_15.36.43.png" />
    </Frame>

    To compare the dates, you need to format them into UNIX timestamps. To do that, select the cog wheel next to the date and enter %s in the **Custom format** field.

    If you want to skip data references and enter a date yourself, use [this converter](https://www.epochconverter.com/) (external page) to create a UNIX timestamp that you'll enter into the **Formula** field in Next Matter. For example, comparing this date `01/07/2024` will look like this after the date has been converted:

    <Frame>
      <img src="https://mintcdn.com/nextmatter/SgcAiYe3VpK6bFPP/images/docs/ccb26e9058d21f3e4ac28064ff133d60edeedc5022a04f56038059d5b2eb72f6-Screenshot_2024-11-25_at_15.44.09.png?fit=max&auto=format&n=SgcAiYe3VpK6bFPP&q=85&s=8d8c2a7103dd0f0f2d1daea394f1c9b1" alt="Image of the UNIX Timestamp Conversion in the Compare formula quick action setup" width="1352" height="150" data-path="images/docs/ccb26e9058d21f3e4ac28064ff133d60edeedc5022a04f56038059d5b2eb72f6-Screenshot_2024-11-25_at_15.44.09.png" />
    </Frame>

    Assuming the instance start time is in November 2024, we're getting the correct `False` step result.

    <Frame>
      <img src="https://mintcdn.com/nextmatter/bsmXZ466WcpOtxYo/images/docs/7d4c9c814d7567f58ceec94040b67480ae4a077efcb79df302aad0d9c1c840b4-Screenshot_2024-11-25_at_15.45.59.png?fit=max&auto=format&n=bsmXZ466WcpOtxYo&q=85&s=fd75c04039f308bf57ef3daf3557a386" alt="The image of Future Date Validation step Result" width="1176" height="614" data-path="images/docs/7d4c9c814d7567f58ceec94040b67480ae4a077efcb79df302aad0d9c1c840b4-Screenshot_2024-11-25_at_15.45.59.png" />
    </Frame>
  </Accordion>

  <Accordion title="Match and extract values from an Excel file">
    <iframe src="https://demo.arcade.software/r6ID4Q0u5ZiMnczTmRv4?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true" title="Excel file" width="100%" height="500px" />
  </Accordion>

  <Accordion title="Delete customer data in instances after set time">
    Some customers must delete customer or other sensitive data after a set amount of time (for example 30 days). You can easily meet this compliance expectation by adding a non-blocking step at the workflow's start and having it start 30 days after the instance starting time.
    This solution will automatically delete the instance together with all the media or files it might contain at the set time.

    The instance will be deleted at the set time even if the instance hasn't been completed.

    <iframe src="https://demo.arcade.software/n4diEe3Ms06YCjsmQDCX?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true" title="Data Deletion Workflow" width="100%" height="500px" />
  </Accordion>

  <Accordion title="Build a reimbursement form">
    To build a reimbursement form, when users input several entries you can use either:

    * A table
    * Short text forms with conditions

    **Use a table**

    1. In your workflow, add **Form** as a step and add **Table** as a new form field.
    2. Configure the table headers to display the information for the reimbursement. The data can either come from an external source or be a 2D array.
    3. Select the option that enables users to add rows.

    <Frame>
      <img src="https://mintcdn.com/nextmatter/SgcAiYe3VpK6bFPP/images/docs/c0661965b8fb33557f5f6258cfd9703064099eda1037542821219a22e664d488-Screenshot_2024-10-30_at_11.46.36.png?fit=max&auto=format&n=SgcAiYe3VpK6bFPP&q=85&s=a6c0483806d8eea8b89ae151716df0ad" alt="" width="1356" height="1082" data-path="images/docs/c0661965b8fb33557f5f6258cfd9703064099eda1037542821219a22e664d488-Screenshot_2024-10-30_at_11.46.36.png" />
    </Frame>

    4. Add the **Image upload** form field if you want users to upload images.

    Your table will look like the following and the users will be able to add rows and fill in the content.

    <Frame>
      <img src="https://mintcdn.com/nextmatter/I7XEPsBmVpUZVtva/images/docs/27ae0b11b26c9873def985ad34c8be4ca5f4214daa063eefff78ce2e26473870-Screenshot_2024-10-30_at_11.37.50.png?fit=max&auto=format&n=I7XEPsBmVpUZVtva&q=85&s=66b4bc75d2f21c5bf48c02c6e5ff9f2d" alt="The image of the table form field configuration with the option to let users add rows selected" width="1462" height="1328" data-path="images/docs/27ae0b11b26c9873def985ad34c8be4ca5f4214daa063eefff78ce2e26473870-Screenshot_2024-10-30_at_11.37.50.png" />
    </Frame>

    **Use conditional fields**

    1. In your workflow, add **Form** as a new step and add several **Short text** fields. You can configure the fields to require reimbursement details.

    <Frame>
      <img src="https://mintcdn.com/nextmatter/bsmXZ466WcpOtxYo/images/docs/5a60197cef51f89e9500c8d62e51072d62eacdea2f3377956ca40f8052cedbd1-Screenshot_2024-10-30_at_11.54.06.png?fit=max&auto=format&n=bsmXZ466WcpOtxYo&q=85&s=a47b05c5436b814b2170cbbf090aa6f8" alt="Image of several form fields" width="1330" height="1340" data-path="images/docs/5a60197cef51f89e9500c8d62e51072d62eacdea2f3377956ca40f8052cedbd1-Screenshot_2024-10-30_at_11.54.06.png" />
    </Frame>

    2. For the field where the sum is provided, make sure to add the **Allow only numbers** validation and allow decimals.

    <Frame>
      <img src="https://mintcdn.com/nextmatter/Z3-w3RiDibcpWWcE/images/docs/0df262322c6272445113d31a8c1031f37bc1694a227fd84d263f65715fdf39c4-Screenshot_2024-10-30_at_11.53.48.png?fit=max&auto=format&n=Z3-w3RiDibcpWWcE&q=85&s=ff4a7dd70034df7680633a21fa65f6fa" alt="Image of the short text field with the option to allow only numbers selected" width="1366" height="1336" data-path="images/docs/0df262322c6272445113d31a8c1031f37bc1694a227fd84d263f65715fdf39c4-Screenshot_2024-10-30_at_11.53.48.png" />
    </Frame>

    3. Add the **Image upload** field so that users can upload their invoice pics.

    4. Add the single choice dropdown field to ask users if they want to add more invoices.

           <Frame>
             <img src="https://mintcdn.com/nextmatter/n_eDywRY2Y_RWlpG/images/docs/86da7f4d866759216a7c6019b24ac9582f8bbfbf45eb3770e0141997bc3ec092-Screenshot_2024-10-30_at_11.58.48.png?fit=max&auto=format&n=n_eDywRY2Y_RWlpG&q=85&s=5539bb3f977ae8bbc6696c6c05498685" alt="Image of the simngle choice dropdown form field" width="1364" height="1230" data-path="images/docs/86da7f4d866759216a7c6019b24ac9582f8bbfbf45eb3770e0141997bc3ec092-Screenshot_2024-10-30_at_11.58.48.png" />
           </Frame>

    5. Duplicate the reimbursement form fields and create conditions on each of the fields to only show if the user selects to add more invoices.

    <Frame>
      <img src="https://mintcdn.com/nextmatter/I7XEPsBmVpUZVtva/images/docs/326a4b04ea39e943f41f278dca4aa98b3c41090ff14988f33f512296ef2264c9-Screenshot_2024-10-30_at_11.56.46.png?fit=max&auto=format&n=I7XEPsBmVpUZVtva&q=85&s=807fb5599d41a11d36820f61cf1544d4" alt="Image of the conditions pop-up" width="1292" height="694" data-path="images/docs/326a4b04ea39e943f41f278dca4aa98b3c41090ff14988f33f512296ef2264c9-Screenshot_2024-10-30_at_11.56.46.png" />
    </Frame>
  </Accordion>

  <Accordion title="Upload 50+ files to a form">
    Normally the file upload form field allows you to upload a maximum of 50 files (and 50 MB per file). If you require to upload more, you can create multiple upload fields and show them based on conditions. Watch the video for details.

    <iframe width="560" height="315" src="https://demo.arcade.software/qHnBGK9FDDZqCf6FBiVS?embed\&embed_mobile=tab\&embed_desktop=inline\&show_copy_link=true" title="Tutorial" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />
  </Accordion>
</AccordionGroup>
