# LocalChat Autoresponder (add-on)

This is a bot add-on:

1\. Get this addon:

* Buy in web [Bot Store](https://www.mysmartbots.com/store/item/48/module/)
* Then [attach to your bot](/doc/3c944dc6-8689-465d-b088-06739e08cfc7)

2\. Configure in left menu:

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/447746c5-cde2-4777-90e3-39ed809a862b/Docs-addon-menu.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T140000Z&X-Amz-Expires=86400&X-Amz-Signature=c3af3633b9d9432cc5bfafa4139f705d6e2a1c554646309578df8fc519bff838&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =182x67")

LocalChat Autoresponder

3\. Get more help:

* read **docs**
* contact [support](http://docs.mysmartbots.com/en/contacts.html)

## Overview

LocalChat Autoresponder allows your [Personal Bot](/doc/e59a06a3-4c30-4082-b5ba-523fef7ae733) to auto-respond in Local Chat using rules you create

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/fddea781-8e4f-481c-b42e-01318b1e29e1/Front_page_LCAA.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T140000Z&X-Amz-Expires=86400&X-Amz-Signature=a0b0f62eb2500719b2ccc5c0510cd3469a0ea7a9dea36921c5dd7f2ad6b7b96a&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =808x609")

Your bot can perform several tasks while auto-responding:


1. Respond with text to match messages
2. Send group invitation and/or inventory offers
3. Respond to several messages at once

## Creating rules

To create a new rule, visit LocalChat Autoresponder page and click **Add rule**.

Each rule comes with following options:

* **Match** - acts as a trigger message for every rule
* **Case sensitive** - defines if your **Match** message is case-sensitive or not
* **Say to chat** - A message that bot sends out
* **Show variables** - Shows variables: **"%SL_NAME%"** and **"%FIRST_NAME%"**
* **Invite to group** - Sends a group invite
* **Give inventory** - Sends an inventory offer
* **Stop if rule matches** - Read more below

## Examples

### 1. Simple reply-to-all

This ruleset will reply to all local chat messages:

**Rule 1:**  
Match: -- empty --  
Say to chat: *Hello %FIRST_NAME%! Please open our website for more information.*  
Stop if matches: YES

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/67fd60d0-ab30-4fd0-9839-1ddb18dff2ab/Reply_to_all_LCAR.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T140000Z&X-Amz-Expires=86400&X-Amz-Signature=e9d04baf33c71d9cb3e2c54aee21a968306d3010f5051d0380a16cc58cc4911c&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =780x304")

### 2. Multiple variants with a default reply

This ruleset allows setting up various replies to various local chat messages (as much as you need):

**Rule 1**  
Match: *website*  
Say to chat: *Our website is* [*https://www.mysmartbots.com*](https://www.mysmartbots.com)  
Stop if matches: YES

**Rule 2**  
Match: *landmark*  
Say to chat: *Here's the landmark to our location!*  
Give inventory: *SmartBots Landmark*  
Stop if matches: YES

**Rule 3**  
Match: -- empty --  
Say to chat: *To get more help, contact our support managers!*  
Stop if matches: YES

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/b134888f-8ccb-482b-8a13-97c7beb708cc/3_rules.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T140000Z&X-Amz-Expires=86400&X-Amz-Signature=1322d022e80f6320fa43c6b8d95a9a4c6723dbd55d9989748afcc6fdf2abe2e2&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =780x588")

### 3. Matching several rules

This ruleset shows how multiple rules can match one message (saying "hi" or "hello" and then "Welcome")

**Rule 1**  
Match: *hi*  
Say to chat: *Hi there %FIRST_NAME%!*  
Stop if matches: NO

**Rule 2**  
Match: *hello*  
Say to chat: *Hello %FIRST_NAME%!*  
Stop if matches: NO

**Rule 3**  
Match: -- empty --  
Say to chat: *Welcome to our office! You can find more info on boards*  
Stop if matches: YES

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/9323c193-0a44-45ff-a3d0-3e4a3ea84347/Follow-up_LCAR.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T140000Z&X-Amz-Expires=86400&X-Amz-Signature=02a4e670f0d28af442c9fdda842dc10ad6c9325f46ad0ce3e828c3285d0bbb95&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =780x683")

## Useful hints

* **Match words** can be separated by commas, example: *Hello, greetings, hi*
* If you leave **Match** message blank, that will be your default rule
* There is no limit on how many rules you can create
* The rules on top take priority over the one on the bottom, eg if you have a rule that says "if: hi" the bot will say "hello" and another that says "if: hi how are you" the bot will say "i am fine thank you", the one on top will occur i.e the bot will say hello.
* If you are using give inventory feature, make sure the object has **copy + transfer** permissions

## How to purchase

See the [Purchasing Add-Ons](/doc/3c944dc6-8689-465d-b088-06739e08cfc7) page for step-by-step add-on activation instructions.