Log Jira worklogs nightly from Google Sheets with Gmail and GPT-4o-mini
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs on a schedule (cron 0 0 22 * * *). Along the way it connects Google Sheets, OpenAI and Gmail.
How it runs
Trigger: On a schedule (cron 0 0 22 * * *).
- Read Log Sheet (Google Sheets): uses Google Sheets
- Filter Pending + Today (Code): runs custom JavaScript code
- Anything To Process? (If): checks a condition and branches into true / false
- Email: Nothing To Do (Gmail): uses Gmail
- Split Into Rows (Code): runs custom JavaScript code
- Loop Rows (Loop Over Items (Split in Batches)): loops over the items in batches
- Build Summary (Code): runs custom JavaScript code
- Build Payload (Code): runs custom JavaScript code
- AI Summary (OpenAI): uses OpenAI
- Jira: Add Worklog (HTTP Request): calls an HTTP API (POST)
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - OpenAI
@n8n/n8n-nodes-langchain.openAi - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Jira Daily Worklog Automation — Auto-log Time from Google Sheets to Jira Every Night Automatically logs time to Jira every night from a Google Sheet. No manual worklog entries needed — just fill in your sheet and the workflow handles the rest at 10 PM. Built…