Skip to content
AI Agent with subwo...
 
Notifications
Clear all

AI Agent with subworkflow as tool: Workflow did not return a response

6 Posts
5 Users
0 Reactions
4 Views
Anthony_Brebion
(@anthony_brebion)
Posts: 5
Active Member
Topic starter
 

Describe the problem/error/question

I have an AI agent that calls two tools, defined as sub-workflow tools, to complete its task: the keyword_intent_research and the serp_retriever tool.
Both tools are correctly invoked in sequence as defined in the main agent system prompt, but sometimes, the second one (serp_retriever) fails for an unknown reason (Error: "The workflow did not return a response") while the execution of this subworkflow always succeeds (I'm checking its execution logs).

What is the error message (if any)?

The main AI agent returns an error when calling the sub-agent:
"The workflow did not return a response"

Sometimes it works, sometimes it doesn't; this is really strange and difficult to debug...

The subworkflow successfully returns:

Please share your workflow

Main Workflow

Share the output returned by the last node

The main AI agent returns an error when calling the sub-agent:
There was an error: “The workflow did not return a response”

Information on your callin.io setup

  • callin.io version: 1.79.1
  • Database (default: SQLite): Postgres
  • callin.io EXECUTIONS_PROCESS setting (default: own, main):
  • Running callin.io via (Docker, npm, callin.io cloud, desktop app): Docker
  • Operating system: Linux

Please provide the rewritten markdown content *it should be in the markdown format.

 
Posted : 17/02/2025 1:49 pm
divemasterza
(@divemasterza)
Posts: 1
New Member
 

Ensure that your final/exit node in the sub-workflow includes a 'response' field. You can achieve this using the 'edit fields' option. AI anticipates this field when receiving a return from a tool.

 
Posted : 17/02/2025 2:02 pm
Anthony_Brebion
(@anthony_brebion)
Posts: 5
Active Member
Topic starter
 

I'm not entirely sure. It seems to be more dependent on the specific LLM being utilized. I've encountered issues with gpt-o4-mini, but not with gpt-4o.

 
Posted : 18/02/2025 10:40 am
passana
(@passana)
Posts: 1
New Member
 

I'm encountering the same problem. I've added a response using Set, and both gpt-r0 and gpt-40 mini are returning the following error:

There was an error: “The workflow did not return a response”

Does anyone have any other suggestions? Were you able to resolve this?

 
Posted : 27/03/2025 12:10 pm
Felipe_Montalvao
(@felipe_montalvao)
Posts: 1
New Member
 

Discover a potential cause for the error. I'm utilizing a switch node configured with multiple conditions. If any of these conditions remain unanswered, it results in an error being returned to the chat tool.

 
Posted : 01/04/2025 7:45 am
system
(@system)
Posts: 332
Reputable Member
 

This thread was automatically closed 90 days following the last response. New replies are no longer permitted.

 
Posted : 30/06/2025 7:45 am
Share: