Skip to main content

Landbot

The Landbot modules allow you to monitor events, send texts, image, location, retrieve channels, tickets, customers and also create tickets, or custom fields in your Landbot account.

Getting Started with Landbot

Prerequisites

  • A Landbot account

In order to use Landbot with Make, it is necessary to have a Landbot account. If you do not have one, you can create a Landbot account at landbot.io.

Note

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

To connect your Landbot account to Make you need to obtain the token from your Landbot account.

1. Log in to your Landbot account.

2. Click on your profile icon in the bottom-left corner and select the Account option from the menu.

61f27158d5384.gif

3. Copy the provided API token.

61f2715bc8cef.png

4. Go to Make and open the Landbot module's Create a connection dialog.

5. Enter the API token you have copied in step 3 to the respective field and click the Continue button to establish the connection.

Watch Events

Triggers when an event occurs.

Note

The webhook functionality is available only for Professional or Business plans.

Get a Channel

Returns details of the specified channel.

Connection

Establish a connection to your Landbot account.

Channel ID

Map or select the ID of the channel you want to get details about.

Create a Ticket

Creates a ticket.

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to create a ticket for.

Description

Enter the description of the ticket.

Status

Select the ticket status.

Tags

Enter tags you want to add to the ticket.

Send a Text

Sends a chat message to the customer.

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to send the message to.

Text

Enter the text content of the message.

Send an Image

Sends an image to the chat with the customer.

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to send the image to.

URL

Enter the URL of the image.

Caption

Enter the image title.

Send a Location

Sends a link with the specified location to the customer.

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to send the location to.

Latitude

Enter the location Latitude.

Longitude

Enter the location Longitude.

Update a Custom Field

Updates a specified field.

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to update the field for.

Field

Select the field you want to update.

Type

Select the type of the field.

Value

Enter the desired value to the field.

Get a Customer

Retrieves customer details.

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to retrieve details about.

Assign a Customer to the Bot

Assigns a customer to the specified bot.

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to assign to the bot.

Bot ID

Enter (map) the ID of the bot that will be assigned to the customer.

Assign a Customer to the Agent

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to assign to the bot.

Bot ID

Enter (map) the ID of the bot that will be assigned to the customer.

Add Custom Field

Adds a field to the customer's profile.

Connection

Establish a connection to your Landbot account.

Customer ID

Enter (map) the ID of the customer you want to add the custom field to.

Field name

Enter the name for the new field.

Type

Select the type of the field.

Value

Enter the custom field value.

Make an API Call

Allows you to perform a custom API call.

Connection

Establish a connection to your Landbot account.

URL

Enter a path relative to https://api.landbot.io/v1/. E.g. tickets

Note

For the list of available endpoints, refer to the Landbot API Documentation.

Method

Select 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.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of Use - List Tickets

The following API call returns a list of all tickets in your Landbot account:

61f2715d4b4eb.png

Matches of the search can be found in the module's Output under Bundle > Body > tickets. In our example, 18 tickets were returned:

61f2715e8eb55.png

Update a Ticket

Updates an existing ticket.

Connection

Establish a connection to your Landbot account.

Ticket ID

Enter (map) the ID of the ticket you want to update.

Description

Select the field you want to update.

Status

Set the status of the ticket after the update.

Tags

Add tags to the ticket. You can enter more comma-separated tags.

Get a Ticket

Retrieves ticket details.

Connection

Establish a connection to your Landbot account.

Ticket ID

Enter (map) the ID of the ticket you want to retrieve details about.

List Tickets

Returns all tickets.

Connection

Establish a connection to your Landbot account.

Limit

Enter the maximum number of tickets Make will return during one execution cycle.

List Customers

Returns all customers.

Connection

Establish a connection to your Landbot account.

Limit

Enter the maximum number of customers Make will return during one execution cycle.