Log daily Grants.gov AI opportunities to Google Sheets and send Gmail digests
UnknownWhat this workflow does
This AI workflow has 15 nodes and runs on a schedule (cron 0 7 * * *). Along the way it connects Google Sheets, OpenAI Chat Model, Gmail and Apify (community).
How it runs
Trigger: On a schedule (cron 0 7 * * *).
- Org Profile (Edit Fields (Set)): sets 4 fields: orgProfile, keyword, minScore…
- Read Logged Grants (Google Sheets): uses Google Sheets
- Run Grants.gov Scraper (Apify): run actor and get dataset (actors)
- Keep Only New Grants (Code): runs custom JavaScript code
- AI Score Grant (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Score Parser
- Build Sheet Row (Code): runs custom JavaScript code
- Append to Sheet (Google Sheets): append
- Score >= Min (Filter): keeps only the items that match a condition
- Collect Matches (Aggregate): combines items into one
- Any Matches? (If): checks a condition and branches into true / false
…plus 1 more step. 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
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Run Grants.gov Scraper).
Nodes used (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Apify
@apify/n8n-nodes-apify.apify - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Filter
n8n-nodes-base.filter - Aggregate
n8n-nodes-base.aggregate - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow runs daily, fetches newly posted Grants.gov opportunities via an Apify actor, appends the results to Google Sheets, and emails a plain-text digest of the new listings via Gmail. How it works 1. Runs every day at 07:00 using a cron…