Delete a variable

When you delete a variable, the variable is immediately deleted from your chatbot, and can't be used in content creation:

  • Content creators can't add the variable to the chatbot content.
  • If the variable has been used in your chatbot content, the placeholder chip is replaced with a deleted chip. Click the chip to delete it from the content.
    Deleted chips are not visible to your chatbot users and are not shown in Testbot.

Are you sure?

Variables that haven't been published are deleted immediately and can't be recovered. Variables that have been published can be reverted from the versions screen until you publish the deletion. Once you've published the deletion, the variable is permanently deleted and can't be recovered.

If you create a new variable with the same name as a deleted one, it is treated as a new variable. It will not replace the placeholder chips of the deleted one.

The deleted variable will remain in your published chatbot until you publish the change. If the variable is still used by some passages or logic conditions when you publish the change, those passages and logic are displayed as validation errors. If you publish the change without deleting the variable from those passages and logic, the chatbot uses an an empty value for the variable.

Variables may also be used by your chatbot scripts. If you delete a variable that a script uses, the script will not report a validation error when publishing the change. Check your chatbot scripts carefully before deleting variables.

Delete a variable

  1. Click Create in the left navigation, then click Variables.
  2. Click the menu next to the variable you want to delete.
  3. Click Delete.
Was this article helpful?
0 out of 0 found this helpful