Use this powerful n8n workflow to automate Open-Source Intelligence (OSINT) gathering, specifically targeting LinkedIn profiles based on defined roles or keywords using the Google Search API. Ideal for security analysis.
Download this n8n workflow template and start using it instantly.
OSINT Researchers: Professionals needing structured, repeatable methods for public data collection.
Security & Red Teams: Analysts focused on building social graphs or target lists for simulated attacks.
Competitive Intelligence Analysts: Users seeking to map out organizational structures of competitors.
n8n Automation Users: Anyone looking for advanced examples of HTTP Request usage combined with data storage in Google Sheets.
This advanced n8n workflow serves as an automated reconnaissance tool designed to efficiently build a target list of LinkedIn profiles. Often used in Red Team operations or competitive analysis, this powerful n8n template eliminates manual searching.
The core challenge in OSINT is scaling the search and standardizing the output. This n8n node sequence solves this by defining precise search queries (e.g., specific job roles within a company domain) and pushing them through the Google Search API. The structured data returned by the API is then cleaned and appended directly to a Google Sheet, creating a dynamic, organized 'Social Graph' or target database. Utilizing this n8n workflow drastically speeds up the initial phase of information gathering.
The process begins with the manual n8n trigger, initiating the collection process.
โก Trigger SocialGraph n8n trigger. This immediately flows into the ๐ง Set Search Queries n8n node, which contains the list of pre-defined Google Dorks (e.g., site:linkedin.com/in/ "job title" "company name").๐ Split Queries n8n node. This essential flow control step ensures that each query is run individually and sequentially, managing API rate limits and preventing large payload errors.๐ Google Search API n8n node, making an HTTP Request to perform the specialized search. This request is configured to return structured JSON data containing search results, including potential LinkedIn URLs.๐งช Extract Profiles n8n node. This set n8n node extracts the necessary profile fields (like URL, title, snippet) from the complex API response.๐ Append to RedOps_Targets n8n node (Google Sheets), where it is added as a new row in a designated spreadsheet. The flow then loops back to the ๐ Split Queries n8n node to process the next search term until all queries are exhausted. This repeatable n8n workflow ensures comprehensive data collection.To implement this n8n workflow, follow these steps:
๐ Append to RedOps_Targets n8n node and create or select a Google Sheets credential allowing read/write access to the spreadsheet where targets will be stored.๐ Google Search API HTTP Request n8n node. This requires either a dedicated API key (such as Google Custom Search JSON API) or a third-party OSINT tool endpoint. Ensure your API endpoint and key are correctly placed in the request URL or headers.๐ง Set Search Queries n8n node and update the input data with the specific search queries (Google Dorks) you wish to execute.โก Trigger SocialGraph n8n trigger manually.This n8n workflow utilizes several key nodes to achieve its objective:
โก Trigger SocialGraph (Manual Trigger n8n trigger): The starting point for the n8n workflow. Used here for on-demand execution of the OSINT operation.
๐ง Set Search Queries (Set n8n node): Holds the input dataโan array of search query strings (Google Dorks). This is the source of the targets for the entire n8n workflow.
๐ Split Queries (Split In Batches n8n node): Splits the array of queries into individual items, ensuring the downstream Google Search API n8n node processes one query per execution cycle, which is crucial for managing rate limits.
๐ Google Search API (HTTP Request n8n node): The core of the extraction logic. Sends the search query as a parameter to the external Google Search endpoint. Key Configuration: Requires specific URL structure for accessing the search API.
๐งช Extract Profiles (Set n8n node): Processes the incoming JSON data from the Google Search API. Function: Uses expressions or JQ processing to isolate the relevant fields (title, snippet, link) corresponding to the LinkedIn profiles found.
๐ Append to RedOps_Targets (Google Sheets n8n node): The final storage step. Function: Appends the structured profile data extracted by the previous n8n node to a specified Google Sheet, ensuring persistence and centralized tracking of targets.
Implement advanced Role-Based Access Control (RBAC) in your automation workflows using n8n data tables and Switch nodes. Securely route commands based on user role and position using this essential n8n workflow.

Automate the revival of expired real estate listings using an n8n workflow. Schedule checks on Google Sheets, leverage OpenAI for personalized outreach, and send follow-ups via Gmail.

Use this comprehensive n8n workflow to aggregate Google, Facebook, Trustpilot, and Yelp reviews, analyze sentiment with GPT-4, send instant Slack alerts for negative feedback, and generate weekly executive email reports.

Use this powerful n8n workflow to analyze Typeform feedback sentiment using Google Cloud NLP, automatically routing positive suggestions to Notion and actionable items to Trello.

Automate Jira issue assignment using Google Sheets expertise data and Azure OpenAI GPT-4o-mini. This powerful n8n workflow uses an n8n node agent to assign tasks efficiently.

Use this advanced n8n workflow template featuring GPT-4o Mini to intelligently route incoming user requests to specialized sub-agents for tasks like reminders, emails, or meetings, leveraging multiple n8n nodes for scalable automation.

Founder of CYBERPULSE AI โ helping security teams and SMEs eliminate repetitive tasks through modular n8n automations. I build workflows for vulnerability triage, compliance reporting, threat intel, and Red/Blue/GRC ops. Book a session if you'd like custom automation for your use case. https://linkedin.com/in/adnan-tariq-4b2a1a47







































