Skip to content

Connect 6sense to ChatGPT: Score Intent and Enrich Profiles

Learn how to connect 6sense to ChatGPT using a managed MCP server. Execute ABM campaigns, score intent, and enrich profiles using natural language.

Roopendra Talekar Roopendra Talekar · · 10 min read
Connect 6sense to ChatGPT: Score Intent and Enrich Profiles

If you want to connect 6sense to ChatGPT so your AI agents can orchestrate ABM campaigns, score inbound leads in real-time, and enrich contact profiles, you need a Model Context Protocol (MCP) server. This server acts as the translation layer between ChatGPT's tool calls and 6sense's REST APIs. You can either build and maintain this infrastructure yourself, or use a managed integration platform like Truto to dynamically generate a secure, authenticated MCP server URL.

If your team uses Claude, check out our guide on connecting 6sense to Claude or explore our broader architectural overview on connecting 6sense to AI Agents.

Giving a Large Language Model (LLM) read and write access to a powerful intent and firmographic engine like 6sense presents distinct engineering hurdles. You have to navigate credit limits, complex nested intent data models, and strict dictionary-based filtering schemas. Every time 6sense updates an endpoint or adds a new product model, your custom server code must be updated, redeployed, and tested.

This guide breaks down exactly how to use Truto to generate a secure, managed MCP server for 6sense, connect it natively to ChatGPT, and execute complex revenue operations workflows using natural language.

The Engineering Reality of the 6sense API

A custom MCP server is a self-hosted integration layer. While the open MCP standard provides a predictable way for models to discover tools, implementing it against 6sense's highly specific API is exceptionally painful.

If you decide to build a custom MCP server for 6sense, you own the entire API lifecycle. Here are the specific integration challenges that break standard CRUD assumptions when working with 6sense:

Credit Consumption vs. Package Tiers

The 6sense API behaves differently depending on your organization's specific packaging and licensing. Operations like 6_sense_lead_scores_score require the Predictive or Advanced package but do not consume standard credits. Conversely, firmographic enrichment and people enrichment actively burn through your 6sense Credits. Giving an AI agent unfettered access to an API that costs money per call is dangerous. Your MCP server must implement strict tool filtering and access controls so an agent doesn't hallucinate a loop that drains your monthly enrichment credits in an hour.

Multi-Step Match Waterfalls and Dictionary Dependencies

6sense enforces highly specific logic for finding records. When enriching firmographics, the API expects an email address or a domain - matching email first, then falling back to domain. If you are executing a People Search, you cannot just pass arbitrary string filters. 6sense requires specific combinations of NAICS industry codes, domains, and job titles, and many fields must match exact values from the 6sense Dictionary API. If an LLM hallucinates an industry string like "Tech" instead of a valid NAICS code, the request fails. Your MCP server must chain these dictionary lookups so the LLM knows what inputs are valid before it initiates a search.

Complex Nested Payloads for Intent and Fit Models

When 6sense scores a lead, it does not return a single integer. It returns a deeply nested payload containing account intent scores, contact intent scores, buying stage markers, profile fits, and contact grades across multiple product models. Standardizing this into a flat JSON-RPC 2.0 response that an LLM can easily parse and reason about requires heavy schema transformation. If you just pass the raw 6sense payload back to the LLM, the context window fills with redundant metadata, increasing latency and the risk of hallucinations.

Transparent Rate Limit Handling

When an AI agent rapidly iterates through lead scoring, you will hit 6sense rate limits. It is critical to understand how Truto handles these boundaries: Truto does not retry, throttle, or apply backoff on rate limit errors. When the 6sense API returns an HTTP 429 Too Many Requests, Truto passes that error directly to the caller.

However, Truto normalizes the upstream rate limit information into standardized headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset) per the IETF specification. This means your MCP client or custom agent framework is fully responsible for reading these headers and executing the appropriate retry or backoff logic. Truto does not absorb these errors - it provides the exact transparency your agent needs to pause execution.

Generating the 6sense MCP Server

Truto derives MCP tools dynamically from the 6sense integration's resource definitions and documentation records. Tools are only exposed if they have an active documentation record, ensuring high-quality descriptions and strict JSON schemas for the LLM.

We will scope the server to a specific 6sense tenant (an Integrated Account) using a cryptographically secure token. You can generate this server via the Truto UI or programmatically via the API.

Method 1: Via the Truto UI

For teams managing integrations manually, you can generate the MCP URL directly from your dashboard.

  1. Log into your Truto account and navigate to Integrated Accounts.
  2. Select your connected 6sense account.
  3. Click the MCP Servers tab.
  4. Click Create MCP Server.
  5. Define your configuration. Name the server (e.g., "6sense RevOps MCP"), and optionally restrict the tools using tags (e.g., ["enrichment", "scoring"]).
  6. Click Create and immediately copy the generated MCP server URL.

Method 2: Via the Truto API

For platform engineers embedding this capability, you can generate the server programmatically. You need the integrated_account_id for your 6sense connection.

