Action: Send Message in Agent Chat
narek
See this thread for more details: https://www.reddit.com/r/Taskade/comments/1f1nnrw/comment/lnfzhaf/?context=3
Ryan: Note that this action is shown wanting to be used in conjunction with Agent Trigger
Log In
goran83
This would add so many possibilities for the Agent Triggers and automation! We need it ASAP
Narek Zograbian
Merged in a post:
AI chat tool return custom automation result to chat
gijs.epping
When you start a automation from the chat it would be awesome if the response from the tool comes back to the chat again. This way you can iterate over automation call if needed or give the result to a other agent.
And you can also connect 3d party api's to your information source. For example fetch your teams soccer schedule and let AI reformat the data with your knowledgebase info to a user specific message or email.
I can think of 100000 use-cases this would benefit Taskade and the way it is being used right now.
the result is already there as far as i can see, you only have to return it :) just like with the forms.
Narek Zograbian
Merged in a post:
"Agent Response" action to return data from a completed automation
okadrian
After triggering an automation with an agent, the agent should be able to return data from the automation. For example, it could return a HTTP response so we know the outcome of the request.
Maybe you could add an action that only applies to chats with the agent, and we could include data values to include with the agent's response. This would make automations more powerful in conjunction with agents.
Narek Zograbian
We're releasing a feature for our Ask Agent action that allows for structured output. Is that something in line with what you're looking for?
okadrian
Narek Zograbian Not quite. What I'm asking for is a way to get a response from the agent based on the automation.
For instance, if I'm chatting with the agent and I ask it to send a HTTP request, the agent should be able to execute the task and then respond with information from the automation. It could reply with the status code, results, or any other data that we specify.
Currently, the agent can execute automations but it can't provide any information about the results of the automation.
Narek Zograbian
okadrian It sounds like these feature requests if I understood you properly:
okadrian
Narek Zograbian These are related, but not the same. The HTTP request is just an example. What I'm asking for is similar to ChatGPT actions. We ask the agent to do something, and it returns results from doing it. In automations, each subsequent step can access the data from previous steps. It only makes sense the agent should be able to access that data in our chat. Right now, it can't. This request would make it so that you could ask for information retrieved or generated from an automation, and the agent would be able to return that data to you.
Narek Zograbian
okadrian I see. It seems like you might be referring to Custom Agent Tools (Agent Triggers).
Here's a guide on it: https://help.taskade.com/en/articles/9495506-agent-tool-automation-trigger
This is basically Taskade's version of Actions.
okadrian
Narek Zograbian Yes, this is related to this feature. We can trigger an automation from the agent, but we can't receive any of the data from the automation in the chat.
With ChatGPT, the data retrieved from the action is available in the chat. With Taskade, the data is not available.
My feature request is a complement to Agent Triggers, which is why I titled it "Agent Response“. At the end of an automation we should be able to include data from the automation to return to the chat.
The reason this is valuable is because we could use Agent Triggers to introduce new data to the chat, which would open more possibilities with the agent chat and roundtable feature.
I hope this clarifies what I mean.
Narek Zograbian
okadrian Understood. Thank you for clarifying!
It reminds me of this feature request: https://forum.taskade.com/automations/p/action-send-message-in-agent-chat
okadrian
Narek Zograbian Yes, this is exactly what I was looking for.
This Reddit user described it perfectly:
"I successfuly set up an automation as an agent tool to make an http request and have AI to extract an information from the response (I'm able to see this in the "Runs" tab). However, the agent that triggered the automation doesn't seem to get back any output from it, other than "Completed!". One would think I should add another step to the automation to do so, but it doesn't look like there is a step suitable to give back any info to the agent that called the automation.“
Narek Zograbian
okadrian I've merged the two posts together to keep the conversation in one place!
gijs.epping
yes! Thanks Narek had the same issue. For now i have a Inbox project with a textfield added in the table view where i add the results.
leandroknorre
awesome, thank you Narek!!