I’m building a customer support agent in MindStudio with three workflows:
- main.flow – Reads unread Gmail messages using the Gmail integration.
- evaluate.flow – Processes each email, classifies it into a topic, and invokes a child workflow.
- content.flow – Retrieves information from a knowledge source based on the topic and returns a structured JSON response.
The main.flow and content.flow work correctly. The issue occurs when content.flow returns its output to evaluate.flow.
Child workflow (content.flow)
The Terminator returns:
{
"testOutput": {
"query": "How do I request a refund?",
"response": "Thank you for reaching out! To request a refund..."
}
}
Parent workflow (evaluate.flow)
The Run Workflow block maps:
testOutput --> summary[]
where summary is the output variable configured in the Run Workflow block.
However, the parent receives:
{
"summary": [
null
]
}
instead of:
{
"summary": [
{
"query": "How do I request a refund?",
"response": "Thank you for reaching out! To request a refund..."
}
]
}
Troubleshooting performed
I verified that:
The child workflow executes successfully.
The child workflow returns the expected JSON in its execution logs.
Even replacing the output with a simple string ("test123") still resulted insummary = [null].
The Terminator is configured correctly with the JSON output.
The Run Workflow block maps testOutputtosummary[].