Make a POST request to the /integrated-account/:id/mcp endpoint:

curl -X POST https://api.truto.one/integrated-account/YOUR_6SENSE_ACCOUNT_ID/mcp \
  -H "Authorization: Bearer YOUR_TRUTO_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "6sense Revenue Intelligence Agent",
    "config": {
      "methods": ["read", "write", "custom"],
      "tags": ["enrichment", "intent", "people"]
    }
  }'

If the configuration matches at least one documented 6sense tool, Truto validates the payload and returns the server details:

{
  "id": "ab12-cd34-ef56",
  "name": "6sense Revenue Intelligence Agent",
  "config": {
    "methods": ["read", "write", "custom"],
    "tags": ["enrichment", "intent", "people"]
  },
  "expires_at": null,
  "url": "https://api.truto.one/mcp/a1b2c3d4e5f6g7h8..."
}

The url field contains a hashed token. This single endpoint handles JSON-RPC 2.0 routing and authentication. Treat this URL as a sensitive credential.

Connecting the MCP Server to ChatGPT

With your MCP server URL ready, you can now connect it to ChatGPT. This gives the model live execution access to 6sense.

Method A: Via the ChatGPT UI

If you are using ChatGPT Pro, Plus, Business, Enterprise, or Education, you can add custom connectors directly in the interface.

  1. Open ChatGPT and navigate to Settings -> Apps -> Advanced settings.
  2. Ensure Developer mode is enabled.
  3. Under the MCP servers or Custom Connectors section, click Add new server.
  4. Provide a recognizable name, such as "6sense by Truto".
  5. Paste the Truto MCP URL (https://api.truto.one/mcp/...) into the Server URL field.
  6. Click Save.

ChatGPT will perform an MCP handshake (initialize), requesting the available tools from Truto. Once complete, your agent is ready to execute 6sense operations.

Method B: Via Custom Config / SSE Transport

If you are running a local ChatGPT-compatible agent framework or need to proxy the connection through Server-Sent Events (SSE), you can configure it via a standard MCP JSON configuration file.

Create an mcp-config.json file:

{
  "mcpServers": {
    "6sense_truto": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sse",
        "--url",
        "https://api.truto.one/mcp/YOUR_TRUTO_MCP_TOKEN"
      ]
    }
  }
}

When your agent boots up, it will use the server-sse wrapper to convert local standard I/O into HTTP POST requests routed to your Truto MCP endpoint.

6sense Hero Tools for AI Agents

Truto automatically formats 6sense's resources into descriptive, snake_case tools with strict query and body schemas. Here are the highest-leverage tools available for your LLM.

6_sense_company_firmographics_enrich

Retrieves deep firmographic data for a company using an individual's email address or the company's domain. It returns the company ID, industry, size, revenue, location, SIC/NAICS codes, and 6sense segments. Email matching is prioritized over domain matching. Note: This operation consumes 6sense Credits.

"Find the firmographic data for the company associated with jsmith@acmecorp.com. I need their industry, estimated revenue, and their NAICS code."

6_sense_lead_scores_score

Scores an individual lead without consuming enrichment credits. This requires your 6sense account to have the Predictive or Advanced package. It returns account and contact intent scores, the current buying stage, profile fit, and contact grade for every configured 6sense product model.

"Score this lead based in the US with the email mark.davies@example.com. Tell me their current buying stage and their contact intent score across our product models."

6_sense_lead_scoring_firmographics_enrich

A powerful combined operation. It scores the lead (intent, buying stage, profile fit, and grade) while simultaneously fetching the company's full firmographics and 6sense segment affiliations. This allows the LLM to get a complete picture of a prospect in a single tool call. This operation consumes 6sense Credits.

"Run a full lead score and firmographic enrichment on sarah.connor@cyberdyne.com. Summarize her buying stage, intent score, and the company's annual revenue."

6_sense_people_enrich

Enriches up to 25 people at once using their 6sense People ID, email address, or LinkedIn URL. It returns job titles, functions, seniority levels, contact details, do-not-call flags, and employer data. The LLM must pass an array in the request body. This operation consumes 6sense Credits.

"I have a list of three LinkedIn URLs. Enrich these profiles using 6sense and return their current job titles, functions, and confirm if they have any do-not-call flags active."

list_all_6_sense_people_search_dictionary

Lists the valid values available for People Search filters for a specific company domain. This includes valid office cities, states, countries, job titles, and industries. Because 6sense search requires exact matches, an LLM must call this dictionary first to prevent hallucinating invalid search parameters.

"I want to search for people at salesforce.com. First, check the 6sense people search dictionary for salesforce.com to see what job titles and office cities are valid filters."

To view the complete inventory of 6sense tools, including custom pagination handling and exact schema shapes, visit the 6sense integration page.

Workflows in Action

Connecting 6sense to ChatGPT enables complex, multi-step revenue operations. Here is exactly how an agent leverages these tools in production.

Persona: SDR Inbound Lead Triage

