I have a telegram message trigger, and I have two different workflows on same canvas, one workflow is responsible for sending email messages and another is for storing memories etc, how can I switch to these workflows based on the telegram message for example :
If i say email chris asking about his 3d printer then it must go to workflow A and if i say please remember that i met chris today, then it must go to workflow B
how can I achive this ? I tried if and switch but for email there can be different variations like send an email to chris, or send mail to chris, or send email to chris, please help
I guess this is why there are AI agents to figure out what you want to do. Hard-coding all of this (if there are more than a few choices) is not really an option, nor maintainable. Based on your request and context and tools available to the agent, it will figure out what to do. There are many examples of this in the sample templates.
ok I got your point, I connected my email agent as a tool but now its giving me this error : Expected to find the prompt in an input field called ‘chatInput’ (this is what the chat trigger node outputs). To use something else, change the ‘Prompt’ parameter
Hi, Please refer to the templates for working examples and how you may incorporate them into your solution. This is a community support to help with specific issues, not a complete solution design. You might want to consult some of the experts if you want a solution built for you.