Skip to content

feat: add webhook trigger and --value flag for variables#11

Merged
Hinne1 merged 1 commit into
mainfrom
claude/cli-usability-improvements
Feb 18, 2026
Merged

feat: add webhook trigger and --value flag for variables#11
Hinne1 merged 1 commit into
mainfrom
claude/cli-usability-improvements

Conversation

@Hinne1
Copy link
Copy Markdown
Contributor

@Hinne1 Hinne1 commented Feb 18, 2026

Summary

  • Add --webhook and --method flags to wf run to trigger workflows via webhook URL, working around the missing /execute endpoint (405 error). When the execute API returns 405, a helpful hint is now printed suggesting the webhook approach.
  • Add --value flag to var create and var update as an alternative to positional arguments, avoiding bash history expansion of ! in values like SharePoint drive IDs (b!xyz...).

Test plan

  • n8nctl wf run <id> — verify 405 error now prints a hint about --webhook
  • n8nctl wf run <id> --webhook <path> — triggers workflow via webhook GET
  • n8nctl wf run <id> --webhook <path> --method POST — triggers via POST
  • n8nctl var create test_key --value 'b!xyz' — creates variable without shell expansion
  • n8nctl var update <key> --value 'new_value' — updates variable via flag
  • n8nctl var create test_key test_value — positional args still work

Add --webhook and --method flags to `wf run` to trigger workflows via
webhook URL, working around the missing /execute endpoint (405). When
the execute API returns 405, a helpful hint is printed.

Add --value flag to `var create` and `var update` as an alternative to
positional arguments, avoiding bash history expansion of `!` in values
like SharePoint drive IDs.
@Hinne1 Hinne1 merged commit 738a631 into main Feb 18, 2026
5 checks passed
@Hinne1 Hinne1 deleted the claude/cli-usability-improvements branch February 18, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant