Calculate bid average in Wrike Secondary
Project ManagementMarketingRecipe Tools
What it does
When a new or updated task appears in Wrike Secondary with a Bid but no Bid Average, this automation calculates the average bid across all tasks in that folder. It stores the result back in Wrike so the team sees current bid data.
Who it's for
Finance teams who track bids in Wrike and need bid averages computed automatically as tasks change.
Apps used
- Wrike Secondary
- Variables by Workato
- Lookup tables by Workato
How teams use this
Calculate bid average on task creation
When a new task with a Bid is added to a Wrike folder, the automation computes the average bid for all tasks in that folder and stores it. The team sees current bid metrics without manual calculation.
Recompute average when bid changes
If someone updates a Bid on an existing task, delete the Bid Average field to trigger a recalculation across all tasks in the folder. The automation recalculates and updates the average in real time.
Track separate averages by bid category
Add a filter to check the custom field type so the automation only processes bids that match a specific category. This lets the team track separate averages for different bid types in one folder.
How it works
- Detect a new or updated task. A task is added or modified in Wrike Secondary with a Bid value and no Bid Average. This prevents the automation from looping when it updates the average.
- Retrieve all tasks in the folder. Fetch every task in the same folder so the automation can examine all bids and calculate the average across the full set.
- Extract bid amounts from custom fields. Search the Lookup Table for each task's custom field data to pull the Bid amounts needed for the average calculation in Wrike.
- Store the computed average. Write the calculated Bid Average back to the task in Wrike Secondary so the team and downstream systems see the result.