Monitor contractor licences weekly and send Slack digests with Apify
UnknownWhat this workflow does
This workflow has 11 nodes and runs on a schedule (every week at 06:00). Along the way it connects Slack and Apify (community).
How it runs
Trigger: On a schedule (every week at 06:00).
- Your roster (Code): runs custom JavaScript code
- Route by state (Code): runs custom JavaScript code
- Covered state? (If): checks a condition and branches into true / false
- Look up the licence (Apify): run actor and get dataset (actors)
- Not covered - keep the row (Edit Fields (Set)): sets 2 fields: alert_tier, headline
- Classify each licence (Code): runs custom JavaScript code
- Anything to report? (If): checks a condition and branches into true / false
- Build the digest (Code): runs custom JavaScript code
- Send the digest to Slack (Slack): uses Slack
Services it uses
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 Look up the licence).
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Apify
@apify/n8n-nodes-apify.apify - Edit Fields (Set)
n8n-nodes-base.set - Slack
n8n-nodes-base.slack - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow runs every Monday, checks a contractor roster against 17 US state licensing portals using Apify actors, and posts a single Slack digest highlighting expired licences, status changes, expiring licences within 30 days, and lookup…