Feel like I’m almost there, but missing something. Couldn’t find it in the forum or elsewhere…
Need the data from AI Agent, to be found in ‘logs’ and send to Telegram
So I managed to get the output data from an workflow which is called by the AI Agent. The result is good, but… It is to be found in the ‘logs’ tab of the AI Agent’s output.
I can’t get this data (called ‘response’) mapped into the next node, telegram. The output from the AI Agent is as follows:
The tool output can only return to the Agent who will take the tool’s output and generate a response using it. It may not return the tool output exactly word for word however but you can tweak the system prompt to try to do so.
If you need the exact output of the tool to send to the user, using an agent may not be the best choice. Here’s a workaround:
Thanks for putting time and effort in your reply, appreciate it.
I’ve seen builds from others where they directly had a ‘Get Weather workflow’ with OpenWeatherMap called from the AI agent, but I couldn;t figure out how they managed to receive the answer in full to post it further. I will try this first solution as a practice to see where I can land it.
Your workaround with the text classifier seems to cover it perfectly and is a ‘thinking path’ I didn’t think of earlier, so thanks for opening up this mindspace. Seems like I can put it to use for other use cases as well, so I’m glad I got this pointer with your answer.
Thanks for your help!
And… Some great templates to be found for inspiration, made by you. Keep it going! Nice to learn like this.