Back to Catalog

Search LinkedIn companies, score with AI and add them to Google Sheet CRM

MatthieuMatthieu
29689 views
2/3/2026
Official Page

Search LinkedIn companies, Score with AI and add them to Google Sheet CRM

Setup Video: https://youtube.com/watch?v=m904RNxtF0w&t

Who is this for?

This template is ideal for sales teams, business development professionals, and marketers looking to build a targeted prospect database with automatic qualification. Perfect for agencies, consultants, and B2B companies wanting to identify and prioritize the most promising potential clients.

What problem does this workflow solve?

Manually researching companies on LinkedIn, evaluating their fit for your services, and tracking them in your CRM is time-consuming and subjective. This automation streamlines lead generation by automatically finding, scoring, and importing qualified prospects into your database.

What this workflow does

This workflow automatically searches for companies on LinkedIn based on your criteria, retrieves detailed information about each company, filters them based on quality indicators, uses AI to score how well they match your ideal customer profile, and adds them to your Google Sheet CRM while preventing duplicates.

Setup

  1. Create a Ghost Genius API account and get your API key
  2. Configure HTTP Request nodes with Header Auth credentials
  3. Create a copy of the provided Google Sheet template
  4. Set up your Google Sheet and OpenAI credentials following n8n documentation
  5. Customize the "Set Variables" node to match your target audience and scoring criteria

How to customize this workflow

  • Modify search parameters to target different industries, locations, or company sizes
  • Adjust the follower count threshold based on your qualification criteria
  • Customize the AI scoring system to align with your specific product or service offering
  • Add notification nodes to alert you when high-scoring companies are identified

n8n Workflow: Search LinkedIn Companies, AI Score, and Add to Google Sheet CRM

This n8n workflow automates the process of finding company information, scoring it using AI, and then adding the details to a Google Sheet CRM. It's designed to streamline lead generation and qualification by combining web scraping, artificial intelligence, and CRM management.

What it does

