Automation FAQs
Welcome message is supported only for web and app SDK and it is not supported for any of the Channels.
Nodes
Can I display a dynamic carousel without any actions in it?
What types of workflows enable you to connect goals that run in the background while maintaining control within the dynamic chat node?
How to display videos along with the AI-agent messages?
Why is the send OTP node not working?
Is it possible to skip triggering NLU for specific steps of a flow?
I have configured Hindi language but it is triggering fallback/different journey? What might be the reason?
I have an API response through which I’m getting a product image as a .png (few kb in size) Can I pass that into a Carousel/Image node to dynamically change the image?
return new Promise(resolve => {
const imageVariable =
[{
"options": {
"caption": { "type": 'random' },
},
"url": "insertURL"
}]
resolve(imageVariable);
});
You can also do this in the carousal by creating your own custom/dynamic object (depending on the use case for which you select the node)
The options in a dynamic Whatsapp list always leads to the fallback flow. How can we tweak this?
You can use the Condition node to redirect each option to the respective flow.
- Insert the condition node in your flow.
- Populate the node with button values.
- Connect each button to the flow that has to be executed if that button is clicked.
Can we increase the pagination size limit in Database Node?
I am able to create the same variable in Journey and Global but when I create the first global variable, I am unable to create the journey variable with same name
How to retrieve multiple data from the database node?
Create function and extract the data from the variable that stored the DB response.
Write
let records = data.variables.db_response.records
console.log(records, "records")
Log the result and check the data. After this you can use the data based on your use case.
Why am I getting a fallback message even when WhatsApps list message is configured?
What is a transformation function in integration node?
What is the difference between Dynamic chat node and Prompt Executor node?
Why does selecting a QR button go to the default fallback instead of the next step?
Documents
What does a good document format look like?
Why am I not getting the right result in the first suggestion?
Why am I getting the other documents in suggestions which don't have the answer?
Why am I getting multiple occurrences of the same document in the results?
Can the model read tabular data or image presents in the documents?
Why am I not able to access a document link, from a conversation I had yesterday? Can I change this dynamic URL to some fixed redirection URL?
How do I ensure that the AI-agent shows only relevant documents?
Can the Doc cog work if the documents are stored in a different system?
Docs QNAs are not being generated, do I need it for working of doc cog? or can I edit the response of doc cog results?
Is permission-based Doc cog results possible so that only certain groups of people can search in a certain list of Docs / External KBs?
If a single document has different answers/responses wrt a user profile like CEO, HR, SDE etc, Can we filter and show just the answers related to the User Profile?
<query>: SDE”, eg. Annual leave entitlement?, SDE"
Why my documents are taking so long for indexing, is it stuck?
Is there any limit on documents uploading?
Can I index my articles present on ServiceNow / Confluence / Salesforce etc.?
Why my AI-agent is showing Journey Suggestions (Did you mean) instead of Doc cog results in fallback?
Can I change the layout of the doc cog results cards?
How do I suggest documents from a category?
You cannot. If you have configured the document search node, you will receive answers from it, otherwise, it suggests alternatives. If neither option is available, it resorts to the fallback.
Functions & APIs
How to get the exact status code as our API Event Data explorer while getting API responses in a journey?
Create a function after the API call and apply the below code snippet.
ymLib.args.apiResponse.statusCode
Can I fetch data directly from array or object variables within a function?
Yes, ensure that you declare the array or object variable before attempting to capture or fetch data from it within the function. Here's a sample of valid data fetching:
let req = data.variables.getReq; // Assigning value from array variable
let jobs = data.variables.getJobs; // Assigning value from object variable
let jobsData = jobs.d; // Fetching key from object
let reqData = req.d.results; // Fetching key from array
How do we access values from an object data type in a Function?
It's essential to declare the variable according to its datatype before performing calculations. For instance, if it's an object variable, declare the object variable first and then capture the required data. Here's a simple example:
You can access the values as follows:
return new Promise(resolve => {
// Your logic goes here
let userInput = data.variables.dateList;
console.log(userInput);
console.log(userInput.value.date);
let selectedDate = userInput.value.date;
resolve(selectedDate);
});
Note: If you want to capture the date, store the response in a variable of type number. Click here for more details.
How can I extract specific date values from a function that returns a date?
To extract specific date values, you can use the following syntax:
- Day: data.variables.{FunctionName}.value.day
- Month: data.variables.{FunctionName}.value.month
- Year: data.variables.{FunctionName}.value.year
- Date: data.variables.{FunctionName}.value.date
Journey(flow)
Can I retrieve journey data outside the AI-agent?
Journey Variables: These variables are limited to the flow in which they are created and can only be accessed within that specific flow.
Global Variables: Unlike journey variables, global variables are accessible across all flows within your AI-agent, allowing for broader usage and integration of journey data.
User Properties: User properties are user variables that can be accessed in Automation, Engage, and User 360.
You can use the appropriate variable type based on your specific use case.
How to open a website in a AI-agent conversation?
How do I link one flow to another flow for a AI-agent?
How to export/clone a journey to another AI-agent?
Will regex entity trigger a flow?
Yes, create a regex entity and set it as the start trigger for a flow.
What does it mean when the AI-agent is in a critical status? Does it affect the AI-agent's operations or performance?
KB
How can we tailor the responses retrieved from the knowledge base? For instance, by restricting the response size, presenting answers in sequential steps when appropriate, and interpreting tables and flowcharts.
You can customize KB responses by following the steps mentioned here. To present the steps in sequential manner, set the AI-agent's tone to Instruction based. KB interprets data only from websites and not from tables and flowcharts directly. However, you can provide the website URL containing the tables, flowcharts, and supporting data.
How to use knowledge base for pdf?
While using Doc cog (document search) the AI-agent response generates irrelevent links, how to resolve it?
Why do search results differ between the app platform and the cloud?
Does our platform support multilingual websites?
Why does the AI-agent display incomplete information from the website?
Why can't I configure SharePoint even though my credentials are correct?
How do I handle uploaded documents where the company is referred to as a third party (for example, "them" and "they provide")?
Why doesn't the URL "xyz/abc.com" work when the domain is listed as "ABC Network - ABC.com"?
How to avoid irrelevant documents being fetched for the entered query?
Note: The model has inherent accuracy limitations, so the results may not be 100% accurate all the time.
How to enable summarized results and summarized answers for the Knowledge Base (KB)?
1.Go to Automation > Build > Conversation settings.
2.Under Document Search, enable Summarized results and Summarized links.