Execution api

I’m writing a workflow that triggers on errors in another workflow. When it triggers, i’d like to be able to retrieve the details of the first workflow execution trigger.
Is there a way to retrieve the query parameter of a webhook execution based on a execution id?

Have you considered putting the error trigger in the first workflow? If the error happens early it should catch the data I believe, but not sure.

1 Like

The error trigger node would catch the details of the node throwing the error as suggested by @djangelic.

There currently is no officially documented API to fetch additional details from other nodes. But assuming you are saving your execution data you could implement the same request our UI makes (GET http://localhost:5678/rest/executions/1234) in an HTTP Request node to fetch execution details (where 1234 is the execution ID you should get from the error trigger).