Trigger End Conversation Event

Hi,
Is there any way to trigger end conversation event using a script?

Thank you!

Hello @amelia.elizabeth.are ,

This can be achieved using Botkit. Please find the details here : https://developer.kore.ai/docs/bots/sdks/functions-for-the-botkit-sdk/#sdkcloseConversationSession

Within a dialog script node, this can be achieved through KoreUtil Libraries. You can find the details here : https://developer.kore.ai/docs/bots/advanced-topics/koreutil-libraries/#koreUtilclose

Hope this helps!