Notify Legal of Workfront document approvals every 5 minutes

Recipe ToolsMarketingWorkatoData ParserUtilities

What it does

Every 5 minutes, this automation queries Workfront for recent document approval decisions. It logs each decision for the Legal Review Team and tracks the last query time so only new approvals are processed.

Who it's for

Legal teams who need timely notifications when Workfront documents receive approval decisions.

How teams use this

Monitor document approvals in real time

Legal teams receive a log of all Workfront document approvals every 5 minutes without manual checking. The automation tracks query time so no approvals are missed or duplicated.

Alert the team when approvals reach a threshold

Extend the automation to check the approval count and send a Slack or email alert when more than a set number of decisions arrive in one cycle. Only the logging step needs a condition added.

Route approvals by document type

Parse the Workfront data to filter approvals by document category and log each type to a separate report or channel. The query and parsing steps stay the same and only the routing logic changes.

Cancel projects when approvals are rejected

Add a condition to check if an approval was rejected, and if so, update the Workfront project status to cancelled. This requires only a new step after the parse to check rejection status and update the project.

How it works

  1. Check for approvals every 5 minutes. The automation runs on a 5-minute schedule to query Workfront for recent document approval decisions.
  2. Retrieve the last query timestamp. Look up the most recent query date and time from the Lookup Table to find approvals since the last check.
  3. Fetch recent document decisions. Query Workfront for document approval decisions made since the last query time, capturing all new approvals in the 5-minute window.
  4. Parse and tag approval data. Parse the Workfront response with Json Parser and generate note tags for the Legal Review Team so approvals are organized and ready to log.
  5. Log approvals and update timestamp. Log each approval decision to the job report and update the Lookup Table with the current query time for the next cycle.