Execute workflow from CLI produces different results

Describe the problem/error/question

I have a workflow triggered by a change on a sheet on Google Drive. The workflow works perfectly when triggered manually by the UI Editor. However, when I execute the workflow from the CLI, I obtain a different end result because the sub-workflow present doesn’t receive the right inputs.

Please share your workflow

Main Workflow

Sub-Workflow

Information on your n8n setup

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

I’m not sure I understood your question.
Are you trying to run a workflow from a CLI command?

Ideally you should trigger the workflows from trigger nodes. Even if it means setting up a webhook as trigger.

Hey @Giulio_Bider do you still need help with this?

Nope, all solved, thank you. The issue was the trigger. :wink:

1 Like

Awesome! Please choose a reply as the solution, so we can close this topic.

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