π Log UK Apify grant alerts to Notion and send closing-soon Slack notifications
β‘ 2 views Β· π Market Research & Insights
Description
Quick overview
This workflow receives an Apify webhook when the UK Grant Alert Engine actor run completes, fetches the matched grants dataset from Apify, logs all new matches to a Notion database, and posts a Slack alert only for grants flagged as closing soon.
How it works
- Receives an Apify webhook request when the actor run completes and immediately replies βOKβ to prevent retries.
- Calls the Apify dataset items API to fetch up to 200 grant match records from the runβs default dataset.
- Filters the dataset to keep only items marked as new matches.
- Creates a Notion database page for each new grant with key fields like funding body, award range, deadline, days to close, matched keyword, and application URL.
- Checks whether the newly logged grant is marked as closing soon.
- Formats and posts a closing-soon alert message to a specified Slack channel.
Setup
- Create an Apify webhook for your UK Grant Alert Engine actor that points to this workflowβs Webhook URL (path
apify-uk-grants-notion). - Replace
YOUR_APIFY_API_TOKENin the Apify dataset request with your Apify API token. - Create a Notion database with the required properties and replace
YOUR_NOTION_GRANTS_DATABASE_ID, then add your Notion API credentials in n8n. - Add Slack OAuth2 credentials in n8n and set
YOUR_SLACK_CHANNEL_IDto the channel that should receive closing-soon alerts.
π Nodes Used
HTTP Request, Slack, Webhook, Notion, Filter
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File