n8n workflow template · 16 nodes · OpenAI
Deduplicate Scraping AI Grants for Eligibility using AI is a free n8n workflow template that runs on a schedule and works with OpenAI, Airtable and Gmail. It has 16 nodes, 4 of them AI nodes (OpenAI Chat Model and Information Extractor). The notes inside the workflow say: “Scheduled triggers are a great way to run this template automatically in the morning ready for your team before they start their working day.” To run it, you add your own credentials for Airtable API, Gmail OAuth2 and OpenAI API.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
Learn more about Scheduled Triggers
Scheduled triggers are a great way to run this template automatically in the morning ready for your team before they start their working day.
Feel free to adjust the interval to a time which suits you!
Learn more about the Remove Duplicates node
A cool feature of n8n's remove duplicates node is that it works across executions. What this means for this template is that the node will help us keep track of grant IDs to know if we've already processed them and if so, filter them out so we won't have duplicate alerts.
Learn more about the HTML Template node
Using our freshly collected AI grants, it would be nice if we can share them with our team members via email. A nicely formatted email digest can be generated using the HTML template node, with added links for greater impact.
Here in this demonstration, we will loop through all eligible new grants and compile them into a newsletter format using the HTML node.
Learn more about the Gmail node
Finally, we can source a list of subscribers to send our generated email newsletter.
Here, our subscriber list is another table alongside our grants table that we can import that list using the Airtable node. You can use any email provider that supports HTML but for this demonstration, we're using Gmail for simplicity sake.
Learn more about the Airtable Node
In n8n, it's easy to send your data anywhere to manage yourself, share with your team or reuse with other workflows. Here for demonstration purposes, we'll just store each grant as a row in our Airtable database.
Check out the sample Airtable here
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
Additionally after the leads are captured, a simple alerts notification can be generated and shared with team members.
Join the Discord or ask in the Forum!
Learn more about the Information Extractor node
Qualifying Leads requires a lot of contextual reasoning taking into account many factors such as commercials, location and eligibility criteria. Whilst it's not guaranteed AI can or will solve this for your particular requirements, it can however get you a good distance of the way there!
AI in this template intends to reduce time (and therefore cost) for a team member needs to spend per grant listing or increase their coverage of grants which they would otherwise miss due to capacity.
Company details are added in the system prompt to help the AI determine eligibility. The more details the better!
The 16 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:
Configure your own credentials after importing. Create each credential in n8n, then select it in the node.
Do you need somewhere to run it? Read our guide to self-hosted n8n.
We can adapt this workflow to your apps, data and process, then deploy and support it.
Contact Us