botnest
Documentation
Guide

AI generator

Describe the task and safely review the result.

Flow generation and AI inside a bot are different

The generator helps create or change the flow from a description. The Ask AI block calls a model while the bot is running.

Describe a task for the generator

  1. Specify the event: “When a private message arrives…”.
  2. Describe the checks: “If it is /start… otherwise…”.
  3. Specify actions and data: “Save the request in a table, then confirm receipt”.
  4. Include sample input and the expected reply.
  5. State boundaries: “Do not delete messages or change member permissions”.

Never give the generator tokens or keys. Connect credentials through their dedicated settings.

Before publishing

  • Review every branch, recipient and data-changing action.
  • Fill required fields and select the right connections.
  • Test with a separate bot or test chat.
  • Remember: Save publishes changes immediately.

Generator availability and limits depend on the account. You can build blocks manually without the generator.