Icon

03.Generate Daily Recap Report

This workflow reads
Annotations and comments
  • Part 5 - Best Practices 03. Generate Daily Recap Report
  • Workflow description: This workflow reads The new feedback and its calculated sentiment. The list of users who opted-out of receiving emails and generates a recap report containing the list of users who lately left feedback and whether a followup email can be sent to them or not. The execution waits for up-to-date data. This workflow is finalized and doesn't have exercises.
  • Executed by: WORKFLOW ACTION (02.Feedback_Analyzer)
  • Clean new_entries.csv file. Old feedback will not be processed again.
  • These parameters can be configured when executing the workflow from the KNIME Business Hub (Configuration Options panel)
  • Wait for updated data Before generating the report, make sure that the list of email unsubscribers has been updated today. Therefore, check the email_unsubscribers.csv file metadata and If updated within the last 5 minutes, go on with the execution. If not updated within the last 5 minutes, wait X seconds and check again
  • Read new feedback and append email_allowed field
  • Create PDF report
  • read empty file
  • read email_unsubscribers.csv
  • read new_entries.csv
  • clean file new_entries.csv
  • email_allowed=no
  • email_allowed=yes
  • create filename from current date
  • max attempts
  • waiting time (sec)
  • filter file path to email_unsubscribers.csv
  • up: email opt-out bottom: email allowed
  • difference (minutes)
  • today
  • outdated=0 if modified within 5 minutes
  • get file last edit
  • select first entry
  • wait X seconds and check again

Nodes

Extensions

Links