Response to messages / ChatApp
Copied +55 (21) 960104492
Log In Free trial

Select a language

Response to messages

Reaction:

  • Incoming messages;
  • Outgoing messages;
  • All messages.
Response to messages

 

Key

Word or regular expression. A phrase in a message to which the bot responds with an action or response message.

regular expression

 

The key can be used by anyone, for example, set up a greeting, a company name, incoming calls, etc.

  • Reaction type - bot action.
  • Dialog tags. The bot marks in a single messenger window;
  • Save data to CRM. The bot saves the data to the connected CRM (Bitrix 24, Kommo or CLIENTS);
    Message. Response message;
  • WABA message template. Template WhatsApp Business API message.

Go to the Custom Fields in Bitrix24.

Add a new field or select from existing fields.

Select an existing field by clicking on its name.

 example: PHONE, EMAIL, UF_123123332

Standard field codes can be found here: lead, deal, contact, company

User field codes must be taken from the url when visiting the field editing page. For example: https://portal.bitrix24.ru/crm/configs/fields/CRM_LEAD/edit/UF_CRM_614D2FEF694EE/ - here UF_CRM_614D2FEF694EE - this is the desired id (code) of the field.

Only non-multiple string fields are supported for user-defined fields.

Field saving logic:

When information is received for saving from the bot, a special system message is sent to the OL chat (you cannot without it).

Then we get the linked entities to the chat at the moment (lead, deal, contact, company).

On the found entities, we try to establish the transmitted data.

Important: It is necessary to have a company in the "My Business" module, in the settings of which the bitrix portal must be connected to the company.

ID field in amoCRM
CharDescriptionMeaning
\BackslashUsed to escape a special character
^CaretBeginning of a string
$Dollar signEnd of a string
.Period or dotMatches any single character
|Vertical bar or pipe symbolMatches previous OR next character/group
?Question markMatch zero or one of the previous
*Asterisk or starMatch zero, one or more of the previous
+Plus signMatch one or more of the previous
( )Opening and closing parenthesisGroup characters
[ ]Opening and closing square bracketMatches a range of characters
{ }Opening and closing curly braceMatches a specified number of occurrences of the previous

Examples

Finished\? matches “Finished?
^http matches strings that begin with http
[^0-9] matches any character not 0-9
ing$ matches “exciting” but not “ingenious
gr.y matches “gray“, “grey
Red|Yellow matches “Red” or “Yellow
colou?r matches colour and color
Ah? matches “Al” or “Ah
Ah* matches “Ahhhhh” or “A
Ah+ matches “Ah” or “Ahhh” but not “A
[cbf]ar matches “car“, “bar“, or “far
[a-zA-Z] matches ascii letters a-z (uppercase and lower case)