# Email an Excel file of Podio data

How to create an Excel file of your Podio data and send it via email.

## Example

On a weekly basis, **Invoices** are imported into an **App**. On a monthly basis, our **Collections** department would like to receive an excel spreadsheet to be used for importing into another App for the dunning procedure. How can this be automated?

## Podio Preperation

1. **First**, the excel file will require a **Podio Item** where it will be saved (unless **ShareFile has been Integrated**). Create a basic App with fields for **Title and Date**, this example also has a calculation field for File Name and a category field for **Status**.

   ![Podio Preparation](https://www.progress.com/podio/documentation/assets/16349574c6fb33a85bd35da53eca9cb9/podio-prep-1.png)

2. **Next**, go back to the **Invoice App**, filter the items required for the excel file and save this as a **Team View**.

   ![Podio Preparation](https://www.progress.com/podio/documentation/assets/ea10d6c457be836cbfa9a660a4894fcc/podio-prep-1a.png)

Once a [Refresh from Podio](https://www.progress.com/podio/documentation/workflow-automation/get-and-collect-data/refresh-from-podio) has been completed, the workflows can be created.

## Flow Details

1. **First**, create a **By Date or Day** flow. Set the filter to run on the day required each month and add an action to [Create an Item](https://www.progress.com/podio/documentation/workflow-automation/create-and-update-data/create-an-item) in the Reporting App created above.

   ![Podio Flow Details](https://www.progress.com/podio/documentation/assets/994f52e7c78667f0e4891ba6fe3147c1/podio-prep-2.png)

2. **Then**, create a flow that *Triggers on Creation in the Reporting App*. Add a **Collector** to [Get the Podio View](https://www.progress.com/podio/documentation/workflow-automation/get-and-collect-data/get-podio-view) created above and the [Build Excel Sheet](https://www.progress.com/podio/documentation/workflow-automation/build-excel-sheet) from those collected items. Finish up with the [Send Email](https://www.progress.com/podio/documentation/workflow-automation/send-an-email) action to send the newly created **.xls file** to the Collections department.

   ![Podio Flow Details](https://www.progress.com/podio/documentation/assets/0347e5caf7bbd8ef6ac446eca9bac146/podio-prep-3.png)

## The Result

Now, on the last day of each month, an item will be created in the **Excel File App**. This Item Creation will trigger the excel file creation and send it by email to the designated department.
