Logic Hooks

Logic hooks are tools used to add advanced logic to your conversation flow. They can manipulate, validate, or perform actions based on the conversation. Here you will find information on all logic hooks and how to use them.

  • Pause

    This logic hook is for adding a delay before moving on to the next action or step. For example, entering "5000" would pause the execution for 5 seconds. It can be used as either a Bot or User Step. On the left navigation pan...

  • Set Scripting Variable

    This logic hook will either create a new variable with the specified name and value or overwrite the existing variable with the new value. It can be used as either a Bot or User Step. On the left navigation pane, head to Bo...

  • Assign Scripting Variable

    This guide explains how to set up a logic hook in Botium to assign or update a scripting variable using a JSONPath expression extracted from the message content. This logic hook sets or overwrites a variable from message cont...

  • Clear Scripting Variable

    This guide explains how to set up a logic hook in Botium to delete a scripting variable. On the left navigation pane, head to Botium Tools & Settings > Test Sets > Your Test Set > Test Cases Click the + NEW butt...

  • Partial Convo

    This guide explains how to set up a logic hook in Botium to incorporate partial convos into your test cases. Note: You must have partial convos previously created to add them as a logic hook. If no partial convos are avai...

  • Partial Convo

    This guide explains how to set up a logic hook in Botium to incorporate partial convos into your test cases. Note: You must have partial convos previously created to add them as a logic hook. If no partial convos are avai...

  • Wait for Bot

    This guide explains how to set up a logic hook in Botium to wait for a bot response for a specified duration. This logic hook makes Botium wait for a bot response for a specified number of milliseconds (or indefinitely if...

  • Skip Unconsumed Bot Replies

    This guide explains how to set up a logic hook in Botium to clear unconsumed bot replies from the processing queue. This logic hook will clear all currently unconsumed bot reply messages from the processing queue. It can ...

  • VoIP - Ignore Silence Duration Asserter Logichook

    This guide explains how to set up a logic hook in Botium to ignore silence duration in VoIP communications during testing. This logic hook can be used only as a Bot Step. On the left navigation pane, head to Botium Tools & Settings ...

  • VoIP - JOIN by Silence Duration

    This guide explains how to set up a logic hook in Botium to join VoIP segments based on silence duration. This logic hook can be used only as a Bot Step. On the left navigation pane, head to Botium Tools & Settings > Test Sets ...

  • Conditional Logic Hooks

    These basic conditional logic hooks are integrated into Botium. They will only be executed if specified conditions are met. Parent topic: Logic Hooks Conditional Time Based This logic hook can be used only as a Bot Step. Read m...

  • HTTP API Logic Hooks

    These logic hooks are used for managing HTTP requests and handling their responses. They are used for interacting with APIs, injecting responses into systems, and controlling data flow based on API interactions. Parent topi...