Monitor LinkedIn Ad Library ads with Apify and Google Sheets
UnknownWhat this workflow does
This workflow has 18 nodes and runs on a schedule (every day at 08:00). Along the way it connects Google Drive, Google Sheets and Apify (community).
How it runs
Trigger: On a schedule (every day at 08:00).
- Configure Input Parameters (Edit Fields (Set)): sets 4 fields: country, keyword, sheet_name…
- Search files and folders (Google Drive): work with file folder
- If: checks a condition and branches into true / false
- Create spreadsheet (Google Sheets): work with spreadsheet
- Rename field Id to spreadsheetId (Edit Fields (Set)): sets 1 field: spreadsheetId
- Unify spreadheetId field (Code): runs custom JavaScript code
- Scrape LinkedIn Ad Library (Apify): run actor and get dataset
- Split Out: splits a list into separate items
- Split impressionsPerCountry column (Split Out): splits a list into separate items
- Split targetingParameter column (Split Out): splits a list into separate items
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Drive + Google Sheets templates (720) · Other Apify + Google Sheets templates (402) · Other Apify + Google Drive templates (31)
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 Scrape LinkedIn Ad Library).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Apify
@apify/n8n-nodes-apify.apify - Split Out
n8n-nodes-base.splitOut
From the author
Quick overview This workflow runs daily and uses Apify’s LinkedIn Ad Library Scraper to collect ads for a keyword and countries, then appends the ad details, CTAs, impressions by country, and targeting parameters into a Google Sheets spreadsheet stored in…