Integration of 1C UNF with E-chat
Integration with E-chat
1. Project Goal
Organize automatic transfer of client conversations from Viber and Telegram messengers through the E-chat service into the 1C:UNF+Auto Service system
2. General Integration Scheme
The client sends a message in Viber/Telegram.
The message is recorded in E-chat.
E-chat generates an event (JSON) and sends it to the company's web server (webhook).
The web server receives the data and forwards it to 1C via the HTTP service "Receiving conversation history from E-chat".
A record is created in the information register "Conversation history in messengers" in 1C.
E-chat API documentation https://help.e-chat.tech/ru/viber/ru-api
3. API Methods to be Used
Viber:
POST/channel/connect - create channel
POST/channel/disconnect - disconnect channel
POST/link to your webhook for incoming message - receive messages
POST/link to your webhook for outgoing message status - receive statuses of outgoing messages
Telegram:
POST/CreateChannel.php - create channel
POST/DisableChannel.php - disconnect channel
POST/:webhook [IncomingMessage] - receive outgoing and incoming messages
POST/:webhook [OutgoingMessageStatus] - receive message statuses
4. E-chat Group in the 1C Interface
Create an E-chat group in the CRM section
In the E-chat group, create Settings. In the settings, I suggest placing API keys for Viber and Telegram and creating buttons with the functionality of the first two API methods for connecting/disconnecting channels. Display the E-chat group to all users (Basic rights UNF). Show settings only to users with full rights and allow changes to E-chat settings only for users with full rights.
In this group, display a new Information Register "Conversation history in messengers". Display only for users with full rights.
5. Information Register "Conversation history in messengers"
Question to the programmer: how architecturally is it better for us to store the conversation history in messengers in 1C - in one register or two separate ones? In the future, the conversation history will be used to control communications with clients and displayed in the Order-Work on two separate tabs.
Create a new Information Register "Conversation history in messengers".
Reading and modification rights are granted only to users with full rights.
5. Logging Configuration
Create a setting in E-chat settings:
"Enable logging of exchange with E-chat" (Yes/No).
When the flag is enabled:
In the register "Conversation history in messengers", the original JSON is recorded in a separate field.
When the flag is disabled:
The field is not filled, logging is disabled
6. Display Conversation History in Order-Work
In the Order-Work document on the Communication tab, add two tabs for Viber and Telegram, and on each tab display the conversation history of the respective messenger. Select conversation messages from 30 minutes before the creation date and until the finish date. Select the counterparty by phone numbers. If the finish date is empty, then use the current date. Access to the tab is granted to the Basic rights UNF role.
6. HTTP Service "Receiving Conversation History from E-chat"
Create an HTTP service in 1C, accessible via HTTPS.
Receive data using the POST method in JSON format.
Validate the authorization token.
Process incoming data:
Record the message in the register "Conversation history in messengers". Depending on the logging setting, it is filled with logs
-
Hello, Andriy
You are only interested in the history of many Telegram / Viber numbers from e-Chat.
I missed your message - I will talk to the department about the possibility of obtaining a "simplified" version of our Bots and Messengers. Overall, our solution suits you - we have already discussed this with you.
Until we connect.
-
2062 78 1 Hello. I work a lot with API. I can fulfill your requests. Examples of completed work are in the profile. Feel free to reach out.
-
6127 71 2 5 Ready to implement your project.
I have experience integrating 1C with Viber and Telegram.
I provide a guarantee for the completed work.
Calculation of the exact cost after discussing all the details.
-
4602 28 0 Good afternoon, we are ready to assist in the implementation of this project, for details please contact in private messages.
Current freelance projects in the category Enterprise Resource Planning (ERP)
AI advertising automation - FACEBOOK ADS
150 USD
Hello everyone! We are looking for specialists who have effectively automated the management / launch and analytics of Facebook advertising through AI Claude / GPT / GEMINI. We need to quickly set up automation / launch / exports / analytics. Please share your… AI & Machine Learning, Enterprise Resource Planning (ERP) ∙ 3 hours 52 minutes back ∙ 2 proposals |
WABA setup with integration into SendPulsePreviously, the WhatsApp business account was connected through a Polish FOP, and the system was functioning correctly. Currently, the Polish FOP is unavailable, so reconnection and setup of WABA through a Ukrainian FOP is required. The current account is deactivated, and… Enterprise Resource Planning (ERP), Client Management & CRM ∙ 1 day 11 hours back ∙ 8 proposals |
Integration of 1C with KeyCRM and automation of NovaPay registersIt is necessary to implement a comprehensive solution for automating data exchange between the KeyCRM system and the 1C:Accounting program for Ukraine (version 1.2.6.5). 1. Automatic loading of orders from KeyCRM (API) The trigger for loading: The processing must connect to the… Enterprise Resource Planning (ERP) ∙ 1 day 20 hours back ∙ 14 proposals |
Implement the processing of mass billing distribution to clients in messengers (Viber and Telegram) BASTechnical task In the CONTRACT, on the subscription tab (this is a revised tab through an extension), add a phone number that will need to be filled in the future for sending invoices to the client: Implement the ability to send invoices to clients in bulk, generated for a… Enterprise Resource Planning (ERP) ∙ 3 days 13 hours back ∙ 11 proposals |
Processing Bank client for PrivatBank and Baf Small BusinessGood afternoon Need processing of the Bank client for PrivatBank and Baf Small Business, import the file export xlxs into the Small Business configuration Enterprise Resource Planning (ERP) ∙ 5 days 15 hours back ∙ 11 proposals |
