Flow
A flow can be seen as a customer journey which refers to the process or path that it takes when interacting with the chatbot. It is essential to guide them to meet a predefined target.
By identifying each touchpoint and understanding the customer's motivations and needs at each stage, companies can optimize their marketing strategies, improve customer satisfaction, and build brand loyalty.
After receiving a message, customers may have to take an action like clicking a button or sending a message back as an answer. Consequently, you can redirect them to specific flows to take a preset journey. By doing this, you can push users to follow some easy flow provoking an extra purchase for example. To get started you can check which flow is preset in your pathway by getting flows from a specific bot.
Get Flows
GET
https://api.jelou.ai/v1/bots/:botId/flows
Get the flows from a bot
Query Parameters
shouldPaginate
boolean
Paginate search results, defaults true
state
boolean
Obtain the flows according to the status. Pass as true to get all active flows
Response detail
The answer will give us specific information about flows and the status
id
Integer
id
of the flow. This id
must be set in the HSM configuration
tittle
String
Flow name
status
Boolean
Flow status. Only flows with status true
should be configured in the HSM API
isDefault
Boolean
Flow is selected as default for the bot
createdAt
Date
Flow creation date
updatedAt
Date
Flow update date
Last updated