Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Amplemarket

Scalekit connector
Open markdown

The Amplemarket connector lets your AI agent act in each user's Amplemarket account. Each user connects their own Amplemarket access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 47 tools.

Tools
47
What they doRead · write · destructive
28 · 17 · 228 read17 write2 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Amplemarket connection

    In AgentKit > Connections, create an Amplemarket connection. The name you give it is the connection_name your code passes. See Configure connections.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'amplemarket'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Amplemarket:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'amplemarket_account_info_get',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their Amplemarket credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • amplemarket_account_getRetrieve a single target account (company) by its Amplemarket public ID.Read-only

    Get Account

    Retrieve a single target account (company) by its Amplemarket public ID. Returns the account's name, domain, LinkedIn URL, description, industry, size, founded year, location, owner, tags, CRM data, opportunities, and engagement info. Returns a 404 error if the account ID does not exist.

    Inputs

    idstringrequired
    The public ID of the account (target company) to retrieve.
  • amplemarket_account_info_getGet basic information about the authenticated Amplemarket workspace, identified by the API key used to authenticate.Read-only

    Get Account Info

    Get basic information about the authenticated Amplemarket workspace, identified by the API key used to authenticate. Returns the workspace's account ID and display name. Useful for verifying which workspace an API key belongs to.

    Inputs

    This tool takes no inputs.

  • amplemarket_accounts_listList accounts (target companies) in the Amplemarket CRM, with optional filtering by name (case-insensitive partial match), domain (exact match), owner email (exact match), or tag names, and cursor-based pagination.Read-only

    List Accounts

    List accounts (target companies) in the Amplemarket CRM, with optional filtering by name (case-insensitive partial match), domain (exact match), owner email (exact match), or tag names, and cursor-based pagination. Returns each account's ID, name, website, LinkedIn URL, owner email, and last contacted/engaged timestamps.

    Inputs

    domainstring
    Filter accounts by domain, using an exact match.
    namestring
    Filter accounts by name using a case-insensitive partial match.
    owner_emailstring
    Filter accounts by owner email address, using an exact match.
    page_afterstring
    Pagination cursor to fetch results after this point, taken from the previous response's next link.
    page_sizeinteger
    Number of results to return per page (default 10, max 50).default 10
    tagsarray
    Filter accounts by tag names. Only accounts with at least one matching tag are returned.
  • amplemarket_call_dispositions_listList the call disposition values available in the authenticated Amplemarket workspace.Read-only

    List Call Dispositions

    List the call disposition values available in the authenticated Amplemarket workspace. Each disposition represents an outcome that can be logged against a call (e.g. 'No Answer', 'Left VM', 'Not interested', 'Interested') and includes the disposition's ID, display name, slug, and the resulting action (e.g. 'next_stage' or 'complete'). This is a metadata lookup endpoint with no parameters.

    Inputs

    This tool takes no inputs.

  • amplemarket_call_recording_getRetrieve the audio recording for a logged Amplemarket call by call ID.Read-only

    Get Call Recording

    Retrieve the audio recording for a logged Amplemarket call by call ID. Returns the raw recording file (audio/mpeg). Only recordings with external=false can be retrieved through this endpoint; calls with external recordings will not be returned. This endpoint is rate-limited to 50 requests per hour. Returns a 404 if the call is not found, or a 413 if the recording file is too large.

    Inputs

    idstringrequired
    The unique identifier of the call whose recording should be retrieved.
  • amplemarket_calls_listList logged calls in the Amplemarket workspace, with optional filtering by user, phone numbers, and start date range, plus cursor-based pagination.Read-only

    List Calls

    List logged calls in the Amplemarket workspace, with optional filtering by user, phone numbers, and start date range, plus cursor-based pagination. Returns each call's ID, from/to numbers, duration, start date, answered/human/external flags, transcription, recording URL, and associated user/task/contact.

    Inputs

    fromstring
    Filter calls by the originating phone number.
    page_afterstring
    Pagination cursor to fetch results after this point.
    page_beforestring
    Pagination cursor to fetch results before this point.
    page_sizestring
    Number of results to return per page.
    start_date_fromstring
    Filter calls that started on or after this ISO 8601 date/time.
    start_date_tostring
    Filter calls that started on or before this ISO 8601 date/time.
    tostring
    Filter calls by the destination phone number.
    user_idstring
    Filter calls by the ID of the user who made or received them.
  • amplemarket_companies_enrichment_getRetrieve the status and results of a previously started batch company enrichment request by its batch ID.Read-only

    Get Companies Enrichment Results

    Retrieve the status and results of a previously started batch company enrichment request by its batch ID. While the batch is still processing, 'status' will be 'queued' or 'processing'; once 'completed', each result includes a per-company status ('found', 'not_found', or 'pending') and the enriched company object (name, industry, location, employees, funding, technologies, headcount, etc.) when found. Returns a 404 error if the batch ID does not exist.

    Inputs

    idstringrequired
    The batch ID of the companies enrichment request to retrieve, as returned by amplemarket_companies_enrichment_start.
    page_afterstring
    Pagination cursor to fetch results after this point.
    page_beforestring
    Pagination cursor to fetch results before this point.
    page_sizestring
    Number of results to return per page.