Process Flow 101: What is That and Why Did We Made It?

In 2018, we make it easier for the 3Dolphins chatbot developer to integrate any third-party resources with our bot engine by building an SDK. Any developers can build an SDK with the language they prefer. Moving forward, managing many SDK’s built by developers is hard. So, we try to eliminate this problem and simplify the development of chatbot SDK into one single user interface.

Process flow eliminates the hardship of managing SDK while the SDK has scattered in any locations, in which sometimes we forgot where the SDK is located. Therefore, we tried to implement all functionality in SDK into one comprehensive user interface which is simpler and manageable.

What SDK is doing?

For those of you who have been building an SDK must know what SDK is doing. It takes an extension request which includes the intention of the dialog, does some transformation (it could be hitting external API) and output the result.

cid:image001.png@01D5E574.BCE46770

Process flow does the same thing that SDK does. The workflow is a linear process and executes a sequence of nodes.

It is a collection of a node that will do different actions based on the predefined rule to achieve business process output.

What are the key components of Process Flow?

Our process flow has some key components that can be implemented throughout the execution of the workflow. Here are the components that made up one process flow.

Node

Every process that will be executed will have to go through a node. A node is an entry to receive and send data. You can build several nodes, and easily connect multiple nodes to create one process flow.

Webhook Node

Webhook Node is the first node that will be hit when the process executed. You can think of a Webhook Node as an ExtensionRequest and ExtensionResult that is combined into one single node. In this node, what will you try to put is the response expression which will be sent back to the bot engine.

HttpRequest Node

We know that when we build chatbot SDK, somehow, we need to integrate into third-party API. Therefore, HttpRequest Node is the place where you can integrate the process into the third-party resources using REST API. You just have to simply put the request URL and request body into this node.

Mvel Function Node

Sometimes you need to manipulate the data that is coming from Http response and turn it into another output. Therefore, we still give flexibility for chatbot developers to manipulate the data using Mvel script. Mvel is an expression language that has been inspired by Java Syntax. You can use this node to manipulate the data.

By introducing our new module process flow, we hope to help any 3dolphins bot developer to simplify the development of chatbot integration.

If you are looking for deeper information regarding our process flow you can read in our documentation about process flow.

Share :
Facebook
Twitter
LinkedIn
Related Post