Is it possible to invoke the Evaluation Trigger programmatically?

Describe the problem/error/question

I would like to use the Evaluation workflow to do end to end testing in CICD pipeline and use Data Table as test cases so that I can do both unattended and manual end to end test with the same setup and self-contained in n8n.

However it looks that the Evaluation Trigger node can only be run manually. Is there a way to call it programmatically?

Information on your n8n setup

  • **n8n version: 2.14
  • **Database (default: SQLite): SQLite
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • **Operating system: Windows

Hi @Victor_Tseng i never actually tried using programming to execute that, but all i use is the “Evaluate all” or basically “Execute node” button in the workflow editor to run it, but maybe you can try using sub workflows which can have their own evaluation setup and then evaluate each independently maybe this is what you can program to an extinct.

honestly the eval trigger was designed for the manual button, not programmatic invocation. anshuls subworkflow idea is the closest you can get. might be worth asking in Feature Requests if theres enough demand for a webhook-based trigger version

Thank you for the suggestions.

While I can mimic the Evaluation feature using other n8n nodes and sub-workflows, the useful nodes such as Set Output and Set Metrics will not be available as the execution context is not in Evaluation mode and these nodes will do nothing.

I will try the feature request route :sweat_smile:.