Skip to main content

Publish your bot

Publishing a bot involves deploying bot changes to the live environment. Only a Super Admin can publish a bot for the first time. Each bot environment will have a unique bot ID. It's important to understand that database records will not automatically transfer to the live environment upon publication. They must be configured separately in both the development and live environments.

Only certain user roles can approve the bot. To know about user roles in detail, click here.

info

To publish your bot, it's mandatory to configure Fallback.

Publish bot to go live

To publish a bot to live mode follow these steps:

  1. Ensure the bot is in Sandbox/Development mode. Go to Studio > Build > Publish changes.

  1. In the following screen, fill in the following fields.
  • Click Configure more channels to configure further more channels to the bot in the upcoming stage.

  • In Approvers, you will see the list of bot approvers added by the Super admin. This cannot be modified. All the approvers will be notified when you raise a publish request.

  • In Comment, add a message to the approver citing the changes made in the bot.

    drawing
  1. Click Publish. The changes will move to Staging.
  2. Change your bot environment to Staging, make changes (if any) and follow steps 1,2,3. The publish approval request will be sent to the Approver. Bots with only Development and Live modes need not do this. When you publish the changes, bot sends the approval request to approvers.
info

To learn about different bot enviornments (modes), click here.

Approve a bot publish request

  1. Users with Approver access(as provided by Super Admin) will receive an email with the content like the image below. Any one of them can approve, to approve click Review Request.

  2. You will be redirected to the Bot approvals page. Click View request.

    drawing
  3. In the following screen, add a message to the approval requestor and click Publish.

    drawing

Publish specific flows

Publishing certain flows only helps you to release specific flows within your bot, allowing you to observe results while continuing to refine other components. This approach enables you to swiftly address issues or implement copy changes after the initial release without interrupting ongoing work. Additionally, it provides the opportunity to proactively plan your development efforts based on feedback received from the currently published flows, fostering an agile and responsive development process.

To access Publish selected flows, follow these steps:

  1. Go to Studio > Publish changes > Publish selected flows

  2. In the following pop-up, fill the following fields.

  • Flows: Choose the flows to be published.

  • Approvers: Displays the approvers who will aprove the publish.

  • Comment: Add a message to the approvers

    drawing
  1. Click the Publish button. The changes will move to Staging. Change your bot environment to Staging, make changes (if any) and follow steps 1,2,3. The publish approval request will be sent to the Approver. Bots with only Development and Live modes need not do this. When you publish the changes, bot sends the approval request to approvers. Click here to know about approving the publish request.
info
  • When you publish your bot in the Sandbox, all the parts like flows, intents, entities, and bot skins will also move to Staging and later to Production.
  • You cannot pick and choose which parts go to Staging; everything you set up in Sandbox will go there when you publish.
  • If you create something new in Staging that wasn't in Sandbox, you can publish it once. The next time you publish from Sandbox, anything you added exclusively in Staging will be lost and won't be in Production.

To learn about different bot enviornments (modes), click here.


Cancel publish request

If you wish to make changes to the current flow/bot, or if you've raised a publish request by mistake or prematurely before finalizing the end result, you can cancel the publish request by:

  1. Go to Publish changes > select Publish bot or Publish selected flows(depending on the choice you made to raise the publish request).

  2. Click Cancel Request in the following screen.

    drawing

Revert published changes

Revert option is a handy tool for fixing bugs in the live version. It lets you roll back to any previous version of your bot. The Revert feature is available only in the live/production environment. Only Admins can have access to this option.

To revert changes:

  1. Go to a bot, ensure the bot is in Live/Production mode and go to Studio > Build > Revert.

  2. Select the version to which the bot should be reverted.

  3. Click Revert.

    drawing

Decline publish requests

  1. Users with Approver access(as provided by Super Admin) will receive an email with the content like the image below. Any one of them can decline, to decline click Review Request.

  2. You will be redirected to the Bot approvals page. Click View request.

    drawing
  3. In the following screen, add a message to the approval requestor and click Decline.

    drawing