Quick overview
This manual workflow reads a Google Sheets list of company websites, enriches each site with emails, phone numbers, LinkedIn URL, and detected technologies using the Apify Company Contacts & Tech Stack Lookup actor, then writes the results back to the same sheet.
How it works
- Starts when you run the workflow manually.
- Reads rows from Google Sheets and keeps only those with a non-empty website and an empty status to avoid reprocessing.
- Groups the remaining websites into batches and limits how many rows are handled per run.
- Sends each batch to Apify (Company Contacts & Tech Stack Lookup actor) to extract company contacts and the site’s technology stack with a spend cap per batch.
- Matches Apify results back to the original Google Sheets row numbers, optionally flags whether a specified technology is present, and formats the output fields.
- Updates the Google Sheets rows with status, company name, best email, emails, phones, LinkedIn URL, technologies, and the uses_tool flag.
Setup
- Create an Apify account, add an Apify API token in n8n, and ensure you can run the “Company Contacts & Tech Stack Lookup” actor.
- Add a Google Sheets OAuth2 credential in n8n and select it for both Google Sheets steps.
- Prepare a Google Sheet with headers: website, status, companyName, bestEmail, emails, phones, linkedinUrl, technologies, uses_tool, and paste your sheet URL and tab name into the workflow settings.
- Adjust batchSize, maxRowsPerRun, maxPagesPerSite, maxCostPerRunUsd, and (optionally) toolToFlag to control throughput, spend, and technology flagging.