MindStudio Docs
  • Get Started
    • Overview
    • MindStudio Chrome Extension
    • Quickstart Guide
    • What is an AI Agent?
    • AI Agent Use Cases
  • Free vs. Paid AI Agents
  • Building AI Agents
    • Editor Overview
    • Workflow Generator
    • Writing Prompts
      • Templating
    • AI Models
    • Variables
      • Working with JSON
      • Using Handlebars Templating
    • Dynamic Variables
    • Data Sources
    • Automations
      • Start Block
      • Generate Text Block
      • Generate Image Block
      • Generate Chart Block
      • Generate Asset Block
      • Display Content Block
      • Text to Speech Block
      • Analyze Image Block
      • User Input Block
      • User Context Block
      • Query Data Block
      • Run Function Block
      • Scrape URL Block
      • Extract Text from File Block
      • Post to Slack Block
      • Menu Block
      • Logic Block
      • Checkpoint Block
      • Jump Block
      • Run Workflow Block
      • Terminator Block
    • Integrations
      • Search Bluesky Posts
      • Scrape Facebook Page
      • Scrape Meta Threads Profile
      • Scrape Instagram Comments
      • Scrape Instagram Mentions
      • Scrape Instagram Posts
      • Scrape Instagram Profile
      • Scrape Instagram Reels
      • Create LinkedIn Post
      • Create X Post
      • Search X Posts
      • Search Google
      • Search Google Images
      • Search Google Trends
      • Search Google News
      • Create Google Doc
      • Fetch Google Doc
      • Update Google Doc
      • Create Google Sheet
      • Fetch Google Sheet
      • Update Google Sheet
      • Enrich Company via Domain
      • Find Contact Email for Website
      • Find Email
      • Verify Email
      • Enrich Person via Email
      • Fetch YouTube Captions
      • Fetch YouTube Channel
      • Fetch YouTube Comments
      • Fetch YouTube Video
      • Search YouTube
      • Search YouTube Trends
      • Create Notion Page
      • Update Notion Page
      • Apify
      • Run Scenario
      • Post to Slack
      • HTTP Request
      • Run Node
      • Create Contact
      • Add Note
      • Send Email
      • Send SMS
    • Publishing & Versioning
  • Embedding AI Agents
  • Using Webhooks
  • Workspace Management
    • Workspace Overview
    • Workspace Settings
    • Usage Explorer
    • Billing Settings
    • Account Settings
    • Team Settings & Access Controls
  • Test & Evaluate
    • Testing Suite Overview
    • Evaluations
    • Profiler
    • Debugger
  • Integration Guides
    • Zapier + MindStudio
    • Make.com + MindStudio
    • n8n + MindStudio
  • Developers
    • API Reference
    • NPM Package
    • Custom Workflow Functions
  • Additional Resources
    • Glossary
    • Allowing Access to Mindstudio From Your Network
  • Solutions
    • MindStudio Solutions Partners
    • MindStudio For Developers
    • MindStudio for Enterprises
Powered by GitBook
On this page
  • Configuration
  • Query
  • Output Variable
  • Advanced Settings
  • Sample Output
Export as PDF
  1. Building AI Agents
  2. Integrations

Search Google Trends

Retrieve Google Trends keyword results in a MindStudio workflow

Last updated 13 days ago

Configuration

Query

Type in the text queries you want to send. Make sure each query is separated by a comma. Example: coffee,pizza,dark chocolate.

The search query can include variables.

Output Variable

Specify the name of the output variable that will store the results. Example: Trends_result

Advanced Settings

Data Type

Specify the type of search you want to make. The following options are:

  • Interest over time (TIMESERIES)

  • Breakdown by Region

  • Interest by Region (GEO_MAP_0)

  • Related Topics

  • Related Queries

Category

Language

Location

Date

Specify the date range of the trends you are searching. Available parameters to define a date include:

  • now 1-H - Past hour

  • now 4-H - Past 4 hours

  • now 1-d - Past day

  • now 7-d - Past 7 days

  • today 1-m - Past 30 days

  • today 3-m - Past 90 days

  • today 12-m - Past 12 months

  • today 5-y - Past 5 years

  • all - 2004 - present

You can also pass custom values by using yyyy-mm-dd yyyy-mm-dd

Time Offset

This parameter is used to define the timezone. The default timezone is set to 420 (Pacific Day Time (PDT): -07:00). Value is shown in minutes and can span from -1439 to 1439.

Other Timezone examples: 420 - PDT 600 - Pacific/Tahiti -540 - Asia/Tokyo -480 - Canada/Pacific.

Sample Output

{
  "search_metadata": {
    "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "status": "Success",
    "json_endpoint": "https://example.com/search/sample.json",
    "created_at": "2025-03-06 20:15:25 UTC",
    "processed_at": "2025-03-06 20:15:25 UTC",
    "google_trends_url": "https://example.com/trends",
    "raw_html_file": "https://example.com/search/sample.html",
    "prettify_html_file": "https://example.com/search/sample.prettify",
    "total_time_taken": 16.09
  },
  "search_parameters": {
    "engine": "google_trends",
    "q": "example_query",
    "hl": "en",
    "date": "today 12-m",
    "tz": "420",
    "data_type": "TIMESERIES"
  },
  "interest_over_time": {
    "timeline_data": [
      {
        "date": "Sample Date Range",
        "timestamp": "0000000000",
        "values": [
          {
            "query": "example_query",
            "value": "80",
            "extracted_value": 80
          }
        ]
      }
    ]
  }
}

This parameter is used to define the search category. By default this parameter is set to 0 which defines All Categories. You can see the full list of parameters

Define the language parameter. The default is set to en for English. See the full list of parameters

This parameter defines the location from where you want the search to originate. The default is set to Worldwide. You can see the full list of parameters

here.
here.
here.