ask_account
ChatGPTTool Name: ask_account Description: The
ask_account tool answers natural-language questions about a specific CRM account by analyzing Gong activities (calls and messages) within a defined time range. It is designed to provide synthesized insights, not raw data. You provide the CRM account (by name or ID), a free-text question, and optionally a time window. The tool returns an answer derived from the relevant account activities during that period. If no date range is provided, the tool defaults to the last 30 days. To specify a custom date range, provide both fromDateTime and toDateTime in ISO 8601 format with timezone (e.g. 2025-08-01T00:00:00Z). The workspace field is optional — if your account has only one Gong workspace it will be selected automatically. If you have multiple workspaces, provide either a numeric workspace ID or an exact workspace name. When to use: - When you need summaries, insights, or themes about a single CRM account. - To understand account progress, deal blockers, objections, risks, stakeholders, or next steps. - To extract high-level context from calls and messages linked to one CRM account. When NOT to use: - Do NOT use to fetch raw data such as transcripts, message bodies, or activity lists. - Do NOT use for analytics across multiple accounts or workspace-level reporting. - Do NOT use to modify account data or trigger workflows. Key Characteristics: - Read-only: The tool never modifies data. - Time-bounded: Considers only calls and messages within the date range (defaults to last 30 days if not specified). - Summarization-focused: Produces synthesized insights, not verbatim extracts. - Single-shot: Does not support pagination or streaming. Usage Tips: - If your account has two or more workspaces, providing the workspace parameter is mandatory; either provide a numeric workspace ID (e.g. "1234567890") or an exact workspace name (case-insensitive, e.g. "Sales"). If the value can be parsed as a number it is used as a workspace ID; otherwise it is resolved as a workspace name. - crmAccount accepts either the full account name (e.g. 'Cisco Systems Inc') or its direct CRM account ID. Name lookup uses exact matching — provide the full name as it appears in the CRM. - Date range is optional. If not provided, defaults to the last 30 days. To specify a custom range, provide both fromDateTime and toDateTime in ISO 8601 format with timezone (e.g. "2025-08-01T00:00:00Z"). Both must be provided together — providing only one will result in an error. - Ask concise, insight-oriented questions instead of requesting raw data. - The tool works best when targeting a single account and a specific analysis goal. Clarification Flow: When multiple CRM accounts match the given name, the tool returns an error result containing a JSON list of matches sorted by most recent activity. Each match has three fields: - crmId: use this value as crmAccount when re-calling the tool. - name: the account name in CRM. - lastActivity: ISO 8601 timestamp of the most recent Gong activity, or null if unknown. Present the matches to the user — highlight accounts with a recent lastActivity as active — ask them to pick one, and re-call with the chosen crmId. Not Found Flow: When no CRM account matches the given name or ID, the tool returns an error with reason=CRM_ENTITY_NOT_FOUND. Inform the user that the account was not found and ask them to verify the name or ID as it appears in their CRM, then re-call with the corrected value. Example Questions: - "What are the top objections raised by this account in the past 30 days?" - "Who are the key stakeholders and what are their goals?" - "What blockers are delaying the deal close?" - "Summarize the main themes from calls in August." Example requests: ----------------- Example 1 — Using default date range (last 30 days) ---------------------------------------------------- { "crmAccount": "0015g00000ABCDeQAL", "question": "What are the main objections raised by the prospect recently?" } Example 2 — Custom date range ------------------------------- { "workspace": "1234567890", "crmAccount": "0…





