Sending form data from the website to the Telegram bot
Integration of Telegram bot for collecting applications from the WIX website
Data transfer from a custom WIX website form directly to Telegram via a dedicated bot has been implemented. This allows for prompt receipt of notifications about new applications or inquiries without the need to check email.
Functionality:
- The user fills out a form on the website (contact form, feedback form, order form, etc.).
- After clicking the "Send" button, the data is instantly sent to the Telegram bot of the administrator or manager.
Technical implementation:
- A custom form with event handling via JavaScript (Velo by Wix) is used.
- Data from all form fields is collected and transmitted through wix-fetch to the Telegram API.
- The Telegram Bot API is used to send messages to a specified chat (chat ID + bot token).
Additional features:
- Sending files or images attached in the form.
- Transmitting selected dates or other field types (e.g., selectors, checkboxes).
- Flexible configuration of message logic and format.
- Ability to integrate with multiple chats or bots.
Turnkey implementation considering security, data validation, and adaptation to business needs.
Data transfer from a custom WIX website form directly to Telegram via a dedicated bot has been implemented. This allows for prompt receipt of notifications about new applications or inquiries without the need to check email.
Functionality:
- The user fills out a form on the website (contact form, feedback form, order form, etc.).
- After clicking the "Send" button, the data is instantly sent to the Telegram bot of the administrator or manager.
Technical implementation:
- A custom form with event handling via JavaScript (Velo by Wix) is used.
- Data from all form fields is collected and transmitted through wix-fetch to the Telegram API.
- The Telegram Bot API is used to send messages to a specified chat (chat ID + bot token).
Additional features:
- Sending files or images attached in the form.
- Transmitting selected dates or other field types (e.g., selectors, checkboxes).
- Flexible configuration of message logic and format.
- Ability to integrate with multiple chats or bots.
Turnkey implementation considering security, data validation, and adaptation to business needs.