LiveChat is a complete customer service platform that delights your customers and fuels your sales.
Go to siteLiveChat API unlocks the capability to integrate your customer service system with powerful automation and data processing. Through Pipedream, you can harness this API to create workflows that trigger actions within LiveChat, synchronize data with other services, and analyze customer interactions to improve support experiences. Pipedream's serverless platform allows you to connect LiveChat with hundreds of other apps with minimal setup, enabling your customer support to be as responsive and informed as possible.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
livechat: {
type: "app",
app: "livechat",
}
},
async run({steps, $}) {
const data = {
"all": `true`,
}
return await axios($, {
method: "post",
url: `https://api.livechatinc.com/v3.5/configuration/action/list_channels `,
headers: {
Authorization: `Bearer ${this.livechat.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
params: {
organization_id: `${this.livechat.$auth.organization_id}`,
},
data,
})
},
})
Sync LiveChat Conversations to Google Sheets: Automatically archive every conversation from LiveChat into a Google Sheets document. This workflow can help with record-keeping, data analysis, and reporting, ensuring that every interaction is logged and can be reviewed or mined for insights at a later time.
Customer Support Ticket Creation: Create a workflow that listens for specific keywords or phrases in a LiveChat conversation and uses this to trigger the creation of a support ticket in a system like Jira or Zendesk. This can help streamline the process of escalating issues and ensuring that customer inquiries don't go unnoticed.
CRM Integration: Sync LiveChat conversations and customer data with a CRM like Salesforce or HubSpot. You can set up a workflow where new chats automatically create or update customer profiles, keeping your customer information current and making sure that your team has access to the most relevant data during their conversations.
LiveChat uses OAuth authentication. When you connect your LiveChat account, Pipedream will open a popup window where you can sign into LiveChat and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any LiveChat API.
Pipedream requests the following authorization scopes when you connect your account:
accounts--my:ro
agents--all:ro
chats--access:ro
chats--all:ro
chats--my:ro
chats--my:rw
integrations_read
surveys_read
tickets_manage
tickets_read
tickets_write
visitors_read
webhooks--all:ro
webhooks.configuration:rw
webhooks.state:ro
webhooks.state:rw
webhooks_manage
webhooks_write
groups--all:ro
GET
https://accounts.livechat.com/
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
&
state={{oauth.state}}
POST
https://accounts.livechat.com/v2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://accounts.livechat.com/v2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}