LiveAgent

The LiveAgent modules allow you to list, retrieve, create, add, remove, and delete the customers, conversations, and groups from your LiveAgent account.

Getting Started with LiveAgent  

Prerequisites

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting LiveAgent to Integromat

To connect your LiveAgent account to Integromat you need to obtain the API Key and Domain URL from your LiveAgent account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your LiveAgent account.

2. Click Settings.

2. Click System>API>Settings for API V1.  

3. Copy the API Key and Your API URL to your clipboard.

4. Log in to your Integromat account, add a module from the LiveAgent app into an Integromat scenario.

5. Click Add next to the Connection field.


6. In the Connection name field, enter a name for the connection.

7. In the API Key and Domain URL field, enter the details copied in step 3 and click Continue.

The connection has been established.


Customers

Watch Customers

Triggers when a new customer has been created.

ConnectionEstablish a connection to your LiveAgent account
LimitSet the maximum number of results Integromat should return during one execution cycle. The default value is 10.

List Customers

Responds with a list of available customers.

ConnectionEstablish a connection to your LiveAgent account
EmailSelect or map the email address to list the customer that matches the specified email address.
PhoneEnter (map) the phone number to list the customers that match the specified number.
FacebookEnter (map) the Facebook User ID to list the customers that match the specified ID. 
TwitterEnter (map) the Twitter ID to list the customers that match the specified ID.
First NameEnter (map) the first name of the customers to list the customers that match the specified name. 
Last NameEnter (map) the last name of the customers to list the customers that match the specified name.
Company IDEnter (map) the Company ID to list the customers that match the specified ID. 
Date Created FromEnter (map) a date to list the customers that are created on or after the specified time. See the list of supported date and time formats.
Date Created ToEnter (map) a date to list the customers that are created on or before the specified time. See the list of supported date and time formats.
LimitSet the maximum number of results Integromat should return during one execution cycle. The default value is 10.

Get a Customer

Retrieves info about customers.

ConnectionEstablish a connection to your LiveAgent account
Contact IDSelect or map the Contact ID whose details you want to retrieve.

Create a Customer

Creates a new customer.

ConnectionEstablish a connection to your LiveAgent account
EmailEnter (map) the email address of the customer.
PhoneEnter (map) the phone number of the customer.
NameEnter (map) the customer's name in the first name last name format.
GenderSelect or map the gender of the customer:
  • Male
  • Female
RoleSelect the role of the customer:
  • Visitor
  • Registered Visitor
PasswordEnter (map) the password for the customer.
Note: Set password for registered visitor only. If empty, a standard email notification is sent to the visitor with a request to set his password. 
Unique FieldsEnter (map) the additional unique field values:
CodeEnter (map) the code for the customer. For example, email.
ValueEnter (map) the value for the customer. For example, the email address of the customer.
Custom FieldsEnter (map) the custom field values:
CodeEnter (map) the code for the customer. For example, address.
ValueEnter (map) the value for the customer. For example, customer's address.
Customer NoteEnter (map) additional information about the customer.
Send Registration EmailSelect whether you want to send the registration email to the customer.

Add a Customer to a Group

Adds a customer to the specific group.

ConnectionEstablish a connection to your LiveAgent account
Customer IDSelect or map the Customer ID  you want to add to the group.
Group NameSelect or map the group name to which you want to add the customer.

Remove a Customer from a Group

Removes a customer from a specific group.

ConnectionEstablish a connection to your LiveAgent account
Customer IDSelect or map the Customer ID you want to remove from the group.
Group NameSelect or map the group name from which you want to remove the customer.

Conversations

List Conversations

Responds with conversations. 

ConnectionEstablish a connection to your LiveAgent account
Department IDSelect or map the Department ID whose conversations you want to list.
Owner IDEnter (map) the Owner ID to list the conversations that match the specified ID. This could be the Email ID of the customer.
AgentEnter (map) the agent identifier to list the conversations that match the specified identifier. This could be the USer ID or Email ID.
StatusEnter (map) the status to list the conversations that match the specified status. It can contain one specific status or multiple statuses separated by a comma. 
Date FromEnter (map) a date to list the conversations that were created on or after the specified date. See the list of supported date and time formats.
Date ToEnter (map) a date to list the conversations that were created on or before the specified date. See the list of supported date and time formats.
Date ChangedEnter (map) a date to list the conversation that was changed on the specified date. See the list of supported date and time formats.
SubjectEnter (map) the subject of the conversation you want to list.
Channel TypeEnter (map) the channel type to list the conversations. It can contain one specific channel type or multiple channel types separated by a comma.
LimitSet the maximum number of results Integromat should return during one execution cycle. The default value is 10.

