Manual Trigger has a schema validation mismatch
john_b
Issue Summary
The @taskade/automade-internalpiece-taskade/task.flow_triggered trigger has a schema validation mismatch that causes all workflows using this trigger to fail immediately with a validation error, preventing any workflow actions from executing.
Bug Details
Trigger Name:
task.flow_triggeredPiece:
@taskade/automade-internalpiece-taskade
Completely blocks workflow execution
Expected Behavior
When a user clicks the "Run Flow" button on a task in a project:
- The trigger should fire successfully
- The trigger should provide the full task data according to its resultSchema
- Workflow actions should execute normally
Actual Behavior
❌ Immediate validation error before any actions execute
❌ All workflow actions show status: "pending" (never executed)
❌ Error message: "Expected object, received string"
The trigger's declared resultSchema expects a rich object with properties like:
- nodeText(task content)
- nodeNote(task description)
- projectId
- nodeId
- startDate
- endDate
- assignees[]
- etc.
But the actual trigger payload only provides:
{
"nodeId": "string",
"projectId": "string"
}
Example Error Log
{
"trigger": {
"type": "failed",
"errorDesc": {
"message": "[\n {\n \"code\": \"invalid_type\",\n \"expected\": \"object\",\n \"received\": \"string\",\n \"path\": [],\n \"message\": \"Expected object, received string\"\n }\n]"
},
"input": {
"data": {
"nodeId": "65521979-bd4c-4b96-aa0b-b3e843aa5dd3",
"projectId": "cNndNEeW94Mady3K"
},
"type": "TRIGGER_PAYLOAD"
}
}
}
Log In