Skip to content
LiveChat logo

Connectors / Customer service · HTTP Connector

Automate LiveChat with Tray.ai

Start a chat, add a user to a chat and update a customer in LiveChat, and start a workflow when LiveChat sends “Incoming chat”.

What can you do with LiveChat on Tray.ai?

LiveChat is customer service software for chatting with website visitors, letting agents answer, transfer and close chats and keep customer records. Tray.ai connects to LiveChat through the HTTP Connector, so your workflows can call the LiveChat API alongside the rest of your stack.

  • When LiveChat sends “Incoming chat”, look up the visitor in your CRM so the agent sees their account.
  • When LiveChat sends “Chat deactivated”, save the transcript to the customer's record in your help desk.
  • Update a customer in LiveChat with their plan and account owner from your CRM.
Connects through
HTTP Connector
Authentication
Basic authentication or OAuth 2.0
Base URL
https://api.livechatinc.com/v3.6/agent/action

Set it up

Connect LiveChat to Tray.ai

Each step uses LiveChat's own API details, from its documentation.

Step 1

Save LiveChat's username and password

Save the credentials LiveChat gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.livechatinc.com/v3.6/agent/action as the base URL. Or paste a cURL example from LiveChat's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List chats”

It's one of 12 documented actions, under Chats. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from LiveChat events

Give LiveChat the URL of a Tray.ai webhook trigger. “Incoming chat” can then start a workflow, and so can 3 other events.

Workflows to build with LiveChat

Each one uses actions and events from LiveChat's own API documentation.

Create Zendesk tickets from closed LiveChat chats

When

Chat deactivated

Then

  1. Get a chat with its transcript
  2. Create a ticket in Zendesk with the transcript

With Zendesk

Add LiveChat visitors to HubSpot as contacts

When

Incoming chat

Then

  1. Get a customer
  2. Create or update the contact in HubSpot

With HubSpot

Alert sales in Slack when a chat is transferred

When

Chat transferred

Then

  1. Get a chat
  2. Post the chat summary to the sales channel in Slack

With Slack

Apps you can build on LiveChat data

Internal tools your team can build with an AI assistant, each one using LiveChat calls from its API documentation.

Live chat supervisor board

Lists active chats and lets a supervisor transfer a chat to another agent or close it.

Customer profile lookup

Shows a chat customer's record and lets an agent update details or ban an abusive customer.

Incoming chat feed

Shows new chats as they arrive with their messages so the team can see current load.

Give your AI agents LiveChat tools

Build an MCP server on LiveChat in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List chats
  • Send a message event
  • Add a user to a chat
  • Get a customer
  • Start a chat
  • Get a chat
  • Deactivate a chat
  • Transfer a chat

What the LiveChat API covers

4 resources and 12 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Chats

  • List chats
  • Start a chat
  • Get a chat
  • Deactivate a chat
  • Transfer a chat

Events

  • Send a message event
  • Upload a file

Chat users

  • Add a user to a chat
  • Remove a user from a chat

Customers

  • Get a customer
  • Update a customer
  • Ban a customer

Events LiveChat can send to a Tray.ai webhook trigger

  • Incoming chat
  • Chat deactivated
  • Chat transferred
  • Incoming event

Checked against LiveChat's own documentation on 2026-10-22

platform.text.com/docs/messaging/agent-chat-api

Frequently asked questions

What can a Tray.ai workflow do in LiveChat?

+

The LiveChat API documents 12 actions across 4 resources (Chats, Events, Chat users, Customers). For example: List chats; Send a message event; Add a user to a chat. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with LiveChat?

+

The LiveChat API uses basic authentication and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which LiveChat events can start a Tray.ai workflow?

+

LiveChat sends 4 events to a webhook URL, for example: Incoming chat; Chat deactivated; Chat transferred; Incoming event. A Tray.ai webhook trigger receives them and starts a workflow.

See LiveChat working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.