Automate agile refinement prep with Gmail, OpenAI & Google Sheets
Needs changesWhat this workflow does
This AI workflow has 42 nodes and runs when another workflow fails (error workflow) (plus 2 other triggers). Along the way it connects Google Calendar, Google Sheets, Google Drive and OpenAI Chat Model and 1 more.
How it runs
Trigger: When another workflow fails (error workflow) (plus 2 other triggers).
- Send Error Email (Gmail): uses Gmail
- Start Here: Set Environment Variables (Edit Fields (Set)): sets or maps fields
- Load Calendar of Scrum Master (Google Calendar): uses Google Calendar
- Check for Refinement Project A (Filter): keeps only the items that match a condition
- Take DoR link for further referral (Google Drive): uses Google Drive
- Take backlog link for further referral (Google Drive): uses Google Drive
- Select Stories Ready for Refinement from Backlog (Google Sheets): uses Google Sheets
- Select Stories High Prio To Do from Backlog (Google Sheets): uses Google Sheets
- Join Potential Stories for Refinement (Merge): merges the data from its input branches
- Loop Over Items for DoR check (Loop Over Items (Split in Batches)): loops over the items in batches
…plus 22 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Compare User Story to DoR Criterium (v1.9), Draft Email for Refinement (v1.8), Business Validation (v1.9)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
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.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Compare User Story to DoR Criterium (v1.9), Draft Email for Refinement (v1.8), Business Validation (v1.9), Development Team Validation (v1.9), Provide Scrum Master Feedback on the story (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (16)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - No Operation, do nothing
n8n-nodes-base.noOp - Google Calendar
n8n-nodes-base.googleCalendar - Filter
n8n-nodes-base.filter - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Drive
n8n-nodes-base.googleDrive - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Error Trigger
n8n-nodes-base.errorTrigger - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set
From the author
👤 Who is this for? This workflow is designed for Scrum Masters, Agile Coaches, and Product Owners who want to automate backlog refinement preparation using Google Sheets, Gmail, and OpenAI. It’s ideal for teams seeking consistent, high-quality refinement…