Hello everyone,
I’m testing the new MCP integration. I have a simple workflow that uses the chatTrigger node (connected to an AI Agent). It runs correctly when I test it directly inside n8n.
However, when I trigger it through MCP using the official /execute_workflow tool in chatgpt, n8n returns an error and the execution never runs.
Payload sent to n8n (as required by the MCP tool schema):
{
“workflowId”: “grn28ew0JQ0x7J7”,
“inputs”: {
"type": "chat",
“chatInput”: “What is the best pecan pie recipe?”
}
}
Error returned by n8n:
{“success”: false, “executionId”: null, “error”: “Unknown execution mode”}
Each attempt appears in Executions as “Queued – starting soon”.
Looking for guidance on why MCP-triggered executions for chatTrigger workflows return “Unknown execution mode”.
Thanks in advance!