Hey everyone, So i am building a telegram bot which i want for different users to use. but the bot respond in my chat but when i shared it with others it did not respond at all.
can anyone help me how to deal with issue
Hey @sanskar_ughade hope all is well. Welcome to the community.
Would you like to share your workflow?
Thank you, can you confirm, when other users try to use it, are new executions created under the Executions tab?
Yes the execution is created but the bot does not reply
Can you share the execution screenshot for when the execution was triggered by someone other than you?
The issue here is the that Get Rows node (second node) didn’t return any results and because of that the execution stopped.
Please go to the Settings of the Get Many Rows Node and enable Always output data.
Hey thanks the error got resolved but a new error popped up, so what my workflow does is that it adds important stuff from user query into memory (basically supabase) so in supabase i have 2 tables one for chat history and another for customer data , now when a new user interact with bot the aggregate returns the empty cause the user data is not stored in the memory yet
so is there any way i can make this workflow production ready so that it can handle this kind of new users as well
Hey @sanskar_ughade
I am not sure what you are asking.
what error?
I don’t know what the problem is that makes it “not production ready”
there has to be a way, but I don’t know what happens in your workflow, or again what the problem is. Just saying that you have a problem or you get an error is nowhere near enough to explain what is not working.
If you take your time, explain what happens in your workflow step-by-step the part which isn’t working (as a list of items, not a blob of text), we can try to figure it out together.
Okay i will explain it in detail what i want my workflow to do
First when a user text the bot it will analyze if the text has anything important noteworthy in it if yes then it will be stored in ( Conversation memories supabase), then this important data will be stored in the Customer database (in chat hisotry column ) i used aggregate to combine all the memories of that particular customer from the conversation memories and update it to customer Ddatabase.
the bot then will revcieve a aggregated input from the supabase with all customer info and chat history and on this basis the agent will repond to the user query.
so this is the entire plan
now the error part is when a new user (lets say A tries to send a message to the bot) it was throwing an error " Paired item data for item from node ‘Aggregate’ is unavailable. Ensure ‘Aggregate’ is providing the required output. "
it was because the user info was not present in the customer Ddatabase. and the first aggregate was giving out a empty array.
so i tried to get an if block so that even if the A’s memory was not in conversation memories it still goes to agent but new problem was for if block when i set the condition to" is empty " it considerd [empty array] as false
In the if node, which type of data you are checking? String or object?
I got through the if node since the aggregate was providing a empty array i had to set in array :- is empty
Sorry I am having a hard time understanding. Maybe somebody else can help with this.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.



