Files
directus/docs/cookbook/flows/generate-work-reports.md
Rijk van Zanten c723085902 Move docs to monorepo (#18052)
* Move docs to monorepo

* Tweaks
2023-04-04 18:23:58 -04:00

1.3 KiB

description, tags, skill_level, directus_version, author_override, author
description tags skill_level directus_version author_override author
This recipe outlines a method to generate reports using Directus Flows.
9.18.1 Eron Powell

Generate Work Reports

{{ $frontmatter.description }}

:::tip Author: {{$frontmatter.author}}

Directus Version: {{$frontmatter.directus_version}}

:::

Explanation

The Recipe

:::tip 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