It is necessary to set up an automated script in n8n that will record all incoming calls from Binotel telephony and identify new subscribers.
The project is related to a website for orthopedic mattresses. Call tracking with Binotel is set up on the site. Incoming calls can be from new clients or existing customers who are clarifying information regarding orders, delivery, products, or other questions.
The main task is not to duplicate all calls in Telegram, but specifically to identify new numbers that are not yet in the Binotel database. Such calls are potential new leads, so the manager should receive an instant notification in the Telegram chat and give priority attention to such inquiries.
If the number is already in the Binotel database, no additional notification in Telegram is needed.
The Binotel API allows obtaining information about incoming calls, querying statistics, and identifying clients by phone number.
It is necessary to implement
Connect the Binotel API to n8n using the provided documentation.
Create an n8n script that:
- receives events about incoming calls;
- identifies the subscriber's number;
- checks if this number is in the Binotel database;
- if the number is absent in the database - generates a Telegram notification;
- if the number already exists - does not send an additional notification;
- sends a message to the Telegram chat through our bot.
Provide variables for:
- Telegram Bot Token;
- Telegram Chat ID;
- access keys to the Binotel API.
Access data will be provided to the performer after selection.
Implement basic logging and error handling:
- date and time of the call;
- phone number;
- status - new or existing number;
- whether a message was sent;
- errors during API or Telegram operation.
Logging can be implemented through Google Sheets or another simple and convenient option that the performer will suggest.
Message template in Telegram
New call!
Number: +380XXXXXXXXX
Time: {date and time of the call}
Status: new client - number absent in the Binotel database
Action for the manager: call the client back and give priority attention to the inquiry.
Requirements for the performer
- Experience working with n8n.
- Experience with API integrations.
- Understanding of working with the Binotel API.
- Experience setting up Telegram bots.
- Ability to set up error handling and logging.
What should not be done
- Do not send all calls to Telegram.
- Do not create a full-fledged CRM.
- Do not change the website.
- Do not change call tracking settings without separate agreement.
- Do not store personal data of clients beyond what is necessary for logging the script's operation.
Acceptance criteria for the work
The work is considered successfully completed if:
- the n8n script receives events about incoming calls from Binotel;
- the system correctly determines whether the number is in the Binotel database;
- for a new number, the message in Telegram arrives instantly after the call is recorded;
- for existing numbers, no message is sent;
- all key events and errors are visible in the logs;
- the workflow can be imported, checked, and maintained in n8n;
- the performer provides a brief instruction on setting up the token, chat ID, API accesses, and logging.
Additional materials
A PDF file with Binotel API documentation will be attached to the task.
Please indicate in your response:
- whether you have previously worked with the Binotel API;
- how you plan to determine that the number is new;
- what option for triggering the event you propose - webhook or periodic API request;
- how you plan to implement logging;
- how much time is needed for implementation;
- cost;
- what accesses will be needed to start working.