Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Crisp

Scalekit connector
Open markdown

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

Tools
50
What they doRead · write · destructive
34 · 14 · 234 read14 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 Crisp connection

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

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • crisp_count_visitorsCount the visitors currently on the website.Read-only

    Count Visitors

    Count the visitors currently on the website. Returns count, active (actively browsing) and limited (true when sockets are limited by high traffic). Use crisp_list_visitors to see who they are.

    Inputs

    website_idstringrequired
    Identifier of the Crisp website (workspace) to act on. Find it in the Crisp app under Settings > Workspace Settings > Setup Instructions, or call crisp_get_website on a known id. Example: 8c042840-1ecb-4cd5-a6a1-b3ac4a3ad8d6.
  • crisp_generate_analyticsGenerate an analytics report for a metric and type over a date range, such as conversation totals or response time.Read-only

    Generate Analytics

    Generate an analytics report for a metric and type over a date range, such as conversation totals or response time. Returns the computed series in the data object for the requested split. This only reads data. Requires a Crisp plan with analytics access.

    Inputs

    dateobjectrequired
    Date range. Object with from and to as ISO 8601 date-times, split (all, hourly, daily, weekly, monthly or yearly) and timezone as an IANA name. Example: {"from": "2026-01-01T00:00:00.000Z", "to": "2026-02-01T00:00:00.000Z", "split": "daily", "timezone": "Europe/Paris"}.
    metricstringrequired
    Metric to analyze. Example: conversation for conversation counts, message for message volume, people_created for new contacts.one of conversationconversation_assignedconversation_shortcutconversation_segmentconversation_statehelpdesk_readhelpdesk_searchvisitor_visitvisitor_triggercampaign_activitycampaign_sentpeople_createdstatus_downtimemessage
    typestringrequired
    Kind of analysis for the metric. Valid values depend on the metric; total works for most, while response_time and resolution_time fit conversation metrics.one of totaluniqueresponse_timeresolution_timehandle_timemessagesvisitor_messagesoperator_messagesratingoperator
    website_idstringrequired
    Identifier of the Crisp website (workspace) to act on. Find it in the Crisp app under Settings > Workspace Settings > Setup Instructions, or call crisp_get_website on a known id. Example: 8c042840-1ecb-4cd5-a6a1-b3ac4a3ad8d6.
    aggregatorstring
    How values are aggregated over the period.one of averagemoving_averagemedianminimummaximumsum
    filterobject
    Filter options, which depend on the metric. Example: {"inbox_id": "f4e5d6c7-b8a9-4012-8345-6789abcdef01"}.
    raw_exportboolean
    When true, return the data in raw format.
    split_bystring
    Key to split results by.
  • crisp_get_availability_statusCheck whether the website chatbox currently shows as online, away or offline to visitors.Read-only

    Get Website Availability Status

    Check whether the website chatbox currently shows as online, away or offline to visitors. Returns status (online, away or offline) and since, the timestamp of the last status change. Use crisp_list_operator_availabilities to see availability per operator instead.

    Inputs

    website_idstringrequired
    Identifier of the Crisp website (workspace) to act on. Find it in the Crisp app under Settings > Workspace Settings > Setup Instructions, or call crisp_get_website on a known id. Example: 8c042840-1ecb-4cd5-a6a1-b3ac4a3ad8d6.
  • crisp_get_conversationRetrieve one conversation by session id.Read-only

    Get Conversation

    Retrieve one conversation by session id. Returns session_id, state, inbox_id, people_id, availability, last_message, unread counts, participants, mentions and created and updated timestamps. Use crisp_list_messages to read the messages themselves. Use crisp_get_conversation_meta for visitor details.

    Inputs

    session_idstringrequired
    Session identifier of the conversation, as returned in session_id by crisp_list_conversations or crisp_create_conversation. Example: session_6c1d8b2a-3f4e-4a5b-9c7d-1e2f3a4b5c6d.
    website_idstringrequired
    Identifier of the Crisp website (workspace) to act on. Find it in the Crisp app under Settings > Workspace Settings > Setup Instructions, or call crisp_get_website on a known id. Example: 8c042840-1ecb-4cd5-a6a1-b3ac4a3ad8d6.
  • crisp_get_conversation_metaRetrieve the visitor details attached to a conversation.Read-only

    Get Conversation Meta

    Retrieve the visitor details attached to a conversation. Returns nickname, email, phone, address, subject, origin, ip, data, segments and device information. Use crisp_get_people_profile for the saved CRM profile instead.

    Inputs

    session_idstringrequired
    Session identifier of the conversation, as returned in session_id by crisp_list_conversations or crisp_create_conversation. Example: session_6c1d8b2a-3f4e-4a5b-9c7d-1e2f3a4b5c6d.
    website_idstringrequired
    Identifier of the Crisp website (workspace) to act on. Find it in the Crisp app under Settings > Workspace Settings > Setup Instructions, or call crisp_get_website on a known id. Example: 8c042840-1ecb-4cd5-a6a1-b3ac4a3ad8d6.
  • crisp_get_conversation_participantsRetrieve the external participants of a conversation, such as email addresses in CC.Read-only

    Get Conversation Participants

    Retrieve the external participants of a conversation, such as email addresses in CC. Returns a participants array of objects with type and target. Use crisp_get_conversation for general conversation details.

    Inputs

    session_idstringrequired
    Session identifier of the conversation, as returned in session_id by crisp_list_conversations or crisp_create_conversation. Example: session_6c1d8b2a-3f4e-4a5b-9c7d-1e2f3a4b5c6d.
    website_idstringrequired
    Identifier of the Crisp website (workspace) to act on. Find it in the Crisp app under Settings > Workspace Settings > Setup Instructions, or call crisp_get_website on a known id. Example: 8c042840-1ecb-4cd5-a6a1-b3ac4a3ad8d6.
  • crisp_get_conversation_routingRetrieve the operator a conversation is currently assigned to.Read-only

    Get Conversation Routing

    Retrieve the operator a conversation is currently assigned to. Returns assigned.user_id inside the data object, or an empty assignment when unassigned. Use crisp_assign_conversation_routing to assign or unassign.

    Inputs

    session_idstringrequired
    Session identifier of the conversation, as returned in session_id by crisp_list_conversations or crisp_create_conversation. Example: session_6c1d8b2a-3f4e-4a5b-9c7d-1e2f3a4b5c6d.
    website_idstringrequired
    Identifier of the Crisp website (workspace) to act on. Find it in the Crisp app under Settings > Workspace Settings > Setup Instructions, or call crisp_get_website on a known id. Example: 8c042840-1ecb-4cd5-a6a1-b3ac4a3ad8d6.
  • crisp_get_conversation_stateRetrieve the state of a conversation: pending, unresolved or resolved.Read-only

    Get Conversation State

    Retrieve the state of a conversation: pending, unresolved or resolved. Returns state inside the data object. Use crisp_update_conversation_state to change it.

    Inputs

    session_idstringrequired
    Session identifier of the conversation, as returned in session_id by crisp_list_conversations or crisp_create_conversation. Example: session_6c1d8b2a-3f4e-4a5b-9c7d-1e2f3a4b5c6d.
    website_idstringrequired
    Identifier of the Crisp website (workspace) to act on. Find it in the Crisp app under Settings > Workspace Settings > Setup Instructions, or call crisp_get_website on a known id. Example: 8c042840-1ecb-4cd5-a6a1-b3ac4a3ad8d6.