How create a Flow?
Create Flow
POST https://backend.az.misterturing.com/v4.0/assistant/flow/
Request Body
Name
Type
Description
name*
string
Assistant name
rules*
string
The description of the main goal of the Assistant.
context*
List[string]
Context data that the Flow can share with the Assistant, maybe an email address, phone, language tone etc.
extractions*
List[json]
A list of {"name": "NPS", "values": [ "really liked it, 10", "really bad, 1", "any way of feedback user'"]
{
"name": "Example Flow - Ticket Opening",
"rules": "Obtain the necessary information for ticket opening, being respectful and patient with the user.",
"context": [
"You are an IT triage assistant, you must collect the necessary information to clear the user's doubts when possible or open the ticket in the internal ticket control system."
],
"extractions": [
{
"name": "NPS",
"values": [
"At the end of the ticket, collect the user's opinion from 0 to 10"
]
},
{
"name": "Registration",
"values": [
"1234, 54221 - user company ID"
]
},
{
"name": "Reason for the ticket",
"values": [
"Reason for the ticket discussed during the conversation with the user, extract naturally"
]
}
],
"folders": [
// {
// "external_id": "UUID", -> this folder is managed by Workstation interface or API, follow the documentation around it to get your Folder id.
// "instructions": "Always use this folder to get information related to user problems.\nFirst use the folder, if no knowledge related to it available, make it clear that you are answering the user based on your internal knowledge. And that the user needs to reach out to our [email protected]"
// }
]
}Last updated