100's of workflows

Enrich Data from Google Sheet with OpenAI Agent and ScrapingBee

Integrations
Google Sheets
HTTP Request
Edit Fields (Set)
Loop Over Items (Split in Batches)
Webhook
Markdown
Sticky Note
Execute Workflow Trigger
AI Agent
OpenAI Chat Model
Structured Output Parser
Call rantir Workflow Tool

Automate the enrichment of company data with this workflow, designed to extract valuable information from a spreadsheet of company names and websites. It uses AI and web scraping to generate insights, including business area, value proposition, and customer profile, enhancing your company's data set for better decision-making.

Important notes

     
  • Check legal regulations: Web scraping is involved, so ensure you comply with the legal regulations in your country before proceeding. It's always better to be safe than sorry!
  •  
  • Mind those tokens: OpenAI tokens can accumulate quickly, so monitor usage to avoid unexpected charges. 💸

Main Workflow

Node 1 - Webhook

This node triggers the workflow via a webhook call. You can replace it with any other trigger, such as form submission, new row in Google Sheets, or a manual trigger.

Node 2 - Get Rows from Google Sheet

This node retrieves the list of companies from your spreadsheet. The columns in this Google Sheet include:

     
  • Company: The name of the company
  •  
  • Website: The website URL of the company
    These two fields are required at this step.
  •  
  • Business Area: The business area deduced by OpenAI from the scraped data
  •  
  • Offer: The offer deduced by OpenAI from the scraped data
  •  
  • Value Proposition: The value proposition deduced by OpenAI from the scraped data
  •  
  • Business Model: The business model deduced by OpenAI from the scraped data
  •  
  • ICP: The Ideal Customer Profile deduced by OpenAI from the scraped data
  •  
  • Additional Information: Information related to the scraped data, including:    
           
    • Information Sufficiency:        
                 
      • Description: Indicates if the information was sufficient to provide a full analysis.
      •          
      • Options: "Sufficient" or "Insufficient"
      •        
           
    •      
    • Insufficient Details:        
                 
      • Description: If labeled "Insufficient," specifies what information was missing or needed to complete the analysis.
      •        
           
    •      
    • Mismatched Content:        
                 
      • Description: Indicates whether the page content aligns with that of a typical company page.
      •        
           
    •      
    • Suggested Actions:        
                 
      • Description: Provides recommendations if the page content is insufficient or mismatched, such as verifying the URL or searching for alternative sources.
      •        
           
    •    
     

Node 3 - Loop Over Items

This node ensures that the website in the "extra workflow input" corresponds to the row being processed. You can delete this node, but ensure the "query" sent to the scraping workflow corresponds to the website of the specific company being scraped.

Node 4 - AI Agent

This AI agent is configured with a prompt to extract data from the content it receives. The node has three sub-nodes:

     
  • OpenAI Chat Model: The model used is currently gpt4-o-mini.
  •  
  • Call rantir Workflow: This sub-node calls the workflow to use ScrapingBee and retrieves the scraped data.
  •  
  • Structured Output Parser: This parser structures the output for clarity and ease of use, adding rows to the Google Sheet.

Node 5 - Update Company Row in Google Sheet

This node updates the specific company's row in Google Sheets with the enriched data.

Scraper Agent Workflow

Node 1 - Tool Called from Agent

This node triggers when the AI Agent calls the Scraper. A query is sent with:

     
  • Company name
  •  
  • Website: The URL of the website

Node 2 - Set Company URL

This node renames a field, which is useful for performing transformations on data received from the AI Agent.

Node 3 - ScrapingBee: Scrape Company's Website

This node scrapes data from the provided URL using ScrapingBee. You can use any scraper of your choice, but ScrapingBee is recommended as it allows you to configure scraper behavior directly. Once configured, copy the provided "curl" command and import it into rantir.

Node 4 - HTML to Markdown

This node converts the scraped HTML data to Markdown, which is then sent to OpenAI. The Markdown format generally uses fewer tokens than HTML.

Improving the Workflow

Here are some ways you can enhance this workflow:

     
  • Handle potential errors more effectively.
  •  
  • Configure the scraper tool to scrape other pages on the website. Although this will cost more tokens, it can be useful (e.g., scraping "Pricing" or "About Us" pages in addition to the homepage).
  •  
  • Instead of Google Sheets, connect directly to your CRM to enrich company data.
  •  
  • Trigger the workflow from form submissions on your website and send the scraped data about the lead to a Slack or Teams channel.

Other Workflows like this one

Your connected stack awaits to automate AI workflows with 24-7 uptime performance and engagement

Enhance Customer Chat by Buffering Messages with Twilio and Redis
If
No Operation, do nothing
Redis
Edit Fields (Set)
Twilio
Audio from text using OpenAI and Webhook the Ultimate Text to Speech Workflow
OpenAI
Webhook
Respond to Webhook
Sticky Note
AI Customer feedback analysis
Google Sheets
OpenAI
Merge
Sticky Note
Rantir Form Trigger
Monthly Spotify Track Archiving
Google Sheets
HTTP Request
Merge
No Operation, do nothing
Edit Fields (Set)
Voice Activated Multi-Agent Demo for Vagent.io using Notion and Google Calendar
AI Agent
OpenAI Chat Model
Window Buffer Memory (easiest)
Call rantir Workflow Tool
HTTP Request Tool
Open AI Transcriptions using ChatGPT, DALLE, Whisper-1
HTTP Request
Code
OpenAI
HTML
Read Binary Files

Compare features across plans

Computir Cloud Suite All Access

$99/m

Per team/per month, with 10 GB of data and storage
Everything in Free, and:
Icon
Host up to around 4-5 Applications
Icon
Advanced user roles
Icon
Unlimited AI applications & workflows
Icon
Custom onboarding & Customer management
Icon
Advanced integrations
Icon
International capabilities
Unlimited Team Plan & Custom Integration

$299/m

Per $1K Tokens or 1 TB added, custom integration (per month)
Everything in Professional, and:
Icon
Host up to around 20+ Applications
Icon
Tailored implementation services
Icon
Advanced ERP integration capabilities
Icon
Extra bandwidth and open-source AI models
Icon
Fine-tuning & data logic
Icon
SOX or integration customization
Icon
Dedicated premium support
Cloud Suite

$99/mo

Team Plan

$299

Computir Cloud

AI Application & Automation platform suite
Get access to generate dashboards, websites or content
Chat to Explore Data
Icon

Custom Develop  integrations

Chat to Transform Data
Icon
Direct or Enterprise application connections
Webflow, Wix or Wordpress
+ Acumatica, Microsoft, Netsuite & Sage
+ Oracle & Workday
Rules to automate AI
Basic
Advanced
Advanced

Custom Integrations

Build & Share Live Reports
Icon
Generated
Human-Led
Train Classification Models
Icon
Human-Led
Train Time Series Forecasts
Icon

"I highly recommend Computir, they are a great dev team with quick turn around on all projects and requests. We recently worked with them on updating our website and any changes, updates or modifications I needed were always taken care of quickly!"

Paige J, VP of Marketing, Heavy AI