How to Configure a Bot?
Configuring a bot allows you to change parameters of a specific bot, such as connected communication channels, webhooks, languages, and other parameters.
When You'll Need This
- You need to connect a new communication channel to the bot (Telegram, Viber, WhatsApp, etc.).
- You need to configure webhooks for integration with external systems.
- You need to add support for new languages for the bot.
- You need to change other bot parameters.
What's Important to Know
- Communication channels — different messengers and platforms through which the bot can communicate with clients.
- Webhooks — URL addresses for receiving events from communication channels.
- Languages — languages supported by the bot for multilingual communication.
Before You Start
You are logged in with administrator rights. You have permission to edit bots ( canSave).You have a bot that needs to be configured.
Step-by-Step Instructions
1. Open Bot Settings
- Go to the bots list (
/settings-page/bots). - Find the required bot in the table.
- Click the "Settings" button (gear icon) or go to
/settings-page/bot-settings/:id.
2. Configure Communication Channels
- In the "Channels" section, find the list of available channels.
- For each channel:
- Enable/disable the channel via toggle.
- Configure channel parameters (tokens, API keys, etc.).
- Copy the webhook URL for connecting the channel.
3. Configure Webhooks
- In the "Webhooks" or "Hooks" section, find webhook URLs for each channel.
- Copy the webhook URL and configure it in the corresponding messenger or platform.
- Verify channel connection.
4. Configure Languages
- In the "Languages" section, find the list of available languages.
- Enable/disable languages supported by the bot.
- Set the default language.
5. Configure Other Parameters
- Review other available bot configuration parameters.
- Configure them according to your needs.
6. Save Settings
- Verify all changes made.
- Click the "Save" or "Save Changes" button.
- Wait for a message about successful saving.
What Happens Next
Settings are applied to the bot:
- Connected communication channels become available for the bot.
- Webhooks are configured and ready to receive events.
- Languages are applied to bot scenarios.
How to Verify Everything Worked
- Check that communication channels are connected and working.
- Check that webhooks receive events from channels.
- Check that languages are applied to bot scenarios.