# How to connect Gosquared to Grok Bot

```json
{
  "title": "How to connect Gosquared to Grok Bot",
  "toolkit": "Gosquared",
  "toolkit_slug": "gosquared",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/gosquared/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/gosquared/framework/grok-bot.md",
  "updated_at": "2026-11-06T09:21:39.126Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Gosquared to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Gosquared in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/gosquared).

## Also integrate Gosquared with

- [Claude Code](https://composio.dev/toolkits/gosquared/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/gosquared/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/gosquared/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/gosquared/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/gosquared/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/gosquared/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/gosquared/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/gosquared/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/gosquared/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/gosquared/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/gosquared/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/gosquared/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/gosquared/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/gosquared/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/gosquared/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/gosquared/framework/autogen)

## TL;DR

Composio exposes 1,700+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,700+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Gosquared to Grok Bot

### Connecting Gosquared to Grok Bot
Once Grok Bot is set up, you connect Gosquared entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Gosquared
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Gosquared account
Back in the chat, ask your bot to connect to Gosquared or give it any Gosquared task.
For example, ask it to:
- "List all websites linked to your account"
- "Show active chat conversations from today"
- "Add a new shared user by email"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Gosquared account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Gosquared through MCP without you sharing account credentials directly with the agent.

## What is the Gosquared MCP server, and what's possible with it?

The Gosquared MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Gosquared account. It provides structured and secure access to your real-time web analytics and customer engagement data, so your agent can perform actions like managing team members, analyzing chat conversations, retrieving site data, and handling customer profiles on your behalf.
- Team member management: Seamlessly add or remove shared users from your GoSquared projects, making it easy to control who has access to your analytics and engagement tools.
- Insightful chat analytics: Retrieve chat conversations, messages, and conversation feeds, enabling your agent to analyze customer interactions and surface important chat history.
- Project and site listing: Quickly list all sites and projects accessible to your account, so your assistant can pull structured data about your web properties.
- API key validation and security checks: Verify API key validity and scopes to ensure secure, authorized access before performing sensitive operations.
- Customer profile management: Delete person records, including all associated data, when you need to manage your user database or enforce data privacy requests.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `GOSQUARED_ACCOUNT_ADD_SHARED_USER` | Add Shared User | Tool to add a new shared user to a project. Use when inviting team members via their email address. |
| `GOSQUARED_ACCOUNT_REMOVE_SHARED_USER` | Remove shared user | Removes a shared user from a GoSquared project by their email address, revoking their access to the site. Requires owner-level API key permissions. Use GOSQUARED_ACCOUNT_SHARED_USERS first to list current shared users. |
| `GOSQUARED_ACCOUNT_SHARED_USERS` | Account Shared Users | Retrieves all team members who have access to the current GoSquared project. Returns each user's ID, email, access state (owner/active/pending), and role (owner/admin/member). Requires an API key with owner-level permissions for the project. Use this to audit project access or verify team member invitations. |
| `GOSQUARED_ACCOUNT_SITES` | List Account Sites | List all projects/sites accessible to the authenticated account. Requires 'read_account' API key scope. Use 'grouped' format to see owned vs shared sites, or 'flat' for a simple list. |
| `GOSQUARED_AUTH_TOKEN_INFO` | Check API Token Validity and Scopes | Tool to check whether an API key is valid and retrieve its enabled scopes. Use when verifying API credentials before making further API calls. |
| `GOSQUARED_BLOCK_VISITOR` | Block Visitor | Tool to block a specific visitor from being tracked. Use when you need to prevent tracking for a particular visitor ID. |
| `GOSQUARED_CHAT_CHAT` | Retrieve Chat Conversation | Retrieve detailed information about a chat conversation by its ID. Use this tool when you need to: - Get the current state of a chat conversation (agent assignment, read status) - View the latest message in a conversation - Check visitor presence and contact details - Determine if a chat is archived or active Prerequisites: Obtain a valid chatID from GOSQUARED_CHAT_CHATS or use a person_id from GOSQUARED_LIST_PEOPLE. Note: To retrieve the full conversation history with all messages, use GOSQUARED_CHAT_FEED instead. This endpoint returns summary information and only the latest message. |
| `GOSQUARED_CHAT_CHAT_MESSAGES` | Retrieve Chat Messages | Retrieve messages from a GoSquared chat conversation by chat ID. Use this tool to: - Fetch message history from a specific chat conversation - Page through chat messages with offset and limit - Filter messages by date range - Get the total count of messages via the cardinality field Prerequisites: - Obtain a valid chatID from GOSQUARED_CHAT_CHATS or GOSQUARED_CHAT_CHAT actions - The chatID corresponds to the person_id of the visitor Returns: - A list of messages with timestamp, sender, and text content - Cardinality field showing the total message count |
| `GOSQUARED_CHAT_CHATS` | Retrieve Chat Conversations | Tool to retrieve chat data for reporting purposes. Use when you need to list active chat conversations within a specific time window. |
| `GOSQUARED_CHAT_FEED` | Retrieve Chat Feed | Retrieve a chat conversation's feed of messages and events by chat ID. Supports pagination and date filtering for portions of the conversation history. |
| `GOSQUARED_CREATE_ACCOUNT_WEBHOOK` | Create Account Webhook | Tool to create a webhook to receive notifications about events in a GoSquared project. Use when you need to register a new webhook endpoint for real-time event notifications. |
| `GOSQUARED_CREATE_WEBHOOK_TRIGGER` | Create Webhook Trigger | Tool to add a trigger to an existing GoSquared webhook. Use when configuring webhook alerts for traffic spikes, traffic dips, chat messages, or smart group events. |
| `GOSQUARED_DELETE_ACCOUNT_WEBHOOK` | Delete Account Webhook | Tool to delete a webhook from a GoSquared account. Use when you need to remove an existing webhook by its ID. |
| `GOSQUARED_DELETE_PERSON` | Delete person | Tool to delete a person profile and all associated data. Use when you need to permanently remove a person's record and optionally blacklist them. |
| `GOSQUARED_END_VISITOR_SESSIONS` | Timeout Visitor Sessions | Tool to end all tracking sessions for a specified visitor in GoSquared. Use when you need to manually terminate a visitor's session, such as when a user logs out or closes their browser. Optionally specify a page index to timeout only a specific session. |
| `GOSQUARED_GET_ACCOUNT_BLOCKED` | Get Account Blocked Items | Tool to retrieve a list of blocked IP addresses, bots, and visitors for a project. Use when you need to see all blocked items across all categories. |
| `GOSQUARED_GET_ACCOUNT_BLOCKED_BOTS` | Get Account Blocked Bots | Tool to retrieve the bot blocking status for a GoSquared project. Use when you need to check whether automatic bot blocking is enabled. |
| `GOSQUARED_GET_ACCOUNT_BLOCKED_IPS` | Get Blocked IP Addresses | Tool to retrieve the list of blocked IP addresses for the account. Use when you need to view which IP addresses are currently blocked from tracking or accessing the site. |
| `GOSQUARED_GET_ACCOUNT_BLOCKED_VISITORS` | Get Account Blocked Visitors | Tool to retrieve visitor IDs that have been blocked for a project. Use when you need to list visitors who were blocked (typically via the 'Ignore' button in the visitor widget). |
| `GOSQUARED_GET_ACCOUNT_SITE` | Get Account Site Details | Tool to retrieve detailed information about a specific site/project by its site_token. Use when you need to fetch configuration details, ownership info, or metadata for a particular GoSquared project. |
| `GOSQUARED_GET_ACCOUNT_SITES_USAGE` | Get Account Sites Usage | Tool to retrieve all sites and their pageview counts for the authenticated account. Use when you need to get usage statistics across all sites. Optionally filter by date range using 'from' and 'to' parameters. |
| `GOSQUARED_GET_ACCOUNT_TAGGED_VISITORS` | Get Account Tagged Visitors | Tool to retrieve the list of tagged visitors from the account. Use when you need to see which visitors have been tagged and their associated tags. |
| `GOSQUARED_GET_ACCOUNT_TRIGGER_TYPE` | Get Account Trigger Type | Tool to retrieve details of a specific trigger type from GoSquared. Use when you need to understand the payload structure and fields for a particular trigger type before setting up automation workflows or webhooks. |
| `GOSQUARED_GET_ACCOUNT_TRIGGER_TYPES` | Get Account Trigger Types | Tool to retrieve available types of triggers in GoSquared. Use when you need to discover what trigger types are supported for automation workflows or webhook configurations. |
| `GOSQUARED_GET_ACCOUNT_WEBHOOK` | Get Account Webhook | Tool to retrieve a specific webhook by ID from a GoSquared account. Use when you need to fetch details about an existing webhook configuration. |
| `GOSQUARED_GET_ACCOUNT_WEBHOOKS` | Get Account Webhooks | Retrieve webhooks configured for the GoSquared project, including available details such as ID, URL, event type, and active status. Use this to audit webhook configurations or verify integrations. |
| `GOSQUARED_GET_ACCOUNT_WEBHOOK_TRIGGERS` | Get Account Webhook Triggers | Retrieve the triggers configured for a webhook by its numeric ID. Use this to see which events are configured to fire the webhook. |
| `GOSQUARED_GET_CHAT_CHAT_MESSAGE` | Get Specific Chat Message | Retrieve a specific chat message by its message ID from a chat conversation. Use this tool when you need to fetch details of a particular message, such as its content, sender, and timestamp. Requires both the chat ID (same as person_id) and the specific message ID (UUID format). |
| `GOSQUARED_GET_NOW_BROWSERS` | Get Real-Time Visitor Browsers | Tool to retrieve browsers used by currently online visitors, sorted by visitor count. Use when you need real-time breakdown of which browsers active visitors are using. |
| `GOSQUARED_GET_NOW_CAMPAIGNS` | Get Real-Time Campaigns | Tool to retrieve currently running campaigns with real-time visitor counts. Use when you need to see which campaigns are actively driving visitors to the site right now. |
| `GOSQUARED_GET_NOW_COUNTRIES` | Get Real-Time Visitor Countries | Tool to retrieve countries where currently online visitors are located, sorted by visitor count. Use when you need real-time geographic distribution of active site visitors. |
| `GOSQUARED_GET_NOW_ENGAGEMENT` | Get Real-Time Engagement | Tool to retrieve engagement information of currently online users. Use when you need real-time metrics about visitor behavior including time on site and visit depth. |
| `GOSQUARED_GET_NOW_GEO` | Get Real-Time Visitor Geo Locations | Tool to retrieve real-time geographic coordinates for currently online visitors. Returns latitude/longitude coordinates with visitor counts for each location. Use when you need to visualize or analyze the geographic distribution of active site visitors. |
| `GOSQUARED_GET_NOW_LANGUAGES` | Get Real-Time Visitor Languages | Tool to retrieve languages for currently online visitors sorted by visitor count. Use when you need a real-time breakdown of active visitor languages. |
| `GOSQUARED_GET_NOW_NOTIFICATIONS` | Get Now Notifications | Tool to retrieve notifications stored in GoSquared. Use when you need to access Traffic Alerts, RSS feed items, or Milestones. |
| `GOSQUARED_GET_NOW_ORGANISATIONS` | Get Real-Time Organisations | Tool to retrieve internet organisations currently being used by online visitors, sorted by visitor count. Use when you need real-time data about which ISPs or network providers your visitors are using. |
| `GOSQUARED_GET_NOW_SOURCES_BY_SECTION` | Get Now Sources By Section | Tool to retrieve a specific group of real-time traffic sources such as 'site', 'organic', or 'social'. Use when you need up-to-the-minute data about a particular source category driving visitors to your site. |
| `GOSQUARED_GET_NOW_TIME` | Get Current Time | Tool to retrieve the current time according to GoSquared infrastructure. Use when you need a synchronized timestamp from GoSquared's servers. |
| `GOSQUARED_GET_NOW_VISITOR` | Get Specific Visitor | Retrieves real-time session information for a specific online visitor. Use this tool after obtaining a visitorID from GOSQUARED_NOW_VISITORS to get detailed information about a visitor including their location, browser, engagement score, and event history. Returns a 409 status if the visitor is no longer online. |
| `GOSQUARED_GET_PEOPLE_EVENT_TYPES` | Get People Event Types | Retrieve all event types tracked in GoSquared People CRM, ordered by frequency. Use this to discover available events for filtering or building Smart Groups. |
| `GOSQUARED_GET_PEOPLE_PROPERTY_TYPES` | Get People Property Types | Retrieve property types (schema definitions) from GoSquared People CRM. Use this tool to: - Discover all available profile properties and their data types - Get custom property definitions - Look up a specific property's schema by its identifier Properties use dot notation for nested fields (e.g., 'last.location.country'). |
| `GOSQUARED_GET_PERSON` | Get Person Profile | Retrieve a specific person's profile from GoSquared People CRM by their unique ID. Use this tool when you need to: - Fetch detailed profile information for a known person - Look up custom properties set via tracking for a specific user - Verify a person exists before performing other operations Prerequisites: - Requires a valid person_id (obtain from List People or tracking events) - API key must have 'read_people' scope Returns the complete person profile including standard fields and custom properties. |
| `GOSQUARED_GET_PERSON_FEED` | GoSquared - Get Person Feed | Retrieve a person's event feed from GoSquared People CRM, with pagination and optional search, event-type and time filters. Results default to the first 10 events sorted newest first; the sort order can be changed. |
| `GOSQUARED_GET_TRENDS_BROWSER` | Get Browser Metrics | Tool to retrieve summarised browser metrics over a specified time period. Use when analyzing which browsers were used to access the site during a specific date range. |
| `GOSQUARED_GET_TRENDS_CAMPAIGN_CONTENT` | Get Campaign Content Metrics | Retrieve UTM content metrics (utm_content) aggregated over a specified date range. Use this to analyze which content variations (e.g., banner ads, sidebar links, footer CTAs) are driving traffic to your site. |
| `GOSQUARED_GET_TRENDS_CAMPAIGN_NAME` | Get Campaign Name Metrics | Retrieve UTM campaign name metrics (utm_campaign) aggregated over a specified date range. Use this to analyze which marketing campaigns (e.g., 'spring_sale', 'newsletter_2024') are driving traffic to your site. |
| `GOSQUARED_GET_TRENDS_CAMPAIGN_SOURCE` | Get Campaign Source Metrics | Retrieve UTM source metrics (utm_source) aggregated over a specified date range. Use this to analyze which traffic sources (e.g., google, facebook, newsletter) are driving visitors to your site. |
| `GOSQUARED_GET_TRENDS_CAMPAIGN_TERM` | Get Campaign Term Metrics | Retrieve UTM term metrics (utm_term) aggregated over a specified date range. Use this to analyze which specific keywords or terms are driving traffic to your site. |
| `GOSQUARED_GET_TRENDS_CATEGORY` | Get Category Metrics | Tool to retrieve summarised category metrics over a specified time period. Use when analyzing which content categories were accessed during a specific date range. |
| `GOSQUARED_GET_TRENDS_COUNTRY` | Get Country Metrics | Retrieve country-level visit metrics aggregated over a specified date range. Use this to analyze which countries are driving traffic to your site during a specific period. |
| `GOSQUARED_GET_TRENDS_LANGUAGE` | Get Language Metrics | Retrieve summarised language metrics over a given time period. Use this to analyze which languages your visitors are using based on browser settings. Returns a ranked list of languages by visitor count within the specified date range. |
| `GOSQUARED_GET_TRENDS_ORGANISATION` | Get Organisation Metrics | Tool to retrieve summarised organisation metrics over a given time period. Use when analyzing which internet organisations (ISPs, network providers, companies) are driving traffic to your site during a specific date range. |
| `GOSQUARED_GET_TRENDS_OS` | Get Operating System Metrics | Tool to retrieve summarised operating system metrics over a specified time period. Use when analyzing which operating systems were used to access the site during a specific date range. |
| `GOSQUARED_GET_TRENDS_PRODUCT` | Get Product Metrics | Tool to retrieve summarised product metrics over a specified time period. Use when analyzing ecommerce product performance, revenue, and transaction data during a specific date range. |
| `GOSQUARED_GET_TRENDS_SCREEN_DIMENSIONS` | Get Screen Dimensions Metrics | Tool to retrieve summarised screen dimensions metrics over a specified time period. Use when analyzing which screen dimensions (resolutions) were used to access the site during a specific date range. |
| `GOSQUARED_GET_TRENDS_SOURCES` | Get Traffic Sources Metrics | Tool to retrieve a historical list of traffic sources that referred visitors to the site over a specified period. Sources are grouped by category: direct, organic (search engines), site (referrals), social, and internal. Use when analyzing which sources drove traffic during a specific date range. |
| `GOSQUARED_GET_TRENDS_SOURCES_BY_TYPE` | Get Trends Sources By Type | Tool to retrieve a historical list of sources for the given section type. Use when analyzing which sources (referring websites, social media, search engines, or internal) drove traffic during a specific time period. |
| `GOSQUARED_GET_TRENDS_TRANSACTION` | Get Transaction Metrics | Tool to retrieve summarised transaction metrics over a specified time period. Use when analyzing transaction data including revenue and quantity during a specific date range. |
| `GOSQUARED_LIST_PEOPLE` | List People | Search and filter tracked people in GoSquared People CRM by text, properties, or events, with sorting and pagination. Results can be requested as JSON or CSV; JSON may include matching counts and pagination links. |
| `GOSQUARED_NOW_CONCURRENTS` | Get current concurrent visitors | Tool to retrieve the number of concurrent visitors currently on your site. Use when you need live, real-time visitor metrics. |
| `GOSQUARED_NOW_PAGES` | Get Real-Time Popular Pages | Retrieve the most popular pages currently being viewed on your site in real-time. Returns pages ordered by visitor count. Use this tool when you need to know which pages are currently active and how many visitors are on each page right now. |
| `GOSQUARED_NOW_PLATFORMS` | Get Real-Time Visitor Platforms | Tool to retrieve platforms used by online visitors sorted by visitor count. Use when you need a real-time breakdown of active visitor platforms. |
| `GOSQUARED_NOW_V3_OVERVIEW` | Get Real-Time Overview | Tool to retrieve a summary of real-time data for the site. Use when a snapshot of current online visitor metrics and summary statistics is needed. |
| `GOSQUARED_NOW_V3_SOURCES` | Now Sources | Tool to retrieve the most influential traffic sources currently driving visitors to your site. Use when you need an up-to-the-minute breakdown of referrer sources. |
| `GOSQUARED_NOW_V3_TIME_SERIES` | Get Visitor Time Series | Retrieves time series data showing the number of concurrent visitors to your site over time. Use this tool when you need to analyze visitor traffic patterns, identify peak hours, or track historical visitor trends. Returns data points at regular intervals (configurable, default 5 minutes) within the specified time range. |
| `GOSQUARED_NOW_VISITORS` | Get Real-Time Online Visitors | Tool to retrieve a list of current online visitors. Use when you need detailed real-time visitor information. |
| `GOSQUARED_PEOPLE_DEVICES` | GoSquared - List All Devices | Retrieve a paginated list of all devices tracked in GoSquared People CRM. This tool returns information about every device that has ever been tracked, including platform (OS), browser, screen size, ISP, geographic location, and visit counts. Use this when you need an overview of all devices accessing your site/app or for device analytics. Note: Requires API key with 'read_people' scope. |
| `GOSQUARED_PEOPLE_SMARTGROUP_FEED` | Export Smart Group Feed | Export all pageview activity for users in a Smart Group to a downloadable CSV file. Returns a time-limited URL (valid for 15 minutes) to download the CSV. Supports filtering by date range (max 60 days). Use this when you need bulk export of user pageview data for analytics or reporting purposes. |
| `GOSQUARED_PEOPLE_SMARTGROUP_PEOPLE` | Smart Group People | Retrieve people (user profiles) from a specific Smart Group in GoSquared People CRM. Smart Groups are saved user segments defined by property or event filters. Use this action to list users matching a Smart Group's criteria, with optional search filtering and pagination. Prerequisites: - Requires a valid group_id. Get available Smart Group IDs using the 'List People Smart Groups' action first. - Requires 'read_people' API key scope. Returns user profiles with properties like id, email, name, and any custom properties tracked in People CRM. |
| `GOSQUARED_PEOPLE_SMART_GROUPS` | List People Smart Groups | Retrieve all Smart Groups for a GoSquared People CRM project. Smart Groups are saved user segments based on property or event filters. Use this action to list all configured Smart Groups and their filter criteria. The returned group IDs can be used with other People API endpoints to query users within specific segments. Requires the 'read_people' API key scope. |
| `GOSQUARED_POST_ACCOUNT_SITES` | Add Account Site | Create a new site/project in the GoSquared account for analytics tracking using an API key with write_account scope. The response includes the raw API response and may include the site token needed to configure tracking. |
| `GOSQUARED_POST_CHAT_CHAT_ARCHIVE` | Archive Chat Conversation | Archives a chat conversation in GoSquared Inbox. Use this action to close out completed chat sessions, move resolved conversations out of the active inbox, or organize chat history. Archived chats can be retrieved later using the archived chats endpoint or unarchived using the 'Unarchive Chat Conversation' action. |
| `GOSQUARED_POST_CHAT_CHAT_MESSAGE` | Send Chat Message | Send a message to a visitor in a GoSquared chat conversation. Use this tool to: - Send messages as an agent to website visitors - Send automated bot responses - Send messages on behalf of a client (requires auth signature) Prerequisites: Obtain a valid chatID from GOSQUARED_CHAT_CHATS or GOSQUARED_CHAT_CHAT first. For client messages, generate a Person Signature using SHA-256 HMAC with the Secure Mode Secret. |
| `GOSQUARED_POST_CHAT_CHAT_NOTE` | Leave Chat Note | Adds an internal note to a GoSquared chat conversation. Notes are visible only to agents in the Inbox and are useful for leaving context, follow-up reminders, or team coordination messages. The chatID corresponds to the person_id of the visitor/client. |
| `GOSQUARED_POST_CHAT_CHAT_UNARCHIVE` | Unarchive Chat Conversation | Unarchives a chat conversation in GoSquared Inbox. Use this action to restore an archived chat back to active state, making it visible in the active inbox again. This is useful when you need to resume conversations that were previously archived using the 'Archive Chat Conversation' action or archived manually in the GoSquared interface. |
| `GOSQUARED_POST_PEOPLE_SMARTGROUPS` | Create People SmartGroup | Create a new Smart Group in GoSquared People CRM to segment users by custom criteria. Smart Groups are dynamic user segments based on property filters (like email, name, status) or event-based filters. Filters can use various operators including 'contains', 'eq' (equals), 'gt'/'lt' (greater/less than), '~' (is/equals), and '><' (date range). Use this when you need to: - Create user segments based on properties (e.g., email domain, subscription status) - Filter users by date ranges (e.g., created in last 7 days) - Combine multiple filter criteria (filters work as AND logic) - Organize users for targeted campaigns or analysis |
| `GOSQUARED_SEND_TRACKING_PING` | Send Tracking Ping | Sends a ping to keep the visitor session active in GoSquared. Must be received at least once every 30 seconds to maintain the session, otherwise the session will time out. Use this when implementing custom tracking libraries or advanced tracking processes. |
| `GOSQUARED_TAG_VISITOR` | Tag Visitor | Tool to add a tag to an identified visitor in GoSquared. Use when you need to categorize, segment, or label visitors for organizational purposes or marketing campaigns. |
| `GOSQUARED_TRACKING_EVENT` | Track GoSquared Event | Track custom events in GoSquared analytics. Use to record user actions like signups, purchases, button clicks, or any custom event. Events are associated with visitors/people and appear in their activity feeds and analytics dashboards. |
| `GOSQUARED_TRACKING_IDENTIFY` | Identify User | Identify a user in GoSquared and set their profile properties. Links anonymous visitor activity to a known user identity and creates/updates their profile in the People dashboard. Requires 'write_tracking' API scope. |
| `GOSQUARED_TRACKING_PAGEVIEW` | Track Pageview | Tracks a pageview event in GoSquared Analytics. Use this to record when a visitor views a page on your site. Requires visitor_id (unique identifier for the visitor) and page URL. Optionally include additional visitor data like screen size, browser info, campaign attribution, and more. |
| `GOSQUARED_TRACKING_TRANSACTION` | Track GoSquared Transaction | Track e-commerce transactions in GoSquared analytics. Use this when a customer completes a purchase to record the transaction details including items purchased, revenue, and customer identification. The transaction ID must be unique - GoSquared uses this to prevent duplicate transactions. If the same transaction ID is sent again, the duplicate will be ignored. Transaction data appears in the GoSquared Ecommerce dashboard and can be associated with People profiles for customer analytics. |
| `GOSQUARED_TRACK_PROPERTIES` | Track User Properties | Track user properties for a visitor in GoSquared. Use to set or update profile information for identified users or anonymous visitors. Properties include email, name, company details, and custom fields. Requires either person_id or visitor_id. |
| `GOSQUARED_TRENDS_AGGREGATE` | Retrieve Aggregate Metrics | Retrieve aggregate web analytics metrics for a specified time period. Returns key metrics like pageviews, unique visitors, visits, bounce rate, engaged time, and e-commerce data, grouped by hour, day, or month. Use this tool to analyze overall website traffic trends and performance over time. |
| `GOSQUARED_TRENDS_CAMPAIGN_MEDIUM` | Get Campaign Medium Metrics | Retrieve UTM medium metrics (utm_medium) aggregated over a specified date range. Use this to analyze which marketing mediums (e.g., email, social, cpc, organic) are driving traffic to your site. |
| `GOSQUARED_TRENDS_EVENT` | Retrieve Event Counts | Retrieve counts of tracked event triggers over a specified time period. Use this tool to analyze how frequently custom events have been triggered on your site. Events must first be tracked using the GoSquared tracking API before they appear in results. Note: The 'data' property passed when tracking events is not included in this endpoint; use the Feed API to access event metadata. |
| `GOSQUARED_TRENDS_PAGE` | Get Page Metrics | Retrieve page-level visit metrics over a specified time period. Returns a ranked list of pages by visit count within the date range. Use this to analyze which pages received the most traffic during a specific period. |
| `GOSQUARED_TRENDS_PATH1` | Get Base Path Metrics | Retrieves base path metrics (first URL path segments) over a time period for analyzing traffic to top-level site sections, using an API key with the 'read_trends' scope. When CSV is requested, the returned structured result has an empty list and does not include the CSV data. |
| `GOSQUARED_UPDATE_ACCOUNT_BLOCKED_BOTS` | Update Account Blocked Bots | Tool to update the automatic bot blocking feature for a project. Use when you need to enable or disable bot filtering for analytics tracking. |
| `GOSQUARED_UPDATE_ACCOUNT_BLOCKED_IPS` | Update Account Blocked IPs | Tool to update the list of IP addresses to be blocked for a GoSquared project. Use when you need to block specific IP addresses from being tracked in analytics. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Gosquared MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Gosquared is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Gosquared MCP Agent with another framework

- [Claude Code](https://composio.dev/toolkits/gosquared/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/gosquared/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/gosquared/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/gosquared/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/gosquared/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/gosquared/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/gosquared/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/gosquared/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/gosquared/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/gosquared/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/gosquared/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/gosquared/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/gosquared/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/gosquared/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/gosquared/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/gosquared/framework/autogen)

## Related Toolkits

- [Firecrawl](https://composio.dev/toolkits/firecrawl) - Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
- [Tavily](https://composio.dev/toolkits/tavily) - Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
- [Exa](https://composio.dev/toolkits/exa) - Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
- [Serpapi](https://composio.dev/toolkits/serpapi) - SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
- [Excel](https://composio.dev/toolkits/excel) - Microsoft Excel is a robust spreadsheet application for organizing, analyzing, and visualizing data. It's the go-to tool for calculations, reporting, and flexible data management.
- [Peopledatalabs](https://composio.dev/toolkits/peopledatalabs) - Peopledatalabs delivers B2B data enrichment and identity resolution APIs. Supercharge your apps with accurate, up-to-date business and contact data.
- [Snowflake](https://composio.dev/toolkits/snowflake) - Snowflake is a cloud data warehouse built for elastic scaling, secure data sharing, and fast SQL analytics across major clouds.
- [Posthog](https://composio.dev/toolkits/posthog) - PostHog is an open-source analytics platform for tracking user interactions and product metrics. It helps teams refine features, analyze funnels, and reduce churn with actionable insights.
- [21risk](https://composio.dev/toolkits/_21risk) - 21RISK is a web app built for easy checklist, audit, and compliance management. It streamlines risk processes so teams can focus on what matters.
- [0xArchive](https://composio.dev/toolkits/0xarchive) - 0xArchive is a crypto data service for historical and current market data, quality signals, feedback, and webhooks. It helps teams access reliable crypto data and manage REST integrations from one API.
- [Abstract](https://composio.dev/toolkits/abstract) - Abstract provides a suite of APIs for automating data validation and enrichment tasks. It helps developers streamline workflows and ensure data quality with minimal effort.
- [AccuWeather](https://composio.dev/toolkits/accu_weather) - AccuWeather is a global weather service providing current conditions, forecasts, MinuteCast precipitation, alerts, and lightning data. Use it for fast, localized forecasts and real-time weather alerts.
- [Adafruit IO](https://composio.dev/toolkits/adafruit_io) - Adafruit IO is Adafruit's cloud platform for connected device and IoT project data. It helps you store, visualize, and act on sensor feeds without running your own backend.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Agentql](https://composio.dev/toolkits/agentql) - Agentql is a toolkit that connects AI agents to the web using a specialized query language. It enables structured web interaction and data extraction for smarter automations.
- [Agenty](https://composio.dev/toolkits/agenty) - Agenty is a web scraping and automation platform for extracting data and automating browser tasks—no coding needed. It streamlines data collection, monitoring, and repetitive online actions.
- [Ahrefs MCP](https://composio.dev/toolkits/ahrefs_mcp) - Ahrefs MCP is Ahrefs' hosted MCP server for SEO data and insights. Use it to access backlinks, organic metrics, keyword research, and competitor analysis.
- [Akta](https://composio.dev/toolkits/akta) - Akta is a company intelligence platform providing enrichment, news, and alternative business signals. It helps teams build targeted company lists and enrich data-driven workflows.
- [Ambee](https://composio.dev/toolkits/ambee) - Ambee is an environmental data platform providing real-time, hyperlocal APIs for air quality, weather, and pollen. Get precise environmental insights to power smarter decisions in your apps and workflows.
- [Ambient weather](https://composio.dev/toolkits/ambient_weather) - Ambient Weather is a platform for personal weather stations with a robust API for accessing local, real-time, and historical weather data. Get detailed environmental insights directly from your own sensors for smarter apps and automations.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Gosquared MCP?

With a standalone Gosquared MCP server, the agents and LLMs can only access a fixed set of Gosquared tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Gosquared and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Gosquared tools.

### Can I manage the permissions and scopes for Gosquared while using Tool Router?

Yes, absolutely. You can configure which Gosquared scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Gosquared data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
