# Escalate overdue and blocked Jira tickets with Gmail: n8n workflow

> Started by a clock, and works across Gmail and Jira. 33 steps, 3 branches, 5 loops or waits: large, and worth reading before you trust it with anything live.

Source: https://millionrounds.com/workflow/escalate-overdue-and-blocked-jira-tickets-with-gmail (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Customer support](https://millionrounds.com/workflows?category=Customer+support#library)

# Escalate overdue and blocked Jira tickets with Gmail

Started by a clock, and works across Gmail and Jira. 33 steps, 3 branches, 5 loops or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fescalate-overdue-and-blocked-jira-tickets-with-gmail)

**33 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**5** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Logic 22 Service 9

The steps in the order they run, from what starts it.

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **Schedule Trigger** Schedule trigger *Starts it*
- 3 **⚙️ CONFIG** Set *Logic*
- 4 **GET_JIRA_ISSUES** Jira *Service*
- 5 **GET_ISSUES_LIST** Code *Logic*
- 6 **Loop Over Items** Split In Batches *Logic*
- 7 **END PROCESS** No Op *Logic*
- 8 **ISSUE_DATE_INSIGHTS** Code *Logic*
- 9 **ROUTES** Switch *Logic*
- 10 **SEND_DUEDATE_REMINDER** Gmail *Service*
- 11 **IS_OVERDUE_BETWEEN** If *Logic*
- 12 **MANAGER_ESCALATION** Gmail *Service*
- 13 **GET_ISSUE_CHANGELOG** Jira *Service*
- 14 **DATA_FLOW** Code *Logic*
- 15 **CONTINUE_LOOP** Code *Logic*
- 16 **Wait - Rate Limit (Reminder)** Wait *Logic*
- 17 **SEND_DUEDATE_WARNING** Gmail *Service*
- 18 **NOTIFY_TEAM** Http Request *Service*
- 19 **Wait - Rate Limit (Escalation)** Wait *Logic*
- 20 **AGGREGATE_ITEMS** Aggregate *Logic*
- 21 **MERGE_DATA** Merge *Logic*
- 22 **CONTINUE_LOOP_OVERDUE_WARNING** Code *Logic*
- 23 **Wait - Rate Limit (Warning)** Wait *Logic*
- 24 **CONTINUE_LOOP_BLOCKED_WARNING** Code *Logic*
- 25 **GET_BLOCKED_ITEM** Code *Logic*
- 26 **CONTINUE_LOOP_ESCALATION** Code *Logic*
- 27 **COMPUTE_BLOCKED_DAYS** Code *Logic*
- 28 **Switch** Switch *Logic*
- 29 **SEND_BLOCKED_WARNING** Gmail *Service*
- 30 **NOTIFY_TEAM_BLOCKED** Http Request *Service*
- 31 **MANAGER_ESCALATION_BLOCKED** Gmail *Service*
- 32 **Wait - Rate Limit (Blocked Escalation)** Wait *Logic*
- 33 **CONTINUE_LOOP_BLOCKED_ESCALATION** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 33, with 3 branches, 5 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Jira
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Jira accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 33 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 33 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fescalate-overdue-and-blocked-jira-tickets-with-gmail)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Jira](https://millionrounds.com/workflows?service=Jira#library)

## Workflows like it

Also customer support, with the same services where possible, closest in size first.

- [**AI-powered WhatsApp support bot with OpenAI and Gmail** 32 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-whatsapp-support-bot-with-openai-and-gmail)
- [**Automated customer support system with Gmail** 31 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automated-customer-support-system-with-gmail)
- [**WhatsApp personal AI assistant with PDF** 35 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/whatsapp-personal-ai-assistant-with-pdf)
- [**Automate B2B SaaS renewal risk management with CRM** 30 steps · Gmail, HubSpot](https://millionrounds.com/workflow/automate-b2b-saas-renewal-risk-management-with-crm)
- [**AI-powered WhatsApp customer service with OpenAI and Gmail** 37 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-whatsapp-customer-service-with-openai-and-gmail)
- [**Automate customer support issue resolution with OpenAI** 29 steps · calls a model · Jira, Notion](https://millionrounds.com/workflow/automate-customer-support-issue-resolution-with-openai)
