Skip to main content

Monitor contract renewal risk with HubSpot, Asana, Slack, and Gmail

Workflow preview

Workflow preview
100%
Monitor contract renewal risk with HubSpot, Asana, Slack, and Gmail preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow runs daily to pull closed won HubSpot deals with upcoming renewal dates, scores each contract for renewal risk based on usage and engagement fields, and alerts the team...

Best for

  • CRM automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.asana, n8n-nodes-base.slack

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.

Original n8n.io source

1.1 Workflow description

Title
Monitor contract renewal risk with HubSpot, Asana, Slack, and Gmail
Workflow name
Monitor contract renewal risk with HubSpot, Asana, Slack, and Gmail

Quick Overview

This workflow runs daily to pull closed-won HubSpot deals with upcoming renewal dates, scores each contract for renewal risk based on usage and engagement fields, and alerts the team by creating an Asana task, logging a HubSpot note, posting to Slack, and sending an email via Gmail.

How it works

  1. Runs every day at 08:00 using a scheduled trigger.
  2. Searches HubSpot CRM for closed-won deals and retrieves renewal, owner, and usage/engagement properties.
  3. Keeps only deals with a valid owner and renewal date within the next 60 days.
  4. Calculates a 0–100 renewal risk score from usage, engagement, inactivity, and time-to-renewal signals and flags items at or above the threshold.
  5. For at-risk renewals, assigns a Medium/High risk tier and builds alert text and a follow-up due date.
  6. Creates an Asana task for the account owner, logs a note back to the associated HubSpot deal, posts a Slack alert, and sends an email digest via Gmail.

Setup

  1. Provide a HubSpot Private App token (or access token) and replace the placeholder Authorization: Bearer YOUR_HUBSPOT_API_KEY values in both HubSpot HTTP Request steps.
  2. Ensure your HubSpot deals include the properties used by the workflow (renewal_date, hubspot_owner_id, product_usage_score, engagement_score, last_login_days, amount, dealname) or update the request and scoring logic to match your schema.
  3. Connect your Asana credentials and set the target project/assignee settings in the Asana task creation step.
  4. Connect your Slack credentials and replace YOUR_SLACK_CHANNEL_ID with the channel that should receive renewal-risk alerts.
  5. Connect your Gmail credentials and update the recipient address in the email step.
  6. Adjust the schedule time, the warning window (60 days), and the risk threshold (50) to fit your process.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Daily Schedule

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 6 - Fetch Active Contracts

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 7 - Filter Upcoming Renewals

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Score Renewal Risk

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Is At Risk

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 10 - Classify Risk Tier

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Create Renewal Task

Type / Role
n8n-nodes-base.asana - asana
Config choices
Version 1

Block 12 - Log CRM Note

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 13 - Slack Renewal Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 14 - Email AM Digest

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

3. Summary Table

Workflow Monitor contract renewal risk with HubSpot, Asana, Slack, and Gmail
Complexity intermediate
Nodes 14
Categories CRM, AI Summarization
Author Avkash Kakdiya
Published 11 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16270/16270.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Monitor contract renewal risk with HubSpot, Asana, Slack, and Gmail do?

Quick Overview This workflow runs daily to pull closed won HubSpot deals with upcoming renewal dates, scores each contract for renewal risk based on usage and engagement fields, and alerts the team...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Summarization use case.