Help needed with Execute workflow node

I have a workflow A which need to be triggered from another workflow B. I have used the “Execute workflow” node and in the options have used source as URL and I’ve given the URL of my workflow A. However, when I execute it I get the following error:

ERROR: 401 - {"code":401,"message":"Authorization is required!"}

Seeing this error, I had given the credentials, But I’m unsure of the format. Could you please help me with the format?

Here is my workflow

Hi @Meghna_jose, if the workflow you want to execute lives on the same instance as your “parent” workflow you can simpy use Database as the source (and 9 as your workflow ID):


Perhaps you can give this a go and let me know if you’re still having trouble afterwards?

Hi @MutedJam ,
Thanks for the response. I have tried this earlier and it works for me, but I want to use the URL instead. Is there any solution for the above error?

The URL option would expect the URL of a JSON definition of an n8n workflow. This can make sense if you store your workflows in a Git repository for example or as a gist. But keep in mind that executing code from remote locations can be a security risk if you don’t have full control over said location.

If you still want to give it a go, you could try out an example workflow definition I have stored at

Yeah got the idea of the URL option. Thanks for the help.

1 Like

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