Log new FMCSA trucking carriers daily with Apify and Google Sheets
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on a schedule (cron 0 7 * * *) (plus 1 other trigger). Along the way it connects Google Sheets and Gmail. It also calls api.apify.com over HTTP.
How it runs
Trigger: On a schedule (cron 0 7 * * *) (plus 1 other trigger).
- Set search settings (Edit Fields (Set)): sets 10 fields: states, city, daysBack…
- Email workflow error (Gmail): uses Gmail
- Get existing USDOT numbers (Google Sheets): uses Google Sheets
- Run FMCSA carrier search (HTTP Request): calls api.apify.com (POST)
- Keep active contactable carriers (Code): runs custom JavaScript code
- Notify on actor failure (Gmail): uses Gmail
- Remove already logged USDOT numbers (Code): runs custom JavaScript code
- Normalize carrier fields (Code): runs custom JavaScript code
- Collect new carriers (Code): runs custom JavaScript code
- Were any carriers new? (If): checks a condition and branches into true / false
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Apify + Google Sheets templates (402) · Other Apify + Gmail templates (127)
HTTP calls to: api.apify.com
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 (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Split Out
n8n-nodes-base.splitOut - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview For freight brokers, trucking insurance agents, factoring companies and others selling to new trucking companies, this workflow fetches newly added FMCSA carriers daily using Apify and appends their details to Google Sheets. How it works 1.…