Templates / Automate lead ranking & task creation with Google Sheets + ClickUp

Automate lead ranking & task creation with Google Sheets + ClickUp

Needs changes

by Rahul Joshi ✓ · 292 views · created 2025-10-07 · Lead Generation

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and ClickUp.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Read Leads from Sheet (Google Sheets): uses Google Sheets
  2. Calculate Days Since Contact (Function): runs custom JavaScript (legacy Function node)
  3. Calculate Priority Score (Function): runs custom JavaScript (legacy Function node)
  4. Sort: sorts the items
  5. Select Top 10 Leads (Limit): keeps the first few items
  6. Suggest Optimal Send Time (Function): runs custom JavaScript (legacy Function node)
  7. Create ClickUp Task (ClickUp): uses ClickUp
  8. Update Sheet - Mark as Queued (Google Sheets): update

Services it uses

Google SheetsClickUp

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Suggest Optimal Send Time, Calculate Days Since Contact1, Calculate Priority Score1: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Suggest Optimal Send Time, Calculate Days Since Contact1, Calculate Priority Score1
Code node, mode 'Run Once for All Items'

Nodes used (6)

From the author

Description Stop losing warm leads in the noise. This automation analyzes your lead engagement data, calculates priority scores based on activity and last contact date, and automatically queues your top 10 leads for follow-up in ClickUp — complete with…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.