Execution Order

I am trying to create a workflow that, on every execution, creates a new sheet and populates it with data.

My workflow looks like this:

Unfortunately, as far as I can tell the node that attempts to populate the sheet runs before the node that creates the sheet, resulting in an error.

I thought that by having the output of the “create” node connected to the input of the “populate” node, I’d enforce that the former runs before the latter. Is that not correct, or did I do something wrong?

How do I get things to run in the right order?

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

I’m running N8N Cloud, version 1.61.0. There is no databaes in use (as far as I can tell).

That’s weird. It shouldn’t happen like that.

But try putting the node at the same height.
The visual placement of the nodes has an influence on the execution order.

Although in your case it shouldn’t happen because they are connected. But it doesn’t hurt to try. Maybe it’s a bug.

1 Like

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