What is Code Step?

Purpose and Subcomponents of Code Step

The purpose of a code step is to take the input collected from the static and use custom code to perform business logic on it. The advantage of moving this to a separate step is that it helps you in separating out the code and non-code features of bot building.

The code step takes the input from the static step in a JSON format with certain parameters. It processes this input JSON according to business logic and returns an output JSON.

Additionally, this gives you more power with respect to what you can do with the output from the integration code as we will in the next section and the connections section.


Can’t find what you’re looking for? Email us at support@haptik.ai.