I have a flow with lot of nodes, and for known reasons, an error occured and the flow stopped. It is normal
Now, I would to do some action after the error occured. For that, I would to set an error trigger and to be able to access to data stored in a particular node of the executed flow.
I saw this topic in the forum
But it doesn’t answer to the need
Please share your workflow
Here is an example, I would to get data for the node “The right node” in the error trigger
That is sadly not possible like that. On Error, the workflow exectuion always stops and the execution that gets started via the Error Trigger is a totally new one. So it is not possible to access the data of the other nodes (except by using the n8n API and you then extract the data from the JSON).
What you probably want to do instead, is to activate the setting “Continue On Fail” on the node that is expected to fail, then have an IF-Node after it to check if the node succeeded or not and then do whatever you need to do for any of the cases.