A goal represents that event in a bot conversation that you consider to be significant (for example, when a customer indicates through the bot that they are dissatisfied with a service). It is set for that node of a bot that is considered to be a benchmark in a bot conversation.
A goal can be used as a criterion to generate alerts or create analytics. The status of a goal (completed or not completed) can be used as a criterion for the Conditional Logic node.
Suppose that you want to know whenever a customer provides their email address to a bot. When building a bot, if you set the node that prompts a customer to provide their email address as a goal, whenever a customer responds to the node, the goal is considered completed.