Files
directus/docs/guides/flows/generate-work-reports.md
Matthew Rumery bf10c943c8 Fix broken links in the documentation (#18377)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-02 10:03:32 +02: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