Docs
Web Search

Web Search Integration

No sections found for this integration
The integration documentation may not have the expected structure

Overview

The Web Search integration in Lamatic.ai enables powerful web scraping and search capabilities through serper.dev (opens in a new tab). This integration supports multiple search types, customizable filters, and structured result retrieval, making it ideal for gathering comprehensive web data and performing advanced search operations.

This integration connects to serper.dev's robust API to provide web search, news search, and webpage scraping capabilities with extensive filtering options.

Features

✅ Key Functionalities

  • Multiple Search Types: Web search, news search, and direct webpage scraping
  • Advanced Filtering: Date range, location, language, and country-based filtering
  • Pagination Support: Retrieve results from specific pages with customizable result counts
  • Structured Results: Clean, organized data output for easy processing
  • Real-time Data: Access to current web information and news

✅ Benefits

  • Comprehensive web data access and analysis
  • Granular control over search parameters and filters
  • Integration with serper.dev's robust and reliable API
  • Enhanced data collection and research capabilities
  • Automated web scraping and content extraction

Prerequisites

Before using the Web Search integration, ensure you have:

  • Valid Serper API Key from serper.dev (opens in a new tab)
  • Web Search credentials configured in Lamatic
  • Understanding of search parameters and filtering options
  • Proper API usage limits and rate limiting awareness

Setup

Step 1: Get Serper API Key

  1. Sign Up: Create an account at serper.dev (opens in a new tab)
  2. Generate API Key: Navigate to the API key section
  3. Copy Key: Save your API key securely for configuration
⚠️

Keep your API key secure and never expose it in public repositories or client-side code.

Step 2: Configure Credentials

  1. Add Web Search Node: Drag the Web Search node to your flow
  2. Enter Credentials: Provide your Serper API key
  3. Test Connection: Verify the credentials work properly

Step 3: Configure Search Parameters

  1. Set Search Type: Choose between web, news, or webpage scraping
  2. Configure Filters: Set up date range, location, and language preferences
  3. Test Search: Verify search functionality with sample queries

Configuration Reference

Credential Configuration

ParameterDescriptionRequiredExample
Credential NameIdentifier for the credential setmy-web-search-creds
API KeySerper authentication key (from serper.dev/api-key)your-api-key

Search Parameters

ParameterDescriptionRequiredDefaultExample
Credential NameSelected Web Search credentials-my-web-search-creds
QuerySearch terms or webpage URL-best restaurants in new york
TypeSearch type selectionSearchNews
Date RangeTime period filter-Last 24 Hours
ResultsMaximum results per page105
PageResult page number12
CountryTarget country for results-US
LanguageResult language preference-en
LocationSpecific geographic target-New York, NY

Search Types

TypeDescriptionUse Case
Web SearchGeneral web search resultsFinding websites, articles, information
News SearchRecent news articles and updatesCurrent events, trending topics
WebPageDirect URL scraping and content extractionExtracting specific webpage content

Date Range Options

OptionDescriptionTime Period
Last 24 HoursResults from the past day24 hours
Past WeekResults from the past 7 days7 days
Past MonthResults from the past 30 days30 days
Past YearResults from the past 365 days365 days
Custom RangeUser-defined date rangeCustom

Language Options

CodeLanguageCodeLanguage
enEnglishesSpanish
frFrenchdeGerman
itItalianptPortuguese
ruRussianjaJapanese
koKoreanzhChinese

Low-Code Examples

nodes:
  - nodeId: webSearchNode_788
    nodeType: webSearchNode
    nodeName: Web Search
    values:
      credentials: Serper Basic Auth
      query: test
      type: https://google.serper.dev/search
      dateRange: ""
      results: 10
      page: 1
      country: in
      language: hi
      location: ""
    needs:
      - triggerNode_1

Troubleshooting

Common Issues

ProblemSolution
API Key InvalidVerify API key in serper.dev dashboard
No ResultsCheck search parameters and broaden search criteria
Credential ErrorsConfirm credentials are properly configured
Rate LimitingCheck API usage limits in serper.dev account
Invalid QueryEnsure search terms are properly formatted
Location ErrorsVerify location format and availability

Debugging Tips

  • Review Lamatic Flow logs for detailed error messages
  • Verify API key status and usage in serper.dev dashboard
  • Test search parameters individually to isolate issues
  • Check network connectivity and API endpoint accessibility
  • Monitor API usage and respect rate limiting
  • Use simple queries first, then add complexity
  • Serper API Documentation (opens in a new tab)

Was this page useful?

Questions? We're here to help

Subscribe to updates