Connecting MANGO Dialogues
Integration transmits calls from the MANGO Dialogues channels to ChatRex and sends the bot’s responses to the same chat.
All MANGO Dialogue channels available to a selected MANGO OFFICE employee are connected via a single integration card. For answers ChatRex recommend to create a separate employee: so the message bot will be easier to distinguish from the responses of operators.
Before connecting n
Prepare:
- ChatRex account with an active subscription and free channel space
- Virtual MANGO OFFICE PBX with MANGO Dialogues connected;
- Administrator access to MANGO OFFICE integration settings;
- BTC code (
vpbx_api_key) and Signature key (vpbx_api_salt).
The signature key gives access to integration. Do not send it in correspondence, do not add a bot to the instructions and do not store it in a public file.
Connecting to ChatRex
- Open Integrations.
- Press Connect integration and select MANGO Dialogues.
- Enter BTC Code and Signature Key.
- Press Get employees.
- In the ChatRex Response Officer field, select the employee on whose behalf the bot will respond to customers.
- Press Connect.
- In the connected card, copy the value of the Address for webhooks field.
Configure the Connector API in MANGO OFFICE
The callback address must be specified manually – ChatRex cannot register it with MANGO OFFICE automatically.
- In MANGO OFFICE, open Settings> Integrations → API Connector.
- Connect the API Connector if it is not already connected.
- In the External system address field, insert the webhook address copied from ChatRex ****.
- Save the settings.
Use the address completely and unchanged. It is unique for connected integration.
Designation of a botoo channel
- In ChatRex, open My Bots and press Change opposite the desired bot.
- Go to Channels and Launch.
- Add the connected channel MANGO Dialogues.
- If necessary, set the conditions and launch time.
- Save the changes.
Verification
- Write a test text message to one of the MANGO Dialogue channels.
- Make sure the dialog appears in ChatsChatRex.
- Check that the bot's response came to the original chat on behalf of the selected employee.
If the bot does not respond, check:
- the correctness of the BAC code and the signature key;
- Whether an employee has been selected to respond;
- Does the Address of the external system match the address from ChatRex?
- Is the Connector API active in MANGO OFFICE?
- whether the channel has been added to the subscription and assigned to the bot;
- Whether the message and time are suitable for the bot launch conditions.
Manual handling
If necessary, stop automatic processing in ChatsChatRex and transfer the dialogue to the employee. A separate MANGO OFFICE employee for ChatRex helps operators see what responses the bot sent.
The BBX code and signature key are stored on the ChatRex server in encrypted form. Repeated incoming events should not create repeated responses, and a message with an unknown sending result is not automatically sent a second time.