Get a Conversation

Responds with a certain conversation. 

ConnectionEstablish a connection to your LiveAgent account
Conversation IDSelect or map the Conversation ID whose details you want to retrieve.

Create a Conversation

Creates a new conversation. 

ConnectionEstablish a connection to your LiveAgent account
MessageEnter (map) the message text of the conversation.
Department IDSelect or map the Department ID to which the conversation is associated.
User IdentifierEnter (map) the user identifier to create a new conversation. This can be the User ID or Email of an existing agent or the Email of an existing visitor.
Message SubjectEnter (map) the subject of the message.
RecipientSelect or map the recipient's email address. If the User Identifier is a visitor, the recipient must be a LiveAgent mail account. If the User Identifier is an agent, the recipient must be a visitor.
Recipient NameEnter (map) the recipient name in Firstname Lastname format.
CCEnter (map) the recipient's email addresses you want to add in the CC field of the email.
Status Select the status of the conversation:
  • Answered
  • Calling
  • Chatting
  • Deleted
  • Spam
  • Init
  • Open
  • Resolved
  • New 
  • Postponed
Mail Message IDEnter (map) the Mail Message ID of the conversation. If specified, all reply emails which will have given mail message-id in the in-reply-to header will be assigned to this conversation.  
Do Not Send MailSelect whether to send an email to the customer.
Use TemplateSelect whether to use the department mail template and add a message into the mail template text. 
Is HTML MessageSelect whether to format this message in HTML format.
Custom FieldsEnter (map) the custom field values:
CodeEnter (map) the code for the customer
ValueEnter (map) the value for the customer
Note: These values should be predefined from the admin panel. 
Attachments
Add the attachment File IDs. For example, 3a1d0a821ea3a63594ba826efad0a379.

Delete a Conversation

Deletes a conversation.

ConnectionEstablish a connection to your LiveAgent account
Conversation IDSelect or map the Conversation ID you want to delete.
NoteEnter (map) the additional information for deleting the conversation. 
User IDSelect or map the User ID whose conversations you want to delete.

Groups

List Groups

Gets all groups.

ConnectionEstablish a connection to your LiveAgent account
LimitSet the maximum number of results Integromat should return during one execution cycle. The default value is 10.

Get a Group

Responds with a group.

ConnectionEstablish a connection to your LiveAgent account.
Group IDSelect or map the Group ID whose details you want to retrieve.

Create a Group

Creates a new customer group.

ConnectionEstablish a connection to your LiveAgent account
NameEnter (map) a name for the customer's group.
ColorEnter (map) the color for the group name.
Background ColorEnter (map) the background color for the group.

Update a Group

Updates a certain group.

ConnectionEstablish a connection to your LiveAgent account
Group ID
Select or map the Group ID whose details you want to update.
NameEnter (map) a new name for the customer's group.
ColorEnter (map) the color for the group name. 
Background ColorEnter (map) the background color for the group. 

Delete a Group

Deletes a customer group.

ConnectionEstablish a connection to your LiveAgent account
Group ID
Select or map the Group ID you want to delete.

Other

Make an API Call

Performs an arbitrary authorized API Call. 

ConnectionEstablish a connection to your LiveAgent account.
URLEnter a path relative to https://<domain>.labdesk.com/api/ For example: /customers.
For the list of available endpoints, refer to the LiveAgent API Documentation.
MethodSelect the HTTP method you want to use:
GET
to retrieve information for an entry.
POST
to create a new entry.
PUT
to update/replace an existing entry.
PATCH
to make a partial entry update.
DELETE
to delete an entry.
HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Customers

The following API call returns all the customers from your LiveAgent account:

URL:
/customers

Method:
GET

Matches of the search can be found in the module's Output under Bundle > Body > response > customers
In our example, 5 customers were returned:

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.