GoSquared provides real-time web analytics and customer engagement tools to help businesses understand and interact with their website visitors.
GoSquared provides real-time web analytics and customer engagement tools to help businesses understand and interact with their website visitors. On Nagent, Gosquared is exposed as a fully-configurable analytics integration that any agent can call — 90 actions, and API key authentication. No code is required to wire Gosquared into your workflow — connect it once via the External Integrations panel and reuse it across every agent you build.
Agent builders use Gosquared to automate the kinds of tasks analytics teams previously handled manually. Concrete examples — each one is a single agent step in Nagent — include:
Every action and trigger is paired with a structured input/output schema (visible in the sections below), so when you wire Gosquared into Helix — our agentic agent builder — the editor knows exactly what each step expects and produces. Configure once, deploy anywhere across your Nagent agents.
Every operation an agent can call against Gosquared, with input parameters and output schema. Drop these into any step of an agent built in Helix.
GOSQUARED_ACCOUNT_ADD_SHARED_USERTool to add a new shared user to a project. Use when inviting team members via their email address.
Input parameters
Role assigned to the user. Accepted values: 'admin' or 'member'.
Email address of the user to add.
Whether to send an invite email to the user.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_ACCOUNT_REMOVE_SHARED_USERRemoves 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.
Input parameters
Email address of the shared user to remove from the GoSquared project. The operation is idempotent and will succeed even if the user doesn't exist.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_ACCOUNT_SHARED_USERSRetrieves 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.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_ACCOUNT_SITESList 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.
Input parameters
Response format: 'grouped' returns sites organized by ownership (owned vs shared); 'flat' returns all accessible sites in a single list.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_AUTH_TOKEN_INFOTool to check whether an API key is valid and retrieve its enabled scopes. Use when verifying API credentials before making further API calls.
Input parameters
An API Key associated with your account.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_BLOCK_VISITORTool to block a specific visitor from being tracked. Use when you need to prevent tracking for a particular visitor ID.
Input parameters
Unique identifier of the visitor to block.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_CHAT_CHATRetrieve 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.
Input parameters
The unique identifier for the chat conversation. This is the same as the person_id of the visitor/client. Can be obtained from GOSQUARED_CHAT_CHATS or GOSQUARED_LIST_PEOPLE actions.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_CHAT_CHAT_MESSAGESRetrieve 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
Input parameters
Pagination control in 'offset,count' format. Default '0,10' returns first 10 messages. Use '10,10' for next 10, '20,10' for third page, etc. Maximum count is 250 messages per request.
The unique ID of the chat conversation. This matches the person_id of the visitor. Obtain from GOSQUARED_CHAT_CHATS or GOSQUARED_CHAT_CHAT actions.
Filter messages sent on or before this date-time. Must be in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). Combine with from_date to get messages within a date range.
Filter messages sent on or after this date-time. Must be in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). Useful for retrieving messages from a specific time period.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_CHAT_CHATSTool to retrieve chat data for reporting purposes. Use when you need to list active chat conversations within a specific time window.
Input parameters
Pagination offset and count, formatted as 'offset,count'. Max count is 250.
End date-time for the query, in ISO 8601 format.
Start date-time for the query, in ISO 8601 format.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_CHAT_FEEDRetrieve the complete feed of messages and events from a chat conversation. Use this action to: - Fetch chat history and conversation timeline for a specific person - Review messages exchanged between agents, bots, and visitors - Access internal/private agent notes and public messages - Track chat events like archiving, status changes, etc. - Retrieve messages with rich content including emojis and Unicode text The chat_id corresponds to a person_id from the GoSquared People API. You can obtain valid person_id values by first calling the List People action. Supports pagination and date filtering to retrieve specific portions of the chat history. Feed items are typically returned in reverse chronological order.
Input parameters
Pagination parameter formatted as 'offset,count' where offset is the number of items to skip and count is the number of items to return. Maximum count is 250. Default is '0,10' (first 10 items).
ID of the chat conversation to retrieve feed from. This is the same as the person_id from the People API (e.g., 'email:user@example.com', 'user-123', or any custom person identifier).
Filter feed items to those created on or before this date-time. Use ISO 8601 format with timezone (e.g., '2024-12-31T23:59:59Z'). If omitted, no upper date bound is applied.
Filter feed items to those created on or after this date-time. Use ISO 8601 format with timezone (e.g., '2024-01-01T00:00:00Z'). If omitted, no lower date bound is applied.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_CREATE_ACCOUNT_WEBHOOKTool 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.
Input parameters
URL to send webhook notifications to. Must be a valid HTTP/HTTPS endpoint that can receive POST requests.
Display name for the webhook to help identify it in the dashboard.
Additional value associated with the trigger. Usage depends on the trigger type (e.g., smart group ID for entered_smart_group/exited_smart_group triggers).
Enum for webhook trigger types.
Whether to include unverified events in webhook notifications.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_CREATE_WEBHOOK_TRIGGERTool 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.
Input parameters
The threshold or value for the trigger. For traffic_spike/traffic_dip, this represents the percentage change (e.g., '50' for 50% spike). For other triggers, refer to API docs for format.
The type of event that will activate this webhook. Use 'traffic_spike' or 'traffic_dip' for analytics alerts, or use 'chat_message', 'entered_smart_group', 'exited_smart_group' for other events.
The unique ID of the webhook to add the trigger to. Obtain this from the webhook creation endpoint or webhook list.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_DELETE_ACCOUNT_WEBHOOKTool to delete a webhook from a GoSquared account. Use when you need to remove an existing webhook by its ID.
Input parameters
The unique identifier of the webhook to delete.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_DELETE_PERSONTool to delete a person profile and all associated data. Use when you need to permanently remove a person's record and optionally blacklist them.
Input parameters
If true, blacklist the person's IDs/emails to block re-creation, outbound sends, and webhooks.
Unique identifier of the person to delete. Can be the person's ID or email address prefixed with 'email:' (e.g., 'email:user@example.com').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_END_VISITOR_SESSIONSTool 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.
Input parameters
Page index specification for targeted session timeout.
The anonymous visitor identifier associated with the action. This is the unique ID used to track the visitor whose sessions should be ended.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_BLOCKEDTool 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.
Input parameters
Modifies the response data structure. Accepted values: 'plain' (returns list of IDs), 'tags' (returns list of objects with ID and tag), 'indexedTags' (returns key-value mapping of ID to tag). Default: 'plain'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_BLOCKED_BOTSTool to retrieve the bot blocking status for a GoSquared project. Use when you need to check whether automatic bot blocking is enabled.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_BLOCKED_IPSTool 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.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_BLOCKED_VISITORSTool 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).
Input parameters
Modifies the response data structure. Accepted values: 'plain' (returns list of visitor IDs), 'tags' (returns list of objects with visitor ID and tag), 'indexedTags' (returns key-value mapping of visitorID to tag). Default: 'plain'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_SITETool 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.
Input parameters
A valid GoSquared site token identifying the project to retrieve. Site tokens are typically formatted as 'GSN-XXXXXX-X' (e.g., 'GSN-885166-C'). Use the List Account Sites action to discover available site tokens.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_SITES_USAGETool 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.
Input parameters
The end date-time for the query (ISO 8601 format or relative format like 'now')
The start date-time for the query (ISO 8601 format or relative format like '-7d')
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_TAGGED_VISITORSTool 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.
Input parameters
Maximum results to return; supports 'offset,count' format (e.g., '5,10'). Default is '0,100'.
Response format: 'plain' returns a list of visitor objects; 'indexed' returns a key:value object mapping visitorID to tag.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_TRIGGER_TYPETool 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.
Input parameters
The trigger type identifier to retrieve. Common trigger types include: 'entered_smart_group' (when a person enters a Smart Group), 'exited_smart_group' (when a person exits a Smart Group), 'traffic_spike' (when traffic increases significantly), 'traffic_dip' (when traffic decreases significantly), 'chat_message' (when a chat message is received). Use the Get Account Trigger Types action to discover all available trigger types.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_TRIGGER_TYPESTool 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.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_WEBHOOKTool to retrieve a specific webhook by ID from a GoSquared account. Use when you need to fetch details about an existing webhook configuration.
Input parameters
The unique identifier of the webhook to retrieve.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_WEBHOOKSRetrieves a list of webhooks configured for the GoSquared project. Returns webhook details including ID, URL, event type, and active status. Use this to audit configured webhooks or verify webhook integrations.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_ACCOUNT_WEBHOOK_TRIGGERSRetrieves all triggers for a webhook. Use when you need to view which events are configured to fire a specific webhook.
Input parameters
The unique numeric identifier of the webhook to retrieve triggers for. This ID is obtained when creating a webhook or from the list webhooks endpoint.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_CHAT_CHAT_MESSAGERetrieve 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).
Input parameters
ID of the chat conversation (same as the person_id of the client/visitor).
Unique ID of the specific message to retrieve (UUID format).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_BROWSERSTool 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.
Input parameters
Controls result count and pagination. Format: 'count' or 'offset,count' (e.g., '5' returns first 5 results, '5,10' skips 5 and returns next 10). Default: '0,5'.
Modifies the response data structure. Accepted values: 'truncatedList' (default) includes 'other' sum, 'list' shows items only, 'truncatedObject' returns key-value object with 'other', 'object' returns key-value object without truncation.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_CAMPAIGNSTool 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.
Input parameters
Controls pagination. Format: 'offset,count' where offset is the starting position (0-based) and count is the number of results to return. If omitted, returns default number of results.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_COUNTRIESTool 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.
Input parameters
Maximum number of results to return; may include offset as 'offset,count' (e.g., '5,10'). Default is '0,5'.
Alters response structure; one of: 'truncatedList', 'list', 'truncatedObject', 'object'. Default is 'truncatedList'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_ENGAGEMENTTool 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.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_GEOTool 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.
Input parameters
Controls pagination and result count. Format: 'offset,count' where offset is the starting position (0-based) and count is the number of results to return (e.g., '5,10' returns 10 results starting from position 5). Default: '0,30'.
Format for returned date fields; accepts any Moment.js format (e.g., 'YYYY-MM-DD', 'MM/DD/YYYY').
Visitor types filter.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_LANGUAGESTool to retrieve languages for currently online visitors sorted by visitor count. Use when you need a real-time breakdown of active visitor languages.
Input parameters
Maximum number of results to return; may include offset as 'offset,count' (e.g., '5,10').
Alters response shape; one of: 'truncatedList', 'list', 'truncatedObject', 'object'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_NOTIFICATIONSTool to retrieve notifications stored in GoSquared. Use when you need to access Traffic Alerts, RSS feed items, or Milestones.
Input parameters
Maximum number of results to return; supports 'offset,count' format (e.g., '0,10' for first 10 results, '10,20' for next 20). Default is '0,10'.
End date-time for the query range (ISO-8601 or Moment.js-compatible format).
Start date-time for the query range (ISO-8601 or Moment.js-compatible format).
Output format for date fields following Moment.js documentation standards (e.g., 'YYYY-MM-DD', 'YYYY-MM-DDTHH:mm:ssZ').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_ORGANISATIONSTool 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.
Input parameters
Maximum number of results to return. Format: "offset,count" (e.g., "0,10" returns first 10 results, "5,5" skips first 5 and returns next 5). Can also specify just count (e.g., "10"). Default: "0,5".
Response format options for the organisations endpoint.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_SOURCES_BY_SECTIONTool 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.
Input parameters
Maximum results per source category. Format: "offset,count" (e.g., "0,10" returns first 10 results). Default: "0,10".
If true, returns a compact response with only visitor counts. Default: false.
Source section type to retrieve. Must be one of: direct, site, social, organic, or internal.
Maximum drill-down results within each source item. Format: "offset,count" (e.g., "0,5"). Default: "0,5".
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_TIMETool to retrieve the current time according to GoSquared infrastructure. Use when you need a synchronized timestamp from GoSquared's servers.
Input parameters
Format for the returned time field; accepts any Moment.js format string. For example, 'YYYY-MM-DD' returns dates as '2024-01-01', or 'YYYY-MM-DDTHH:mm:ssZ' for ISO 8601 format.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_NOW_VISITORRetrieves 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.
Input parameters
Number of results to return, with optional offset. Format: 'offset,count' (e.g., '0,10' returns first 10, '5,10' skips 5 then returns 10). Default is '0,10' if not specified.
Response format: 'plain' returns minimal visitor data, 'events' (default) includes all visitor events, 'pageEvents' groups events by page.
The unique identifier of the visitor to retrieve. Obtain this from the GOSQUARED_NOW_VISITORS action which lists currently online visitors.
Filter visitor type: 'all' (default) returns all visitors, 'tagged' returns only identified/tagged visitors, 'returning' returns only returning visitors.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_PEOPLE_EVENT_TYPESRetrieve all event types tracked in GoSquared People CRM, ordered by frequency. Use this to discover available events for filtering or building Smart Groups.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_PEOPLE_PROPERTY_TYPESRetrieve 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').
Input parameters
When True, returns only custom-defined properties (excludes built-in system properties like 'email', 'name', etc.). When False (default), returns all properties including both system and custom properties.
Specific property identifier to fetch (e.g., 'email', 'last.seen', 'company.name'). When provided, returns schema details for only that single property. Use dot notation for nested properties (e.g., 'last.location.city').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_PERSONRetrieve 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.
Input parameters
The unique identifier of the person to retrieve from GoSquared People CRM. This ID is typically obtained from the List People endpoint or from tracking events. Can be a GoSquared-generated ID (e.g., '5f8d0c1b2e3a4f5g6h7i8j9k') or an email-prefixed identifier (e.g., 'email:user@example.com') if the person was identified that way.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_PERSON_FEEDRetrieve a person's complete event feed from GoSquared People CRM. Returns a chronologically ordered list of all events (custom events and session events) for a specific person. Use this tool to: - View a person's activity history and engagement timeline - Track specific events by name using the query parameter - Filter by event type (custom events vs session events) - Paginate through large event histories Prerequisites: - Requires a valid personID (obtain from List People or tracking events) - API key must have 'read_people' scope
Input parameters
Sort order, e.g., 'ts:desc' (newest first) or 'ts:asc'.
Comma-separated event families to include: 'event' for custom events and 'sessionEvent' for GoSquared session events.
Pagination in the form 'offset,count'. Offset ≥ 0; count ≤ 250 per request.
Search within the person's event history by event name.
End ISO 8601 date-time for the feed filter.
The unique identifier of the person whose event feed to retrieve. Can be a GoSquared-generated ID (e.g., 'user-abc-12345'), an email-prefixed identifier (e.g., 'email:user@example.com'), or any custom ID set during tracking. Obtain from List People action or tracking event responses.
Start ISO 8601 date-time for the feed filter.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_BROWSERTool 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.
Input parameters
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2024-01-31') or ISO 8601 ('2024-01-31T23:59:59Z').
Start date-time for the query. Accepts various formats including simple dates ('2024-01-01') or ISO 8601 ('2024-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2024-01-31), 'MMMM Do YYYY' (January 31st 2024).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_CAMPAIGN_CONTENTRetrieve 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.
Input parameters
Limit results with optional offset,count notation (e.g., '0,20' for first 20 results, '5,10' for 10 results starting at offset 5).
End date for the query in ISO 8601 format (e.g., '2024-01-07' or '2024-01-07T23:59:59Z').
Start date for the query in ISO 8601 format (e.g., '2024-01-01' or '2024-01-01T00:00:00Z').
Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD').
Response format: 'json' (default) or 'csv'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_CAMPAIGN_NAMERetrieve 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.
Input parameters
Limit results with optional offset,count notation (e.g., '0,20' for first 20 results, '5,10' for 10 results starting at offset 5).
Response format: 'json' (default) or 'csv'.
End date for the query in ISO 8601 format (e.g., '2024-01-07' or '2024-01-07T23:59:59Z').
Start date for the query in ISO 8601 format (e.g., '2024-01-01' or '2024-01-01T00:00:00Z').
Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_CAMPAIGN_SOURCERetrieve 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.
Input parameters
Limit results with optional offset,count notation (e.g., '0,20' for first 20 results, '5,10' for 10 results starting at offset 5).
End date for the query in ISO 8601 format (e.g., '2024-01-07' or '2024-01-07T23:59:59Z').
Start date for the query in ISO 8601 format (e.g., '2024-01-01' or '2024-01-01T00:00:00Z').
Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD').
Response format: 'json' (default) or 'csv'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_CAMPAIGN_TERMRetrieve 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.
Input parameters
Limit results with optional offset,count notation (e.g., '0,20' for first 20 results, '5,10' for 10 results starting at offset 5).
End date for the query in ISO 8601 format (e.g., '2024-01-07' or '2024-01-07T23:59:59Z').
Start date for the query in ISO 8601 format (e.g., '2024-01-01' or '2024-01-01T00:00:00Z').
Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD').
Response format: 'json' (default) or 'csv'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_CATEGORYTool to retrieve summarised category metrics over a specified time period. Use when analyzing which content categories were accessed during a specific date range.
Input parameters
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2026-02-14') or ISO 8601 ('2026-02-14T23:59:59Z').
Time interval for grouping results. Common values include 'hour', 'day', 'week', 'month'.
Start date-time for the query. Accepts various formats including simple dates ('2026-01-01') or ISO 8601 ('2026-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2026-01-31), 'MMMM Do YYYY' (January 31st 2026).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_COUNTRYRetrieve 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.
Input parameters
Limit results with optional offset,count notation (e.g., '0,20' for first 20 results, '5,10' for 10 results starting at offset 5).
End date for the query in ISO 8601 format (e.g., '2024-01-07' or '2024-01-07T23:59:59Z').
Start date for the query in ISO 8601 format (e.g., '2024-01-01' or '2024-01-01T00:00:00Z').
Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD').
Response format: 'json' (default) or 'csv'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_LANGUAGERetrieve 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.
Input parameters
Pagination limit in 'offset,count' format. For example, '0,20' returns first 20 results, '20,10' skips 20 and returns next 10. Default is '0,20' if not specified.
Response format. Use 'json' for structured data or 'csv' for comma-separated values export.
End date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-07T23:59:59Z') or date strings like '2024-01-07'.
Start date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-01T00:00:00Z') or date strings like '2024-01-01'.
Optional Moment.js format string for formatting date fields in the response (e.g., 'YYYY-MM-DD', 'DD/MM/YYYY').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_ORGANISATIONTool 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.
Input parameters
Limit results with optional offset,count notation (e.g., '0,20' for first 20 results, '5,10' for 10 results starting at offset 5). Default is '0,20'.
End date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-31' or '2024-01-31T23:59:59Z') or simple date strings.
Start date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-01' or '2024-01-01T00:00:00Z') or simple date strings.
Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD' for dates like '2024-01-01').
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_OSTool 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.
Input parameters
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2024-01-31') or ISO 8601 ('2024-01-31T23:59:59Z').
Start date-time for the query. Accepts various formats including simple dates ('2024-01-01') or ISO 8601 ('2024-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2024-01-31), 'MMMM Do YYYY' (January 31st 2024).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_PRODUCTTool 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.
Input parameters
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2024-01-31') or ISO 8601 ('2024-01-31T23:59:59Z').
Start date-time for the query. Accepts various formats including simple dates ('2024-01-01') or ISO 8601 ('2024-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2024-01-31), 'MMMM Do YYYY' (January 31st 2024).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_SCREEN_DIMENSIONSTool 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.
Input parameters
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2024-01-31') or ISO 8601 ('2024-01-31T23:59:59Z').
Start date-time for the query. Accepts various formats including simple dates ('2024-01-01') or ISO 8601 ('2024-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2024-01-31), 'MMMM Do YYYY' (January 31st 2024).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_SOURCESTool 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.
Input parameters
If true, groups results by common source (e.g., by domain for sites, search engine for organic). Default is false.
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2024-01-31') or ISO 8601 ('2024-01-31T23:59:59Z').
Start date-time for the query. Accepts various formats including simple dates ('2024-01-01') or ISO 8601 ('2024-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2024-01-31), 'MMMM Do YYYY' (January 31st 2024).
Filter by specific source category. If omitted, returns all source types (direct, organic, site, social, internal).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_SOURCES_BY_TYPETool 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.
Input parameters
If true, groups results by common source. Behavior varies by sourceType: site groups by domain, organic by search engine, social by domain. Default is false.
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2024-01-31') or ISO 8601 ('2024-01-31T23:59:59Z').
Start date-time for the query. Accepts various formats including simple dates ('2024-01-01') or ISO 8601 ('2024-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2024-01-31), 'MMMM Do YYYY' (January 31st 2024).
Type of source to retrieve. Must be one of: site (referring websites), social (social media platforms), organic (search engines), or internal (internal traffic sources).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_GET_TRENDS_TRANSACTIONTool to retrieve summarised transaction metrics over a specified time period. Use when analyzing transaction data including revenue and quantity during a specific date range.
Input parameters
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2024-01-31') or ISO 8601 ('2024-01-31T23:59:59Z').
Start date-time for the query. Accepts various formats including simple dates ('2024-01-01') or ISO 8601 ('2024-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2024-01-31), 'MMMM Do YYYY' (January 31st 2024).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_LIST_PEOPLESearch and filter tracked people in GoSquared People CRM. Use this tool to: - List all tracked people or search by text query - Filter people by properties (email, name, etc.) or tracked events - Sort results by any property (default: most recently seen first) - Paginate through large result sets - Export results as JSON or CSV format - Get total count of matching people via 'cardinality' field Returns a structured response with 'list' (array of people), 'cardinality' (total count), and optional pagination links. Each person includes their ID, tracked properties, events, and links to related resources.
Input parameters
Property to sort by with direction suffix ':asc' or ':desc' (default 'last.seen:desc').
Maximum results to return; may include offset as 'offset,count' (e.g., '0,10'). Max 250.
Free-text search term to filter people profiles.
Comma-separated list of fields to return for each person (e.g., 'id,email').
List of filter objects to apply on properties or events.
Response format: 'plain' for JSON array, 'csv' for CSV text (default 'plain').
Moment.js format string for any date fields in the response.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_NOW_CONCURRENTSTool to retrieve the number of concurrent visitors currently on your site. Use when you need live, real-time visitor metrics.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_NOW_PAGESRetrieve 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.
Input parameters
Full URL of a specific page to filter by (e.g., 'https://example.com/page'). URL encoding is handled automatically. If not provided, returns all pages with active visitors.
Controls pagination. Format: 'offset,count' where offset is the starting position (0-based) and count is the number of results to return. If omitted, defaults to '0,10' (first 10 results). You can also specify just a count (e.g., '10').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_NOW_PLATFORMSTool to retrieve platforms used by online visitors sorted by visitor count. Use when you need a real-time breakdown of active visitor platforms.
Input parameters
Maximum number of results to return; may include offset as 'offset,count' (e.g., '5,10').
Alters response shape; one of: 'truncatedList', 'list', 'truncatedObject', 'object'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_NOW_V3_OVERVIEWTool 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.
Input parameters
End date-time for the query in ISO 8601 or any Moment.js-compatible format.
Start date-time for the query in ISO 8601 or any Moment.js-compatible format.
Format for returned date fields; accepts any Moment.js format.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_NOW_V3_SOURCESTool 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.
Input parameters
Maximum results per source category. Format: "offset,count" (e.g., "0,10" returns first 10 results). Default: "0,10".
If true, returns a compact response with only visitor counts. Default: false.
Comma-separated list of source categories to retrieve. Available values: direct, site, social, organic, internal. Default: "direct,site,social,organic,internal".
Maximum drill-down results within each source item. Format: "offset,count" (e.g., "0,5"). Default: "0,5".
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_NOW_V3_TIME_SERIESRetrieves 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.
Input parameters
End date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-02T00:00:00Z') or any Moment.js-compatible format. If omitted, defaults to the current time.
Time interval between data points in the format 'Xmin' where X is the number of minutes. For example, '5min' returns one data point every 5 minutes. Defaults to '5min'.
Start date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-01T00:00:00Z') or any Moment.js-compatible format. If omitted, defaults to 24 hours before 'to_time'.
Moment.js format string for date values in the response. For example, 'YYYY-MM-DD' returns dates as '2024-01-01'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_NOW_VISITORSTool to retrieve a list of current online visitors. Use when you need detailed real-time visitor information.
Input parameters
Maximum results to return; supports 'offset,count' (e.g., '5,10').
End date-time for the query window (ISO-8601).
Start date-time for the query window (ISO-8601).
Moment.js format string for returned date fields.
Subset of visitors to return; one of 'all', 'tagged', or 'returning'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_PEOPLE_DEVICESRetrieve 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.
Input parameters
Pagination parameter. Use format 'count' for first N items or 'offset,count' to skip offset items and return count items. Examples: '10' returns first 10 devices, '5,20' skips 5 and returns next 20. Maximum count per page is 250. Default: '0,10' (first 10 devices).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_PEOPLE_SMARTGROUP_FEEDExport 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.
Input parameters
End date-time (ISO 8601 format) to filter the export. When combined with from_date, the range must not exceed 60 days.
ID of the Smart Group to export. Usually the lowercase name of the Smart Group (e.g., 'active-users'). Can be found in the URL path when viewing the group in the People dashboard.
Start date-time (ISO 8601 format) to filter the export. When combined with to_date, the range must not exceed 60 days.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_PEOPLE_SMARTGROUP_PEOPLERetrieve 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.
Input parameters
Sort order for results in format 'property:direction'. Direction is 'asc' (ascending) or 'desc' (descending). Common sort properties: last.seen, first.seen, name, email.
Pagination in format 'offset,count'. Offset is the starting index (0-based), count is the number of results to return (max 250). Example: '0,50' returns first 50 results, '50,50' returns next 50.
Optional search term to filter people within the Smart Group by name, email, or other indexed properties.
Comma-separated list of specific person properties to return. If not specified, returns all available properties. Common fields: id, email, name, last.seen, first.seen, avatar.
The unique identifier of the Smart Group. Usually the lowercase name of the group (e.g., 'active-users', 'new-signups'). Can be found in the URL when viewing the Smart Group in the People dashboard, or retrieved via the List Smart Groups action.
Response format. 'plain' returns JSON array of person objects. 'csv' returns data as CSV text for export.
Optional Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD', 'MM/DD/YYYY HH:mm').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_PEOPLE_SMART_GROUPSRetrieve 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.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_POST_ACCOUNT_SITESCreates a new site/project in the GoSquared account for analytics tracking. Returns the site_token needed to configure tracking on the new site. Requires: API key with 'write_account' scope (not supported by demo key).
Input parameters
Publicly accessible site URL to track (must start with http:// or https://).
Display name for the new site (optional).
IANA timezone for the site (server default: Europe/London).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_POST_CHAT_CHAT_ARCHIVEArchives 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.
Input parameters
The unique identifier of the chat conversation to archive. In GoSquared, chat IDs are the same as person IDs. This ID can be obtained from the 'id' field returned by the 'Retrieve Chat Conversations' (GOSQUARED_CHAT_CHATS) action, 'List People' (GOSQUARED_LIST_PEOPLE) action, or from the chat feed. Supports various formats including email-based IDs (e.g., 'email:user@example.com') and custom identifiers.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_POST_CHAT_CHAT_MESSAGESend 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.
Input parameters
Person Signature (SHA-256 HMAC) for authenticating client messages. Required only when sender='client'. Generate using the visitor's ID and your project's Secure Mode Secret.
The unique ID of the chat conversation. This is the same as the person_id of the visitor/client. Obtain this from GOSQUARED_CHAT_CHATS action.
Who is sending the message. Use 'agent' for support staff messages (default), 'bot' for automated responses, or 'client' for visitor messages (requires auth).
The text content of the message to send.
Unix epoch timestamp (seconds) for the message. Defaults to current time if not provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_POST_CHAT_CHAT_NOTEAdds 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.
Input parameters
The ID of the chat conversation (same as the person_id of the client).
Sender type of the note. Accepted values: 'agent', 'client', or 'bot'.
The text content of the note.
Unix timestamp of the note.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_POST_CHAT_CHAT_UNARCHIVEUnarchives 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.
Input parameters
The unique identifier of the chat conversation to unarchive. In GoSquared, chat IDs are the same as person IDs. This ID can be obtained from the 'id' field returned by the 'Retrieve Chat Conversations' (GOSQUARED_CHAT_CHATS) action, 'List People' (GOSQUARED_LIST_PEOPLE) action, or from the chat feed. Supports various formats including email-based IDs (e.g., 'email:user@example.com') and custom identifiers.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_POST_PEOPLE_SMARTGROUPSCreate 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
Input parameters
Name of the Smart Group
Optional preferences for the Smart Group
List of filter objects defining group membership
Sort direction, either 'asc' or 'desc'
Field to sort members by
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_SEND_TRACKING_PINGSends 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.
Input parameters
Page information for the ping, including the page index and optionally the engaged time in milliseconds.
The anonymous visitor ID associated with this action. Use a consistent ID across the session to track the same visitor.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TAG_VISITORTool 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.
Input parameters
The tag to attach to the visitor. Used for segmenting and organizing visitors.
The unique identifier of the visitor to tag. This is the visitor ID tracked by GoSquared.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRACKING_EVENTTrack 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.
Input parameters
Visitor's IP address used for geolocation detection.
Page context where the event occurred. Keys: url (string), title (string), previous (int - index of previous page), index (int).
The event to track. Must include a 'name' field. Can optionally include 'data' for metadata and 'timestamp' for when it occurred.
Aggregate visitor statistics. Keys: visits (int), pageviews (int).
Visitor's screen properties. Keys: height (int), width (int), pixel_ratio (float), depth (int - color depth).
Marketing campaign attribution data. Keys: name, source, medium, content, term (all strings).
Language setting of the visitor's browser (BCP 47 format).
Location context. Keys: timezone_offset (int - minutes from UTC).
Referrer URL that brought the visitor to the current page.
Unique identifier for a known person in GoSquared People CRM. Prefix email addresses with 'email:' (e.g., 'email:user@example.com').
Whether this visitor has visited before (True) or is new (False).
User agent string from the visitor's browser for device/browser detection.
Anonymous visitor identifier. Use to track events for visitors who haven't been identified yet.
Character encoding of the visitor's browser.
ISO 8601 timestamp of the visitor's last pageview.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRACKING_IDENTIFYIdentify 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.
Input parameters
Unique identifier for the person. Use 'email:' prefix for email-based identification (e.g., 'email:user@example.com') or provide a custom ID string.
Custom properties to set on the person's profile. Reserved keys include: name, email, username, phone, created_at, company_name, company_industry, company_size. Custom properties become filterable in the People dashboard.
Anonymous visitor ID to merge with this person's profile. Used to link previous anonymous browsing activity to the identified user.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRACKING_PAGEVIEWTracks 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.
Input parameters
Visitor IP address (used for geolocation)
Information about the page being viewed
Aggregate visit and pageview counts for the visitor.
Screen properties of the visitor.
Campaign data for pageview.
Browser language
Visitor location information.
Referrer URL
Whether the visitor has returned before
ISO 8601 timestamp of this pageview
Browser user-agent string
Unique identifier for the anonymous visitor. Use a consistent ID across sessions to track the same visitor over time.
Browser character set
ISO 8601 timestamp of last pageview
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRACKING_TRANSACTIONTrack 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.
Input parameters
Visitor's IP address for geolocation detection.
Page context where the transaction occurred. Keys: 'url' (string), 'title' (string), 'previous' (number, page index), 'index' (number), 'referrer' (string).
Session totals. Keys: 'visits' (number of visits), 'pageviews' (total pageviews).
Visitor's screen information. Keys: 'height', 'width', 'pixel_ratio', 'depth'.
Marketing campaign attribution data. Keys: 'name', 'source', 'medium', 'content', 'term'.
Language setting of the visitor's browser (e.g., 'en-US').
Location context. Keys: 'timezone_offset' (minutes from UTC).
People CRM person ID to associate with this transaction. Prefix with 'email:' when using an email address (e.g., 'email:customer@example.com').
Whether this visitor is a returning customer.
ISO 8601 timestamp of when the transaction occurred. Defaults to current time if not specified.
User agent string of the visitor's browser.
Anonymous visitor ID to associate with this transaction. Use this to link the transaction to a browser session.
Transaction payload. Required keys: 'id' (unique transaction identifier), 'items' (array of purchased products). Optional keys: 'revenue' (total amount, defaults to sum of item revenues), 'quantity' (total units, defaults to sum of item quantities), 'previous_transaction_timestamp' (ISO 8601 timestamp of customer's last purchase). Each item should have: 'name', 'price', 'quantity', 'categories' (array).
Character set of the visitor's browser (e.g., 'UTF-8').
ISO 8601 timestamp of the visitor's last pageview.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRACK_PROPERTIESTrack 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.
Input parameters
Full name of the person
Email address of the person
Phone number of the person
URL of an avatar image for this person
Custom properties with automatic type detection (Text, Number, Date, Boolean, or Null). Maximum 1000 custom properties per project; excess properties are ignored.
Current status of the person
Company information for a person.
Username of the person
Last name of the person
Unique identifier for the person in People CRM. Prefix email addresses with 'email:' for email-based identification (e.g., 'email:user@example.com'). Either person_id or visitor_id must be provided.
ISO 8601 timestamp when the person was created
First name of the person
Anonymous visitor identifier. Use to track properties for visitors who haven't been identified yet. Either person_id or visitor_id must be provided.
Biography or description of the person
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRENDS_AGGREGATERetrieve 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.
Input parameters
Pagination limit in 'offset,count' format. For example, '0,20' returns the first 20 results, '20,10' skips 20 and returns the next 10. Default is '0,20' if not specified.
Response format. Use 'json' for structured data (default) or 'csv' for comma-separated values export.
End date-time for the analytics query in ISO 8601 format (e.g., '2024-01-31T23:59:59Z'). This is required.
Time interval for grouping/aggregating data points. Use 'hour' for hourly breakdown, 'day' for daily (default), or 'month' for monthly aggregation.
Start date-time for the analytics query in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). This is required.
Optional Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD' for dates like '2024-01-01').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRENDS_CAMPAIGN_MEDIUMRetrieve 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.
Input parameters
Limit results with optional offset,count notation (e.g., '0,20' for first 20 results, '5,10' for 10 results starting at offset 5).
End date for the query in ISO 8601 format (e.g., '2024-01-07' or '2024-01-07T23:59:59Z').
Start date for the query in ISO 8601 format (e.g., '2024-01-01' or '2024-01-01T00:00:00Z').
Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD').
Response format: 'json' (default) or 'csv'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRENDS_EVENTRetrieve 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.
Input parameters
Pagination limit in 'offset,count' format. For example, '0,20' returns first 20 results, '20,10' skips 20 and returns next 10. Default is '0,20' if not specified.
Response format. Use 'json' for structured data or 'csv' for comma-separated values export.
End date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-07T23:59:59Z') or date strings like '2024-01-07'.
Start date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-01T00:00:00Z') or date strings like '2024-01-01'.
Optional Moment.js format string for formatting date fields in the response (e.g., 'YYYY-MM-DD', 'DD/MM/YYYY').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRENDS_PAGERetrieve 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.
Input parameters
Pagination limit as 'offset,count'. Offset is starting position (0-indexed), count is number of results. Default is '0,20'.
Response format: 'json' (default) returns structured data, 'csv' returns comma-separated values.
End date-time for the query. Accepts various formats including simple dates ('2024-01-31') or ISO 8601 ('2024-01-31T23:59:59Z').
Start date-time for the query. Accepts various formats including simple dates ('2024-01-01') or ISO 8601 ('2024-01-01T00:00:00Z').
Moment.js format string for dates in the response. Common formats: 'YYYY-MM-DD' (2024-01-31), 'MMMM Do YYYY' (January 31st 2024).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_TRENDS_PATH1Retrieves base path metrics (first URL path segments) over a time period. Use this to analyze which top-level URL paths (e.g., '/blog', '/products', '/wiki') receive the most traffic. Useful for understanding site structure usage and identifying popular content sections. Requires 'read_trends' scope in your API key.
Input parameters
Pagination control as 'offset,count'. Default is '0,20' (first 20 results). Use '10,50' to skip 10 and return 50 results.
Response format. Use 'json' for structured data (default) or 'csv' for comma-separated values export.
End date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-07T23:59:59Z') or simple date format (e.g., '2024-01-07').
Start date-time for the query. Accepts ISO 8601 format (e.g., '2024-01-01T00:00:00Z') or simple date format (e.g., '2024-01-01').
Optional Moment.js format string for date fields in the response (e.g., 'YYYY-MM-DD', 'MMM D, YYYY').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_UPDATE_ACCOUNT_BLOCKED_BOTSTool to update the automatic bot blocking feature for a project. Use when you need to enable or disable bot filtering for analytics tracking.
Input parameters
Whether to block bots or not. Set to true to enable automatic bot blocking, false to disable it.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
GOSQUARED_UPDATE_ACCOUNT_BLOCKED_IPSTool 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.
Input parameters
IP address(es) to block. For multiple IPs, separate with commas (e.g., '192.0.2.1,192.0.2.2'). Supports individual IPs, CIDR ranges, and pattern matching.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
No publicly available marketplace agent is found using this tool yet. There are 67 agents privately built on Nagent that already use Gosquared.
Build on Nagent
Connect Gosquared to any Nagent agent in minutes — no API key management, no boilerplate. Just configure and deploy.
The five questions agent builders ask before adopting a new integration.
Open the External Integrations panel inside Nagent (app.nagent.ai/externalIntegration), find Gosquared, and click "Connect Now." You'll authenticate with an API key — Nagent handles credential storage and refresh automatically. Once connected, Gosquared is available to any agent in your workspace.
No. Nagent provides no-code integration for every tool. Once Gosquared is connected, you configure its 90 actions directly in the agent builder UI — no API calls, no boilerplate, no schema management.
Helix — Nagent's agentic agent builder — lets you drop Gosquared steps into any workflow visually. Pick an action (e.g., one of those listed above), fill in the inputs (Helix knows the required vs. optional schema for each parameter), and connect it to upstream/downstream steps. Triggers run as the entry point of an agent, so when a Gosquared event fires, the agent kicks off automatically.
Every Gosquared action and trigger ships with a fully-typed schema — input parameters with name, type, required flag, and description, plus the output payload shape. The schemas are documented in the sections above. Helix uses these schemas to validate your configuration at build time and to type-check the data flowing between steps.
Yes. While Gosquared ships with 90 pre-built analytics actions, you can layer custom logic around them inside Helix — pre/post-processing steps, conditional branches, retries, or stitching Gosquared together with other connected tools. For deeper customization, talk to our team about Nagent's Agentic AI Lab — forward-deployed engineers who build Gosquared-based workflows tailored to your business.