How to know what other informations are store in Json for workflow and execution

Describe the problem/error/question

I want to know how we can learn more about the additional JSON information stored in the workflow and execution nodes. For example, with $json["workflow"]["name"] and $json["workflow"]["id"], we can fetch more information about the name and ID of the workflow. However, what if we need to know about other information, such as the URL?

Similarly, with $json["execution"]["id"], we can learn about the execution ID. But how can we access other information?

What is the error message (if any)?

NO

Please share your workflow

No workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

any document or example which we can follow.

Information on your n8n setup

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

Hey @Gouravdev,

There is no option for the URL that I am aware of but you could easily generate it as the URL would just be https://n8n.yourdomain.tld/workflows/{{ $workflow.id }} or to get fancy {{ $env["WEBHOOK_URL"] }}workflow/{{ $workflow.id }}.

I don’t think we document all of these options yet but the autocomplete should give you the options available.

2 Likes

Thanks @Jon
I have tried the same for the URL but the aim is to get to know more about other information of node JSON. I will check and update soon.
Please if possible document somewhere so that we can follow that one in future.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.