See llms.txt for all machine-readable content.

Back to Templates

Enrich company website rows in Google Sheets with Apify contacts data

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

  1. Starts when you run the workflow manually.
  2. Reads rows from Google Sheets and keeps only those with a non-empty website and an empty status to avoid reprocessing.
  3. Groups the remaining websites into batches and limits how many rows are handled per run.
  4. 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.
  5. Matches Apify results back to the original Google Sheets row numbers, optionally flags whether a specified technology is present, and formats the output fields.
  6. Updates the Google Sheets rows with status, company name, best email, emails, phones, LinkedIn URL, technologies, and the uses_tool flag.

Setup

  1. Create an Apify account, add an Apify API token in n8n, and ensure you can run the “Company Contacts & Tech Stack Lookup” actor.
  2. Add a Google Sheets OAuth2 credential in n8n and select it for both Google Sheets steps.
  3. 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.
  4. Adjust batchSize, maxRowsPerRun, maxPagesPerSite, maxCostPerRunUsd, and (optionally) toolToFlag to control throughput, spend, and technology flagging.