# Delete Tag

<!-- meta: type=delete-tag; location=Tags; category=Step (action); platforms=Joomla and WordPress (where applicable) -->

## Overview

Deletes a Joomla tag from com_tags when the flow runs. Use when retiring taxonomy labels or cleaning up after bulk imports or sync jobs.

When the flow reaches this step, JOrchestrator executes **Delete Tag** against your linked site or an external integration, using the field values you set on **General** and **Design**. Downstream steps can read the output payload fields defined for this node.

## Why use this node

Delete Tag is a **action step** in the **Tags** group. Action steps run in the middle or end of a flow. They perform work on your CMS, call external services, or transform data for the next step.

Typical reasons teams add **Delete Tag** to a flow:

- Remove obsolete taxonomy labels after a catalog sync
- Clean up tags created by import flows that are no longer used
- Retire marketing campaign tags when a promotion ends

## Example workflows

Common patterns on the canvas:

1. **Trigger or Webhook** → upstream steps → **Delete Tag** → **Send Email** or CMS update
2. **Scheduled trigger** → **Delete Tag** → **Debug** (while testing) → production action

## How to set it up

Pick the tag from the searchable list on the Design tab — not a raw id text field.

## Good to know

Article-tag associations may remain until separately cleaned in Joomla.

## Properties panel

The designer shows these tabs for this node:

| Tab | Purpose |
|-----|---------|
| **Info** | Plain-language description and output payload fields for downstream steps |
| **General** | Canvas label and read-only node ID |
| **AI** | Optional assistant to help draft settings from plain language |
| **Design** | Node-specific configuration fields |

### System (automatic — not edited by the user)

These fields are managed by the designer or runtime — you do not type into them directly:

| Property key | Label | Type | Required | Visible when | Notes |
|--------------|-------|------|----------|--------------|-------|
| `_nodeId` | Node ID | `node-id` | No | — | — |
| `_payloadFields` | Available Fields | `payload-panel` | No | — | — |

### User-configured — General tab

| Property key | Label | Type | Required | Visible when | Notes |
|--------------|-------|------|----------|--------------|-------|
| `label` | Label | `text` | No | — | Node label |

### User-configured — Design tab

| Property key | Label | Type | Required | Visible when | Notes |
|--------------|-------|------|----------|--------------|-------|
| `confirm` | Confirm Deletion | `checkbox` | No | — | — |

### CMS-backed (options from the linked site)

| Property key | Label | Type | Required | Visible when | Notes |
|--------------|-------|------|----------|--------------|-------|
| `id` | Tag to delete | `tag-select` | **Yes** | — | Select tag |

### CMS site configuration (not on this node's properties panel)

Credentials, API keys, mailers, SMTP, and integration defaults are configured in the CMS plugin under **Node Configuration**, not per step on this node. Link the flow to a domain before testing CMS-backed fields.

## Output payload fields

After this step runs, later nodes can reference these fields using placeholders such as
`{{delete_tag.id}}`.

| Field key | Type | Description |
|-----------|------|-------------|
| `id` | string | Primary record identifier. |
| `deleted` | boolean | Whether the record was deleted. |

## Related nodes

Other steps in the same area of the palette:

- **Create Tag** (`create-tag`) — Tags
- **Create Tag** (`wp-create-tag`) — Tags
- **Delete Tag** (`wp-delete-tag`) — Tags
- **Instagram Account Info** (`instagram-account-info`) — Tags
- **Instagram Get Media** (`instagram-get-media`) — Tags
