Skip to content
Return to top
On this page

# Generate Work Reports #

> This recipe outlines a method to generate reports using Directus Flows.

Author: Eron Powell

Directus Version: 9.18.1

## Explanation #

## The Recipe #

Requirements

You'll need something to validate against.

### Get Stakeholders #

- cron job
- read data
  - Get relevant authors/managers/etc.
- trigger flow
  - pass array of users/stakeholders into payload

### Generate and Send Report #

- another flow: for user in user_list
- read data
  - get data/content using a query
  - get authors and managers
  - send data
- run script (optional)
  - format data for report
- email or notification
  - send to managers or stakeholders

## Final Tips #