logo
Development
Search
SaleSmartly

SaleSmartly

By integrating GPTBots' Agent service into SaleSmartly, you can configure dedicated intelligent bots for different social media channels. When a user starts a conversation in SaleSmartly, the system automatically invokes the Agent you configured in GPTBots, enabling efficient, intelligent customer communication, with support for handing conversations off to human agents.

Note: Human handoff and automatic tagging require a SaleSmartly Max plan or above.

Obtain the Webhook URL in GPTBots

  1. Log in to the GPTBots console, select the target Agent, click Integrations, find the SaleSmartly integration card, and click Manage.

    SaleSmartly integration card

    Note: Unpublished Agents cannot use the integration feature. If you have modified the configuration, save and publish it before integrating.

  2. Copy the Webhook URL; you will paste it into SaleSmartly later.

    Copy the Webhook URL

Create an AI Employee in SaleSmartly

  1. Log in to the SaleSmartly console, go to Team > Member Management, and click Add Member in the upper-right corner.

    Add member

  2. Select AI Member from the drop-down menu.

    Select AI member

  3. In the pop-up window, select Custom Webhook.

    Custom webhook

  4. Fill in the AI employee information, then click Create:

    • Nickname: enter the Agent name.
    • Social media accounts: click Configure and select the channels this Agent will serve.
    • Message receiving URL: paste the Webhook URL you just copied from GPTBots.
    • Access token: copy and save it; you will need to fill it back into GPTBots later.

    Create AI employee

Obtain Configuration Parameters in SaleSmartly

  1. Click your avatar in the lower-left corner and copy the Workspace ID.

    Copy the workspace ID

  2. (Optional) Go to Settings > Developer > OpenAPI, enable OpenAPI, and copy the API Token.

    Note: The API Token is only required for human handoff and requires a SaleSmartly Max plan or above. If you don't need these features, you can skip this step.

    Copy the API Token

Complete the Integration Configuration in GPTBots

  1. Return to the SaleSmartly integration configuration page in GPTBots and fill in the following parameters:

    • Access Token: enter the access token of the SaleSmartly AI employee.
    • Project ID: enter the SaleSmartly Workspace ID.
    • API Token: optional; enter the API Token from SaleSmartly OpenAPI.

    Fill in the integration configuration

  2. Click Submit. Once saved successfully, the integration is complete.

    Integration configuration saved

Configure Human Handoff (Optional)

To support handing conversations off to human agents, go to the Human Service module in the Agent settings, set the human service type to SaleSmartly, and configure the dispatch targets and trigger timing.

Note: Human handoff requires the API Token to be filled in the integration configuration, and a SaleSmartly Max plan or above.

Human handoff configuration

Chat with the Agent in SaleSmartly

Once the integration is complete, when a customer starts a conversation on any channel connected to SaleSmartly and it is assigned to this AI employee, the Agent will automatically take over and reply to the customer's messages.

Chat with the agent