This workflow performs the following steps:

  1. Manual Trigger: Starts the workflow manually, allowing for on-demand execution.
  2. HTTP Request (Search LinkedIn): Sends an HTTP request to an external service (likely a LinkedIn search API or scraper) to retrieve company information based on predefined criteria.
  3. Loop Over Items: Processes each company found in batches to manage API rate limits and ensure efficient processing.
  4. Wait: Introduces a delay between processing batches to avoid overwhelming APIs and to respect rate limits.
  5. Edit Fields (Prepare for AI): Transforms and prepares the extracted company data into a suitable format for the AI model.
  6. OpenAI (Score Company): Utilizes the OpenAI API to analyze the company data and generate a score or evaluation based on a defined prompt. This could be for lead qualification, relevance, etc.
  7. If (Check AI Score): Evaluates the AI-generated score.
    • If the score meets a certain condition (e.g., above a threshold), the company proceeds to be added to the CRM.
    • If the score does not meet the condition, the company information is discarded or routed to a different path (not explicitly shown in this JSON, but implied by the If node's branching).
  8. Split Out (Prepare for Google Sheets): Restructures the data into individual items, preparing it for insertion into Google Sheets.
  9. Google Sheets (Add to CRM): Appends the qualified company's data (including the AI score) as a new row in a specified Google Sheet, acting as a simple CRM.

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running n8n instance (cloud or self-hosted).
  • Google Sheets Account: Access to a Google Sheets document to use as your CRM. You will need to configure Google Sheets credentials in n8n.
  • OpenAI API Key: An API key for OpenAI to utilize its AI models for scoring. You will need to configure OpenAI credentials in n8n.
  • External LinkedIn Search/Scraping Service: An API endpoint or service that can search and retrieve company information from LinkedIn. The specific configuration for this HTTP Request node will depend on the service you use.

Setup/Usage

  1. Import the Workflow: Download the JSON provided and import it into your n8n instance.
  2. Configure Credentials:
    • Google Sheets: Set up your Google Sheets credentials (OAuth2 or Service Account) in n8n.
    • OpenAI: Set up your OpenAI API Key credentials in n8n.
  3. Configure HTTP Request Node:
    • Update the "HTTP Request" node with the URL, headers, and body required by your chosen LinkedIn search/scraping service.
    • Ensure the output from this node provides company data in a structured format that can be processed by subsequent nodes.
  4. Configure Edit Fields Node:
    • Adjust the "Edit Fields" node to map the output from your LinkedIn search to the input format expected by the OpenAI node.
  5. Configure OpenAI Node:
    • Define the prompt for the "OpenAI" node to instruct the AI on how to score the company data (e.g., "Score this company's potential as a lead on a scale of 1-10 based on its industry, size, and recent activity: {{ $json.companyData }}").
  6. Configure If Node:
    • Modify the condition in the "If" node to match your desired scoring threshold for qualifying companies (e.g., {{ $json.aiScore > 7 }}).
  7. Configure Google Sheets Node:
    • Specify the "Spreadsheet ID" and "Sheet Name" where you want to add the company data.
    • Map the relevant fields from the previous nodes (company name, URL, AI score, etc.) to the columns in your Google Sheet.
  8. Activate the Workflow: Once configured, activate the workflow. You can then trigger it manually using the "When clicking ‘Execute workflow’" node.

Related Templates

Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax

Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions

Daniel NkenchoBy Daniel Nkencho
601

Automate Dutch Public Procurement Data Collection with TenderNed

TenderNed Public Procurement What This Workflow Does This workflow automates the collection of public procurement data from TenderNed (the official Dutch tender platform). It: Fetches the latest tender publications from the TenderNed API Retrieves detailed information in both XML and JSON formats for each tender Parses and extracts key information like organization names, titles, descriptions, and reference numbers Filters results based on your custom criteria Stores the data in a database for easy querying and analysis Setup Instructions This template comes with sticky notes providing step-by-step instructions in Dutch and various query options you can customize. Prerequisites TenderNed API Access - Register at TenderNed for API credentials Configuration Steps Set up TenderNed credentials: Add HTTP Basic Auth credentials with your TenderNed API username and password Apply these credentials to the three HTTP Request nodes: "Tenderned Publicaties" "Haal XML Details" "Haal JSON Details" Customize filters: Modify the "Filter op ..." node to match your specific requirements Examples: specific organizations, contract values, regions, etc. How It Works Step 1: Trigger The workflow can be triggered either manually for testing or automatically on a daily schedule. Step 2: Fetch Publications Makes an API call to TenderNed to retrieve a list of recent publications (up to 100 per request). Step 3: Process & Split Extracts the tender array from the response and splits it into individual items for processing. Step 4: Fetch Details For each tender, the workflow makes two parallel API calls: XML endpoint - Retrieves the complete tender documentation in XML format JSON endpoint - Fetches metadata including reference numbers and keywords Step 5: Parse & Merge Parses the XML data and merges it with the JSON metadata and batch information into a single data structure. Step 6: Extract Fields Maps the raw API data to clean, structured fields including: Publication ID and date Organization name Tender title and description Reference numbers (kenmerk, TED number) Step 7: Filter Applies your custom filter criteria to focus on relevant tenders only. Step 8: Store Inserts the processed data into your database for storage and future analysis. Customization Tips Modify API Parameters In the "Tenderned Publicaties" node, you can adjust: offset: Starting position for pagination size: Number of results per request (max 100) Add query parameters for date ranges, status filters, etc. Add More Fields Extend the "Splits Alle Velden" node to extract additional fields from the XML/JSON data, such as: Contract value estimates Deadline dates CPV codes (procurement classification) Contact information Integrate Notifications Add a Slack, Email, or Discord node after the filter to get notified about new matching tenders. Incremental Updates Modify the workflow to only fetch new tenders by: Storing the last execution timestamp Adding date filters to the API query Only processing publications newer than the last run Troubleshooting No data returned? Verify your TenderNed API credentials are correct Check that you have setup youre filter proper Need help setting this up or interested in a complete tender analysis solution? Get in touch 🔗 LinkedIn – Wessel Bulte

Wessel BulteBy Wessel Bulte
247

AI-powered code review with linting, red-marked corrections in Google Sheets & Slack

Advanced Code Review Automation (AI + Lint + Slack) Who’s it for For software engineers, QA teams, and tech leads who want to automate intelligent code reviews with both AI-driven suggestions and rule-based linting — all managed in Google Sheets with instant Slack summaries. How it works This workflow performs a two-layer review system: Lint Check: Runs a lightweight static analysis to find common issues (e.g., use of var, console.log, unbalanced braces). AI Review: Sends valid code to Gemini AI, which provides human-like review feedback with severity classification (Critical, Major, Minor) and visual highlights (red/orange tags). Formatter: Combines lint and AI results, calculating an overall score (0–10). Aggregator: Summarizes results for quick comparison. Google Sheets Writer: Appends results to your review log. Slack Notification: Posts a concise summary (e.g., number of issues and average score) to your team’s channel. How to set up Connect Google Sheets and Slack credentials in n8n. Replace placeholders (<YOURSPREADSHEETID>, <YOURSHEETGIDORNAME>, <YOURSLACKCHANNEL_ID>). Adjust the AI review prompt or lint rules as needed. Activate the workflow — reviews will start automatically whenever new code is added to the sheet. Requirements Google Sheets and Slack integrations enabled A configured AI node (Gemini, OpenAI, or compatible) Proper permissions to write to your target Google Sheet How to customize Add more linting rules (naming conventions, spacing, forbidden APIs) Extend the AI prompt for project-specific guidelines Customize the Slack message formatting Export analytics to a dashboard (e.g., Notion or Data Studio) Why it’s valuable This workflow brings realistic, team-oriented AI-assisted code review to n8n — combining the speed of automated linting with the nuance of human-style feedback. It saves time, improves code quality, and keeps your team’s review history transparent and centralized.

higashiyama By higashiyama
90