When a new inbound lead hits the system, Sales Development Reps need immediate context on whether the lead warrants immediate outreach or should be pushed to a nurture track.

"A new lead just registered for our webinar: david.miller@techstart.io located in the US. Get their full lead score and firmographics. If their buying stage is 'Decision' and their company revenue is over $50M, draft a personalized hyper-targeted outreach email. If not, just give me a brief summary of their profile fit."

Step-by-step execution:

  1. 6_sense_lead_scoring_firmographics_enrich: The LLM maps the email david.miller@techstart.io and country US into the tool's strict schema.
  2. Evaluate Schema: The agent receives the deeply nested payload, extracting the buying_stage, contact_intent, and firmographic revenue_range.
  3. Conditional Logic: The LLM evaluates the conditions. If the logic hits the threshold, it uses its inherent natural language generation to draft the email using the enriched firmographic context.

Persona: RevOps ABM Campaign Targeting

Revenue Operations teams constantly build account-based marketing lists. An AI agent can navigate the strict 6sense dictionary requirements to build precise target lists.

"We want to run an ABM campaign targeting executives at oracle.com. First, check the 6sense dictionary for oracle.com to see the exact job titles available for VPs or Directors in Engineering. Then, search for people matching those titles. Finally, enrich the top 5 results and give me their contact details."

sequenceDiagram
    participant User as User Prompt
    participant ChatGPT as ChatGPT (Agent)
    participant Truto as Truto MCP Server
    participant Upstream as 6sense API

    User->>ChatGPT: "Target Engineering VPs at oracle.com..."
    ChatGPT->>Truto: Call list_all_6_sense_people_search_dictionary<br>(domainName: oracle.com)
    Truto->>Upstream: GET /dictionary/oracle.com
    Upstream-->>Truto: Valid titles, cities, industries
    Truto-->>ChatGPT: JSON-RPC Result
    
    Note over ChatGPT: Agent parses valid titles<br>(e.g. "Vice President of Engineering")
    
    ChatGPT->>Truto: Call 6_sense_people_search<br>(domain: oracle.com, jobTitle: ["Vice President..."])
    Truto->>Upstream: POST /search/people
    Upstream-->>Truto: Returns Array of People IDs
    Truto-->>ChatGPT: JSON-RPC Result (IDs)
    
    Note over ChatGPT: Agent slices top 5 IDs
    
    ChatGPT->>Truto: Call 6_sense_people_enrich<br>(body: [{peopleId: ...}])
    Truto->>Upstream: POST /enrich/people
    Upstream-->>Truto: Full profile & contact data
    Truto-->>ChatGPT: JSON-RPC Result
    ChatGPT-->>User: Outputs enriched target list

Step-by-step execution:

  1. list_all_6_sense_people_search_dictionary: The agent fetches the exact dictionary values for oracle.com to prevent parameter hallucination.
  2. 6_sense_people_search: Armed with the correct job title strings, the agent executes the search, receiving a list of 6sense People IDs.
  3. 6_sense_people_enrich: The agent takes the top 5 People IDs and passes them in an array to the enrichment tool, converting the IDs into actionable contact data.

Security and Access Control

Providing an LLM with access to a credit-consuming API like 6sense requires strict governance. Truto MCP servers enforce security at the infrastructure layer, so your agent cannot accidentally overstep its bounds.

  • Method Filtering: You can restrict an MCP server to specific operations. By passing methods: ["read"] during server creation, you ensure the LLM can never trigger a write operation or mutate data.
  • Tag Filtering: Integrations are tagged by functional area. You can restrict the server to tags: ["intent"], ensuring the LLM only has access to scoring tools and cannot access people search or enrichment tools that rapidly consume credits.
  • Require API Token Auth: For high-security environments, passing the MCP URL is not enough. Enabling require_api_token_auth: true forces the MCP client to also pass a valid Truto API token in the Authorization header, adding a mandatory secondary authentication layer.
  • Automatic Expiration: When generating a server for a temporary workflow or contractor, set an expires_at ISO datetime. Truto automatically terminates the MCP server and schedules a Durable Object alarm to purge the tokens from the database and edge KV storage.

Drive higher marketing ROI and stop writing point-to-point integration code. Use Truto to securely connect your AI agents directly to the APIs that power your business.

FAQ

Does Truto handle 6sense rate limits automatically?
No. Truto does not retry or apply backoff logic on rate limit errors. If 6sense returns a 429 Too Many Requests, Truto passes the error back to the caller and normalizes the rate limit data into standard IETF headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset). Your agent framework must handle the retry.
Can I prevent the LLM from draining my 6sense enrichment credits?
Yes. When creating the Truto MCP server, you can use tag filtering or method filtering to explicitly exclude tools like 6_sense_people_enrich that consume credits, while leaving predictive scoring tools enabled.
How does the LLM know which search filters to use for 6sense?
Truto exposes the list_all_6_sense_people_search_dictionary tool, which allows the AI agent to dynamically fetch valid, exact-match values for industries, titles, and locations before attempting a people search.

More from our Blog