Score new NIH research grants with Apify, OpenAI, Google Sheets and Slack
Ready for 3.0What this workflow does
This AI workflow has 35 nodes and runs on a schedule (every day at 08:00) (plus 3 other triggers). Along the way it connects Google Sheets, Slack, OpenAI Chat Model and Gmail.
How it runs
Trigger: On a schedule (every day at 08:00) (plus 3 other triggers).
- Config (Edit Fields (Set)): sets 17 fields: apifyApiBase, actorId, actorInput…
- Format error alert (Code): runs custom JavaScript code
- Daily run or weekly report? (If): checks a condition and branches into true / false
- Slack: uses Slack
- Read sheet rows (Google Sheets): uses Google Sheets
- Start Apify run (HTTP Request): calls an HTTP API (POST)
- Build weekly report (Code): runs custom JavaScript code
- Wait: pauses before continuing
- Gmail: uses Gmail
- Get run status (HTTP Request): calls an HTTP API
…plus 17 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
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (17)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Stop and Error
n8n-nodes-base.stopAndError - No Operation, do nothing
n8n-nodes-base.noOp - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick Overview This workflow runs daily to fetch newly awarded NIH research grants via an Apify actor, scores and summarizes them with OpenAI, stores results in Google Sheets, and routes hot grants to Slack for approval and warm grants to a Gmail digest, plus…