AI Generator
Generates text using an LLM model with a custom system prompt.
if there are multiple links that are the same please include one of them and let the user know that the process is completed.
This AI-driven workflow enriches lead data in Google Sheets by automatically retrieving missing LinkedIn profiles, job titles, and industries from the web using search and AI agents. It updates the sheet with enriched information, streamlining the lead enrichment process for sales and marketing teams.
Retrieve Lead Data from Google Sheets
Fetches existing lead data from a Google Sheets document to prepare for enrichment.Check and Add Missing Columns
Ensures essential columns like LinkedIn, Job Title, and Industry exist in the sheet, adding them if necessary.Enrich Data Using AI and Web Search
For each lead, uses AI Agents and Google Search to find missing information such as LinkedIn profiles, job titles, and industries.Update Google Sheet with Enriched Information
Automatically writes the enriched data back into the corresponding rows and columns in the Google Sheet.Notify or Display Results
Shows the outcome of the enrichment process to the user through chat outputs.Below is a complete list of all prompts used in this flow to achieve its functionality. Prompts are the instructions given to the AI model to generate responses or perform actions. They guide the AI in understanding user intent and generating relevant outputs.
Generates text using an LLM model with a custom system prompt.
if there are multiple links that are the same please include one of them and let the user know that the process is completed.
Agent system prompt for checking Google Sheet columns and updating them if needed.
use the google sheet retriever and check if the document has a "LinkedIn", "Job Title", "Industry" column if not add them to the document.
AI Agent tasked with finding and outputting a person's LinkedIn page link.
Backstory: Data enricher
Goal: You should Find the persons LinkedIn and output the LinkedIn page link.
Role: data enricher
AI Agent tasked with finding and outputting a person's job title based on their LinkedIn.
Backstory: Data enricher
Goal: You should Find the persons job title based on their LinkedIn and output that.
Role: data enricher
AI Agent tasked with finding and outputting a person's job industry using available tools.
Backstory: Data enricher
Goal: You should Find the persons job Industry based on tools at your disposal.
Role: data enricher
Below is a complete list of all components used in this flow to achieve its functionality. Components are the building blocks of every AI Flow. They allow you to create complex interactions and automate tasks by connecting various functionalities. Each component serves a specific purpose, such as handling user input, processing data, or integrating with external services.
Flow description
This workflow automates the enrichment of outreach data stored in a Google Sheet. It is designed to automatically find missing information such as LinkedIn profiles, job titles, and industries for contacts in your spreadsheet by leveraging AI agents, Google Search, and dynamic data manipulation. The process not only fetches this data but also updates your Google Sheet accordingly. This solution is highly valuable for scaling and automating data enrichment tasks, eliminating manual research, and ensuring your outreach lists are always up-to-date and comprehensive.
User Interaction & Initialization
Google Sheet Retrieval & Preparation
Data Enrichment Process (Iterative for Each Row)
Automation & AI Integration
Output & User Feedback
Step | Component Name | Purpose |
---|---|---|
1 | Button Widget, Chat Input/Output | User interaction and process start |
2 | Google Sheets Retriever | Fetches contact data from the provided Google Sheet |
3 | Tool Calling Agent | Checks/creates required columns (“LinkedIn,” etc.) |
4 | Iterators | Processes each row/contact individually |
5 | AI Agents + Google Search + URL Retriever | Finds LinkedIn URLs, job titles, and industry information |
6 | Create Data | Structures the new information for each contact |
7 | Google Sheets Updater | Writes enriched data back into the appropriate sheet columns |
8 | Chat Outputs, Notes | Provides feedback, instructions, and status updates |
Finding LinkedIn Profiles:
For each contact, an AI agent uses Google Search (and optionally parses web pages) to find the most likely LinkedIn URL. If multiple links are found, the agent selects the best one and notifies the user.
Extracting Job Titles:
Once a LinkedIn profile is found, the AI agent scrapes or interprets the job title from the profile page content.
Determining Industry:
The agent further determines the contact’s industry, either from LinkedIn or other publicly available sources.
Updating Google Sheet:
For each successful enrichment, the workflow writes the new data (LinkedIn, Job Title, Industry) directly into the corresponding row and column in the Google Sheet.
Below is a simplified view of the automation logic:
flowchart TD
Start([User clicks Start / uploads Sheet])
GetSheet([Retrieve Google Sheet data])
CheckColumns([Ensure LinkedIn/Job Title/Industry columns exist])
ForEachRow([For each row in Sheet])
SearchLinkedIn([AI agent finds LinkedIn URL])
ExtractJobTitle([AI agent extracts Job Title])
DetermineIndustry([AI agent determines Industry])
UpdateSheet([Update Sheet with new data])
NotifyUser([Provide feedback to user])
Start --> GetSheet --> CheckColumns --> ForEachRow
ForEachRow --> SearchLinkedIn --> ExtractJobTitle --> DetermineIndustry --> UpdateSheet
UpdateSheet --> NotifyUser
Scalability:
It enables teams to enrich thousands of contacts efficiently, making it feasible to maintain large, high-quality outreach databases.
Automation:
All research and data entry steps are automated, freeing human resources for higher-value tasks.
Consistency & Data Quality:
Ensures every contact has complete information, improving personalization and targeting in outreach efforts.
Flexibility:
The modular construction (triggers, iterators, AI agents, data creators) makes it easy to adapt or extend for other data enrichment needs.
In summary:
This workflow is a robust, scalable automation for enriching outreach data in Google Sheets with up-to-date LinkedIn profiles, job titles, and industry information. It seamlessly combines AI agents, web search, and spreadsheet automation to save time, improve outreach effectiveness, and maintain high data quality across your contact lists.
We help companies like yours to develop smart chatbots, MCP Servers, AI tools or other types of AI automation to replace human in repetitive tasks in your organization.