Active with remarks
This application needs additional settings. Please follow the documentation below to create your own connection.

ChatBot

The ChatBot modules allow you to watch, create, update, list, retrieve, and delete the users and stories in your ChatBot account.

Getting Started with ChatBot

Prerequisites

  • A ChatBot account

In order to use ChatBot with Boost.space Integrator, it is necessary to have a ChatBot account. If you do not have one, you can create a ChatBot account at accounts.chatbot.com/signup?.

[Note] Note

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

Connecting ChatBot to Boost.space Integrator

To connect your ChatBot account to Boost.space Integrator you need to obtain the Developer Access Token from your ChatBot account and insert it in the Create a connection dialog in the Boost.space Integrator module.

  1. Log in to your ChatBot account and open your Dashboard.

  2. Click Your Profile Icon > Settings > API Keys.

    61d5aa4e85488.gif
  3. Copy the Developer Access Token to your clipboard.

    61d5aa5137392.png
  4. Go to Boost.space Integrator and open the ChatBot module’s Create a connection dialog.

    61d5aa52852e8.gif
  5. In the Connection name field, enter a name for the connection.

  6. In the Access Token field, enter the token copied in step 3, and click Continue.

The connection has been established.

User

Search User

Searches for users or lists them all.

Connection

Establish a connection to your ChatBot account.

After

Select the User ID to search the user listed after the specified user.

Field

Select the option to sort the users:

  • Created At

  • Last Seen

Order

Select the order in which you want to sort the users:

  • Ascending

  • Descending

Match

Select the option to match the users:

  • All

  • Any

Type

Select the user type:

  • Segment

  • Customer User ID

  • Default Email

  • Default Name

  • Attribute

  • Banned

  • Created At

  • Last Seen At

Limit

Set the maximum number of users Boost.space Integrator should return during one scenario execution cycle.

Get a User

Returns details of a user-specified by ID.

Connection

Establish a connection to your ChatBot account.

User ID

Select the User ID whose details you want to retrieve.

Create a User

Creates a new user.

Connection

Establish a connection to your ChatBot account.

Do you want to provide user ID manually or to be generated automatically?

Select the option to create the user:

  • Manually

  • Automatically

Custom User ID

Enter a unique User ID for the new user.

Email

Enter the user’s email address.

Segments

Enter the segment details for the user.

Username

Enter a username.

Name

Enter the user’s name.

URL

Enter the URL address to the user’s website.

Avatar

Enter the URL address of the user’s profile picture.

Langauge

Enter the language applicable to the user.

Timezone

Select the user’s timezone.

Gender

Select the user’s gender:

  • Male

  • Female

  • Other

IP Address

Enter the user’s IP address.

City

Enter the user’s city name.

Region

Enter the user’s region or province or state name.

Country

Enter the user’s country name.

Referrer

Enter the reference details of the user.

Custom Fields

Add the custom field key and its values.

Update a User

Updates a user-specified by ID.

Connection

Establish a connection to your ChatBot account.

User ID

Select the User ID whose details you want to update.

Username

Enter a username for the user.

Email

Enter the user’s email address.

Name

Enter the user’s name.

URL

Enter the URL address of the user’s website.

Avatar

Enter the URL address of the user’s profile picture.

Language

Enter the language applicable to the user.

Timezone

Select the user’s timezone.

Gender

Select the user’s gender:

  • Male

  • Female

  • Other

IP Address

Enter the user’s IP address.

City

Enter the user’s city name.

Region

Enter the user’s region or province or state name.

Country

Enter the user’s country name.

Referrer

Enter the reference details of the user.

Custom Fields

Add the custom field key and its values.

Ban/Unban a User

Changes ban status of a user-specified by ID.

Connection

Establish a connection to your ChatBot account.

User ID

Select the User ID you want to ban or unban.

Operation Type

Select the action to perform:

  • Ban User

  • Unban User

Story

List Stories

Returns a list of all stories.

Connection

Establish a connection to your ChatBot account.

Limit

Set the maximum number of stories Boost.space Integrator should return during one scenario execution cycle.

Get a Story

Returns details of a story specified by ID.

Connection

Establish a connection to your ChatBot account.

Story ID

Select the Story ID whose details you want to retrieve.

Create a Story

Creates a new story.

Connection

Establish a connection to your ChatBot account.

Name

Enter the name of the story

Description

Enter the details of the story.

Update a Story

Updates a story specified by ID.

Connection

Establish a connection to your ChatBot account.

Story ID

Select the Story ID whose details you want to retrieve.

Name

Enter the name of the story

Description

Enter the details of the story.

Delete a Story

Removes a story specified by ID.

Connection

Establish a connection to your ChatBot account.

Story ID

Select the Story ID whose details you want to delete.

Message

Watch New Messages

Triggers when a user sends a specified message into a chat.

[Note] Note

You do not have to add the webhooks in the ChatBot as it is automatically done for you once you add and save an instant trigger module to your scenario.

Webhook Name

Enter a name for the webhook.

Connection

Establish a connection to your ChatBot account.

Webhook Name

Enter the webhook name that appears in the ChatBot UI.

Other

Make an API Call

Performs an arbitrary authorized API call.

Connection

Establish a connection to your ChatBot account.

URL

Enter a path relative to https://api.chatbot.com/. For example: /users

[Note] Note

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

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry.

POST

to create a new entry.PUTto 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 Stories

The following API call returns all the stories from your ChatBot account:

URL:

/stories

Method:

GET

61d5aa54bcac8.png

Matches of the search can be found in the module’s Output under Bundle > Body.

In our example, 3 stories were returned:

61d5aa55f39d0.png