I cant even discribe my problem

i made an error workflow and link it with discord to send messages about the errors, how to get the vlues between this{}
The message:
The workflow {workflow name} failed, with the error message: {execution error message}. Last node executed: {name of the last executed node}. Check this workflow execution here: {execution URL} My Unique ID:

The workflow {workflow name} failed, with the error message: {execution error message}. Last node executed: {name of the last executed node}. Check this workflow execution here: {execution URL} My Unique ID:

These are called expressions. Expressions are used to point out values from:

  • Previous nodes
  • Workflow metadata
  • n8n Environment

More info here

In your case(course), you will use expressions to point out data from the previous node. I haven’t done the course myself, but here is an example:

The workflow {{ $json.workflow.name }} failed, with the error message: {{ $json.execution.error.message }}. Last node executed: {{
$json.execution.lastNodeExecuted }}. Check this workflow execution here: {{
$json.execution.url }} My Unique ID: <YOUR_UNIQUE_ID>

Hi @Mohamed645

You can use something like this:

2 Likes

cool but where do you get these values?:thinking:

From the previous node? Look into the documentation page I linked above

1 Like

these are values passed from the workflow that is in error to the error trigger node of the error workflow.
what you are doing is basically the 3rd case of the course lvl2.
you can find these values by yourself, by provoking an error in a workflow that is set to send theses to your error workflow, then you will see it all in the input of your discord node :wink:

1 Like

Perhaps you should do the courses first