AutoVerse Workflow Controller icon

AutoVerse Workflow Controller

Enterprise workflow orchestration, execution control, and monitoring for n8n

Workflow → Delete Workflow

AI-generated

Summary

Deletes one or more n8n workflows through the n8n public API (DELETE /workflows/{id}), but only when "Confirm Delete" is turned on.

Inputs

  • Workflow Selection — How to pick the target workflows: From Searchable List (default), Multiple From List, Current Workflow (the workflow running this node, which must already be saved), or By URL or ID.
  • Workflow Name or ID (required) — Single workflow chosen from the list. Shown when selection mode is 'list'. A workflow URL is reduced to its ID.
  • Workflow Names or IDs (required) — Multiple workflows chosen from the list. Shown when selection mode is 'multiple'.
  • Workflow URL or IDs — Shown when selection mode is 'manual'. Accepts workflow URLs, IDs, or comma-separated values. IDs are de-duplicated. At least one workflow must resolve or the node errors.
  • Confirm Delete (required) — Must be true or the operation throws 'Turn on "Confirm Delete" before deleting workflows.' Defaults to false.

Output shape

One output item per input item, with json: { results: [ { workflowId, deleted: true }, ... ] }, one entry per deleted workflow.

Workflows are deleted sequentially. There is no per-workflow error handling, so the first failed API call (retried up to 3 times on transient statuses) aborts the operation. Earlier deletions are not rolled back. With Continue On Fail enabled on the node, the item returns { error: message } instead. Requires an n8nApi credential.

Examples

Example 1: Remove a single obsolete workflow chosen from a dropdown

Resource: Workflow; Operation: Delete Workflow; Workflow Selection: From Searchable List; pick the workflow; Confirm Delete: on.

Example 2: Clean up several temporary workflows by ID

Workflow Selection: By URL or ID; Workflow URL or IDs: 'abc123, def456'; Confirm Delete: on.

Example 3: Self-destruct a temporary workflow after it finishes

Workflow Selection: Current Workflow; Confirm Delete: on (workflow must be saved so its ID is available).

Links

Discussion