Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Tasks & Project Management

Tasks & Project Management

Score contract renewal risk and route approvals from webhook intake

Runs on each webhook POST to validate a contract, flag upcoming renewals, score risk through an HTTP analysis service, and return an approval decision with an audit trail.

What it does

## Contract Lifecycle Workflow Ingests a contract, detects upcoming renewals, runs risk analysis, evaluates dynamic approval requirements, and returns a full lifecycle decision with audit trail. ### All nodes (1-line each) 1. Webhook - Contract Intake – Receives new or updated contract data via POST. 2. Code - Validate & Normalize – Validates required fields and normalizes contract metadata. 3. Code - Renewal Detection – Calculates days-to-expiry and flags contracts needing renewal action. 4. Wait - Pre Risk – Short pause before risk analysis. 5. HTTP Request - Risk Analysis Engine – Sends contract details to an external risk scoring service. 6. Code - Process Risk Score – Interprets risk score and maps it to risk tier (low / medium / high). 7. Wait - Pre Policy – Pause before policy evaluation. 8. Code - Evaluate Approval Policy – Determines required approval levels based on value, risk and renewal status. 9. Wait - Pre Approval – Pause before approval routing. 10. HTTP Request - Approval System – Submits the contract for the required multi-level approvals. 11. Code - Process Approval Result – Records approval decision and final lifecycle status. 12. Code - Build Lifecycle Report – Creates a complete report including renewal, risk and approval outcomes. 13. Code - Finalize Response – Assembles the final response payload for the caller. 14. Respond to Webhook – Returns the contract lifecycle decision and audit trail.

The steps

  1. Webhook - Contract Intake
  2. Code - Validate & Normalize
  3. Code - Renewal Detection
  4. Wait - Pre Risk
  5. HTTP Request - Risk Analysis Engine
  6. Code - Process Risk Score
  7. Wait - Pre Policy
  8. Code - Evaluate Approval Policy
  9. Wait - Pre Approval
  10. HTTP Request - Approval System
  11. Code - Process Approval Result
  12. Code - Build Lifecycle Report
  13. Code - Finalize Response
  14. Respond to Webhook

Similar automations