# Argo CD

> Run GitOps deployments from workflows: sync and roll back Argo CD applications, point them at a new revision or image tag, read their health, history, events and logs, and restart workloads. Start a workflow when a sync succeeds or fails, or an application goes out of sync or turns degraded.

App · 22 actions. Web page: https://docs.lodol.com/docs/integrations/argo-cd

## Actions

### Create application

Create an Argo CD application that deploys a folder of a Git repository, or a Helm chart, to a namespace of a cluster, such as a preview environment for a branch.

**Inputs**

- Name (`name`, text, required): The application's name: lowercase letters, numbers and dashes, such as shop-preview-42.
- Repository (`repo_url`, text, required): The Git or Helm repository's address.
- Path (`path`, text): The folder in the Git repository, such as k8s/overlays/prod. Leave blank for a Helm repository.
- Helm chart (`chart`, text): For a Helm repository, the chart's name. Leave blank for Git.
- Revision (`target_revision`, text): The branch, tag or commit to follow, or the chart version. Defaults to HEAD (the newest commit).
- Cluster (`cluster`, text): The cluster to deploy to. Defaults to the one Argo CD runs in.
- Namespace (`namespace`, text, required): The namespace to deploy into, such as shop.
- Project (`project`, text): The Argo CD project. Defaults to default.
- Create the namespace (`create_namespace`, true/false): Create the namespace on the first sync if it doesn't exist. Default: `true`.
- Auto-sync (`auto_sync`, true/false): Have Argo CD deploy it now and each change to Git by itself. Default: `false`.
- Delete removed resources (`prune`, true/false): With auto-sync, also delete resources removed from Git. Default: `false`.
- Self-heal (`self_heal`, true/false): With auto-sync, undo changes made in the cluster by hand. Default: `false`.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `link` (text): A link to it in Argo CD
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_started_at` (text): When the last operation started (UTC)
- `path` (text): The folder in the Git repository
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "health": "Missing",
  "health_message": "",
  "id": "guestbook",
  "images": [],
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "",
  "operation_finished_at": "",
  "operation_message": "",
  "operation_phase": "",
  "operation_started_at": "",
  "path": "guestbook",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "self_heal": false,
  "source_count": 1,
  "source_type": "Directory",
  "sync_status": "OutOfSync",
  "synced_revision": "",
  "target_revision": "HEAD"
}
```

### Delete application

Delete an Argo CD application and, unless told not to, everything it deployed in the cluster, such as a preview environment that's done.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Delete its resources too (`cascade`, true/false): Also delete the Kubernetes resources it deployed. Off leaves them running, no longer managed by Argo CD. Default: `true`.

**Outputs**

- `application` (text): The application
- `cascade` (true/false): Whether its Kubernetes resources are deleted too
- `deleted` (true/false): Whether Argo CD took the request

**Example output**

```json
{
  "application": "guestbook",
  "cascade": true,
  "deleted": true
}
```

### Get application

Look up an application: its health, whether it matches Git, the revision it runs, its last sync and any errors Argo CD has for it.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `conditions` (list): Errors and warnings Argo CD has for it
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `history_count` (number): How many deployments its history keeps
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `last_deployed_at` (text): When it was last deployed (UTC)
- `last_deployed_revision` (text): The revision it was last deployed at
- `link` (text): A link to it in Argo CD
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_running` (true/false): Whether a sync or rollback is running now
- `operation_started_at` (text): When the last operation started (UTC)
- `out_of_sync_count` (number): How many of them differ from Git
- `path` (text): The folder in the Git repository
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `resource_count` (number): How many Kubernetes resources it manages
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sources` (list): Every source, in order
- `sync_options` (list): Its sync options, such as CreateNamespace=true
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows
- `unhealthy_count` (number): How many are Degraded or Missing

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "conditions": [],
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "health": "Healthy",
  "health_message": "",
  "history_count": 3,
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "last_deployed_at": "2026-11-17T09:12:09Z",
  "last_deployed_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Succeeded",
  "operation_running": false,
  "operation_started_at": "2026-11-17T09:12:04Z",
  "out_of_sync_count": 0,
  "path": "guestbook",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "resource_count": 2,
  "self_heal": false,
  "source_count": 1,
  "source_type": "Directory",
  "sources": [
    {
      "chart": "",
      "path": "guestbook",
      "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
      "target_revision": "HEAD"
    }
  ],
  "sync_options": [
    "CreateNamespace=true"
  ],
  "sync_status": "Synced",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "HEAD",
  "unhealthy_count": 0
}
```

### Get application logs

Read the recent logs of an application's pods, or of one workload, such as to post them to a channel when a sync fails.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Workload (`resource`, text): Only the pods of this deployment, stateful set, job or pod. Leave blank for every pod (up to 10).
- Container (`container`, text): Only this container of the pods, by name. Leave blank for the main one.
- Lines (`lines`, number): How many of the newest lines of each pod. Defaults to 100. From 1 to 5000.
- Since (`since`, text): Only lines written in this time. Leave blank for any time. One of: `5m` (Last 5 minutes), `15m` (Last 15 minutes), `1h` (Last hour), `6h` (Last 6 hours), `24h` (Last 24 hours), `7d` (Last 7 days).
- Containing (`contains`, text): Only lines with these words, such as error. Start with ! for lines without them.
- From before the last restart (`previous`, true/false): Read the container's logs from before it last restarted, such as after a crash. Default: `false`.

**Outputs**

- `application` (text): The application
- `line_count` (number): How many lines were read
- `lines` (list): Each line
- `pods` (list): The pods they came from
- `text` (text): Every line as one text, with the pod first when there are several

**Example output**

```json
{
  "application": "guestbook",
  "line_count": 1,
  "lines": [
    {
      "pod": "guestbook-ui-85985d774c-2g48w",
      "text": "GET / 200 1.2ms",
      "time": "2026-11-17T09:12:30.512Z"
    }
  ],
  "pods": [
    "guestbook-ui-85985d774c-2g48w"
  ],
  "text": "GET / 200 1.2ms"
}
```

### Get commit details

Look up a commit of an application's Git repository: its author, date, message and tags, such as to say what a deployment changed.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Revision (`revision`, text, required): The commit SHA, tag or branch, such as the synced revision from an earlier step.
- Source (`source`, number): Only for an application with several sources: which one, counting from 1. Leave blank otherwise. From 1 to 100.

**Outputs**

- `application` (text): The application
- `author` (text): Who wrote it, with their email
- `date` (text): When it was committed (UTC)
- `message` (text): Its commit message
- `revision` (text): The revision asked about
- `signature_info` (text): Its GPG signature, if signed
- `tags` (list): Tags on it

**Example output**

```json
{
  "application": "guestbook",
  "author": "Alex Collins <alex_collins@intuit.com>",
  "date": "2023-05-04T18:29:51Z",
  "message": "Update guestbook-ui-deployment.yaml",
  "revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "signature_info": "",
  "tags": []
}
```

### Get sync windows

Check whether an application may be synced now, and the sync windows (change freezes and allowed times) its project sets for it.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.

**Outputs**

- `active_windows` (list): Windows open now
- `application` (text): The application
- `assigned_windows` (list): Every window that applies to it
- `can_sync` (true/false): Whether a sync may run now

**Example output**

```json
{
  "active_windows": [],
  "application": "guestbook",
  "assigned_windows": [
    {
      "duration": "60h",
      "kind": "deny",
      "manual_sync": true,
      "schedule": "0 22 * * 5"
    }
  ],
  "can_sync": true
}
```

### List application events

List the Kubernetes events of an application and its resources, newest first, such as failed pulls and crash loops after a sync.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Only warnings (`warnings_only`, true/false): Only Warning events, not Normal ones. Default: `false`.
- How many (`limit`, number): The most to list. Defaults to 50. From 1 to 500.

**Outputs**

- `application` (text): The application
- `count` (number): How many are listed
- `events` (list): Its Kubernetes events, newest first
- `total` (number): How many there are

**Example output**

```json
{
  "application": "guestbook",
  "count": 1,
  "events": [
    {
      "count": 1,
      "first_seen": "2026-11-17T09:12:09Z",
      "kind": "Application",
      "last_seen": "2026-11-17T09:12:09Z",
      "message": "Sync operation to 53e28ff succeeded",
      "name": "guestbook",
      "namespace": "argocd",
      "reason": "OperationCompleted",
      "type": "Normal"
    }
  ],
  "total": 1
}
```

### List application resources

List the Kubernetes resources an application manages, with whether each matches Git and its health, such as to find what's out of sync or failing.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Sync status (`sync_status`, text): Only resources with this sync status. Leave blank for any. One of: `Synced`, `OutOfSync` (Out of sync), `Unknown`.
- Health (`health`, list): Only these health statuses. Leave blank for any. One or more of: `Healthy`, `Progressing`, `Degraded`, `Suspended`, `Missing`, `Unknown`.
- Kind (`resource_kind`, text): Only this kind, such as Deployment.

**Outputs**

- `application` (text): The application
- `count` (number): How many are listed
- `out_of_sync_count` (number): How many of all its resources are out of sync
- `resources` (list): Its resources

**Example output**

```json
{
  "application": "guestbook",
  "count": 1,
  "out_of_sync_count": 0,
  "resources": [
    {
      "group": "apps",
      "health": "Healthy",
      "health_message": "",
      "hook": false,
      "id": "Deployment/guestbook/guestbook-ui",
      "kind": "Deployment",
      "name": "guestbook-ui",
      "namespace": "guestbook",
      "requires_pruning": false,
      "sync_status": "Synced",
      "version": "v1"
    }
  ]
}
```

### List applications

List Argo CD applications, by project, health, sync status, labels or name, with whether each is healthy and matches Git.

**Inputs**

- Project (`project`, text): Only applications in this project. Leave blank for every project.
- Health (`health`, list): Only these health statuses. Leave blank for any. One or more of: `Healthy`, `Progressing`, `Degraded`, `Suspended`, `Missing`, `Unknown`.
- Sync status (`sync_status`, list): Only these sync statuses. Leave blank for any. One or more of: `Synced`, `OutOfSync` (Out of sync), `Unknown`.
- Search (`search`, text): Words in the application's name, repository or namespace.
- Labels (`labels`, text): Only applications with these labels, such as team=payments or env in (prod,staging).
- How many (`limit`, number): The most to list. Defaults to 50. From 1 to 500.

**Outputs**

- `applications` (list): The applications, by name
- `count` (number): How many are listed
- `total` (number): How many match in all

**Example output**

```json
{
  "applications": [
    {
      "auto_prune": false,
      "auto_sync": false,
      "chart": "",
      "created_at": "2026-11-10T14:03:51Z",
      "destination_name": "",
      "destination_namespace": "guestbook",
      "destination_server": "https://kubernetes.default.svc",
      "external_urls": [],
      "health": "Healthy",
      "health_message": "",
      "id": "guestbook",
      "images": [
        "gcr.io/heptio-images/ks-guestbook-demo:0.2"
      ],
      "link": "https://argocd.example.com/applications/argocd/guestbook",
      "name": "guestbook",
      "namespace": "argocd",
      "operation_by": "lodol",
      "operation_finished_at": "2026-11-17T09:12:09Z",
      "operation_message": "successfully synced (all tasks run)",
      "operation_phase": "Succeeded",
      "operation_started_at": "2026-11-17T09:12:04Z",
      "path": "guestbook",
      "project": "default",
      "reconciled_at": "2026-11-17T09:15:00Z",
      "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
      "self_heal": false,
      "source_count": 1,
      "source_type": "Directory",
      "sync_status": "Synced",
      "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
      "target_revision": "HEAD"
    }
  ],
  "count": 1,
  "total": 1
}
```

### List clusters

List the Kubernetes clusters Argo CD deploys to, with whether it can reach each, its Kubernetes version and how many applications use it.

**Inputs**

- How many (`limit`, number): The most to list. Defaults to 50. From 1 to 500.

**Outputs**

- `clusters` (list): The clusters, by name
- `count` (number): How many are listed
- `total` (number): How many there are

**Example output**

```json
{
  "clusters": [
    {
      "applications": 4,
      "kubernetes_version": "1.33",
      "message": "",
      "name": "in-cluster",
      "namespaces": [],
      "project": "",
      "server": "https://kubernetes.default.svc",
      "status": "Successful"
    }
  ],
  "count": 1,
  "total": 1
}
```

### List deployment history

List an application's past deployments, newest first: the revision deployed, when and by whom, optionally with each commit's author and message.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- With commit details (`with_commits`, true/false): Add each commit's author, message and date (for the newest 10 from Git). Default: `false`.
- How many (`limit`, number): The most to list. Defaults to 20. From 1 to 500.

**Outputs**

- `application` (text): The application
- `count` (number): How many are listed
- `deployments` (list): Its deployments, newest first
- `total` (number): How many its history keeps

**Example output**

```json
{
  "application": "guestbook",
  "count": 1,
  "deployments": [
    {
      "author": "Alex Collins <alex_collins@intuit.com>",
      "automated": false,
      "by": "lodol",
      "chart": "",
      "commit_date": "2023-05-04T18:29:51Z",
      "commit_message": "Update guestbook-ui-deployment.yaml",
      "current": true,
      "deployed_at": "2026-11-17T09:12:09Z",
      "id": 3,
      "path": "guestbook",
      "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
      "revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
      "started_at": "2026-11-17T09:12:04Z",
      "target_revision": "HEAD"
    }
  ],
  "total": 3
}
```

### List projects

List Argo CD projects, with the repositories and clusters each lets its applications use.

**Inputs**

- How many (`limit`, number): The most to list. Defaults to 50. From 1 to 500.

**Outputs**

- `count` (number): How many are listed
- `projects` (list): The projects, by name
- `total` (number): How many there are

**Example output**

```json
{
  "count": 1,
  "projects": [
    {
      "description": "",
      "destinations": [
        "* (*)"
      ],
      "link": "https://argocd.example.com/settings/projects/default",
      "name": "default",
      "source_repos": [
        "*"
      ]
    }
  ],
  "total": 1
}
```

### List repositories

List the Git and Helm repositories connected to Argo CD, with whether it can reach each.

**Inputs**

- How many (`limit`, number): The most to list. Defaults to 50. From 1 to 500.

**Outputs**

- `count` (number): How many are listed
- `repositories` (list): The repositories, by address
- `total` (number): How many there are

**Example output**

```json
{
  "count": 1,
  "repositories": [
    {
      "message": "",
      "name": "",
      "project": "",
      "status": "Successful",
      "type": "git",
      "url": "https://github.com/argoproj/argocd-example-apps.git"
    }
  ],
  "total": 1
}
```

### Refresh application

Have Argo CD check Git now and compare the application with what's running, instead of waiting for its next look. Changes nothing in the cluster.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Hard refresh (`hard`, true/false): Also clear Argo CD's cache of the rendered manifests, such as after a Helm chart changed without a new version. Default: `false`.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `conditions` (list): Errors and warnings Argo CD has for it
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `history_count` (number): How many deployments its history keeps
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `last_deployed_at` (text): When it was last deployed (UTC)
- `last_deployed_revision` (text): The revision it was last deployed at
- `link` (text): A link to it in Argo CD
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_running` (true/false): Whether a sync or rollback is running now
- `operation_started_at` (text): When the last operation started (UTC)
- `out_of_sync_count` (number): How many of them differ from Git
- `path` (text): The folder in the Git repository
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `refresh` (text): normal or hard
- `repo_url` (text): The Git or Helm repository it deploys from
- `resource_count` (number): How many Kubernetes resources it manages
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sources` (list): Every source, in order
- `sync_options` (list): Its sync options, such as CreateNamespace=true
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows
- `unhealthy_count` (number): How many are Degraded or Missing

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "conditions": [],
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "health": "Healthy",
  "health_message": "",
  "history_count": 3,
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "last_deployed_at": "2026-11-17T09:12:09Z",
  "last_deployed_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Succeeded",
  "operation_running": false,
  "operation_started_at": "2026-11-17T09:12:04Z",
  "out_of_sync_count": 0,
  "path": "guestbook",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "refresh": "normal",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "resource_count": 2,
  "self_heal": false,
  "source_count": 1,
  "source_type": "Directory",
  "sources": [
    {
      "chart": "",
      "path": "guestbook",
      "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
      "target_revision": "HEAD"
    }
  ],
  "sync_options": [
    "CreateNamespace=true"
  ],
  "sync_status": "Synced",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "HEAD",
  "unhealthy_count": 0
}
```

### Roll back application

Put an application back to an earlier deployment from its history, by default the one before the current one, and wait for Argo CD to finish. Auto-sync must be off.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Deployment (`deployment`, text): The earlier deployment to go back to. Leave blank for the one before the current one.
- Delete removed resources (`prune`, true/false): Delete resources that are no longer in Git (prune). Default: `false`.
- Dry run (`dry_run`, true/false): Only check what would change, changing nothing. Default: `false`.
- Wait for it to finish (`wait`, true/false): Wait until Argo CD has finished, and fail the step if it failed. Off returns as soon as Argo CD has started. Default: `true`.
- Most seconds to wait (`wait_seconds`, number): How long to wait before going on with it still running. Defaults to 300. From 10 to 900.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `created_at` (text): When the application was made (UTC)
- `deployment` (number): The history ID of the deployment rolled back to
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `finished` (true/false): Whether it finished within the wait
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `link` (text): A link to it in Argo CD
- `message` (text): What Argo CD said about it
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_started_at` (text): When the last operation started (UTC)
- `path` (text): The folder in the Git repository
- `phase` (text): How the sync went: Succeeded, or Running when it hadn't finished in the wait (or the step didn't wait)
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `resources_synced` (list): What it did to each resource
- `revision` (text): The commit (or chart version) it synced to
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "created_at": "2026-11-10T14:03:51Z",
  "deployment": 2,
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "finished": true,
  "health": "Healthy",
  "health_message": "",
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "message": "successfully synced (all tasks run)",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Succeeded",
  "operation_started_at": "2026-11-17T09:12:04Z",
  "path": "guestbook",
  "phase": "Succeeded",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "resources_synced": [
    {
      "kind": "Service",
      "message": "service/guestbook-ui unchanged",
      "name": "guestbook-ui",
      "namespace": "guestbook",
      "status": "Synced"
    },
    {
      "kind": "Deployment",
      "message": "deployment.apps/guestbook-ui configured",
      "name": "guestbook-ui",
      "namespace": "guestbook",
      "status": "Synced"
    }
  ],
  "revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "self_heal": false,
  "source_count": 1,
  "source_type": "Directory",
  "sync_status": "Synced",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "HEAD"
}
```

### Run resource action

Run one of Argo CD's actions on a resource of an application, such as restart a deployment, or pause, resume or promote a rollout.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Resource (`resource`, text, required): The resource, such as Deployment/guestbook/guestbook-ui.
- Action (`resource_action`, text, required): What to do, such as restart.

**Outputs**

- `action` (text): The action run, such as restart
- `application` (text): The application
- `done` (true/false): Whether Argo CD ran it
- `kind` (text): Its kind
- `name` (text): Its name
- `namespace` (text): Its namespace
- `resource` (text): The resource, as Kind/namespace/name

**Example output**

```json
{
  "action": "restart",
  "application": "guestbook",
  "done": true,
  "kind": "Deployment",
  "name": "guestbook-ui",
  "namespace": "guestbook",
  "resource": "Deployment/guestbook/guestbook-ui"
}
```

### Set auto-sync

Turn an application's auto-sync on or off, such as off during an incident or before a rollback, and choose whether it deletes removed resources and undoes changes made in the cluster.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Auto-sync on (`enabled`, true/false): On: Argo CD deploys each change to Git by itself. Off: only when someone syncs. Default: `true`.
- Delete removed resources (`prune`, true/false): With auto-sync on, also delete resources removed from Git. Leave blank to keep the application's setting.
- Self-heal (`self_heal`, true/false): With auto-sync on, undo changes made in the cluster by hand. Leave blank to keep the application's setting.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `link` (text): A link to it in Argo CD
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_started_at` (text): When the last operation started (UTC)
- `path` (text): The folder in the Git repository
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "health": "Healthy",
  "health_message": "",
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Succeeded",
  "operation_started_at": "2026-11-17T09:12:04Z",
  "path": "guestbook",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "self_heal": false,
  "source_count": 1,
  "source_type": "Directory",
  "sync_status": "Synced",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "HEAD"
}
```

### Set Helm parameters

Set Helm values on an application deployed from a Helm chart, such as a new image tag from a build. Others stay as they are. Sync it to deploy, unless auto-sync does.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Parameters (`parameters`, text, required): One per line, name=value, such as image.tag=1.4.2.
- Source (`source`, number): Only for an application with several sources: which one, counting from 1. Leave blank otherwise. From 1 to 100.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `helm_parameters` (list): Every Helm parameter it now sets
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `link` (text): A link to it in Argo CD
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_started_at` (text): When the last operation started (UTC)
- `path` (text): The folder in the Git repository
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "guestbook",
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "health": "Healthy",
  "health_message": "",
  "helm_parameters": [
    {
      "name": "image.tag",
      "value": "1.4.2"
    }
  ],
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Succeeded",
  "operation_started_at": "2026-11-17T09:12:04Z",
  "path": "",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "self_heal": false,
  "source_count": 1,
  "source_type": "Helm",
  "sync_status": "OutOfSync",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "HEAD"
}
```

### Set Kustomize images

Set the image versions of an application deployed with Kustomize, such as a new tag from a build. Other images stay as they are. Sync it to deploy, unless auto-sync does.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Images (`images`, text, required): One per line, such as nginx:1.27, or nginx=registry.example.com/nginx:1.27 to swap the image.
- Source (`source`, number): Only for an application with several sources: which one, counting from 1. Leave blank otherwise. From 1 to 100.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `kustomize_images` (list): Every image override it now has
- `link` (text): A link to it in Argo CD
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_started_at` (text): When the last operation started (UTC)
- `path` (text): The folder in the Git repository
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "health": "Healthy",
  "health_message": "",
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "kustomize_images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Succeeded",
  "operation_started_at": "2026-11-17T09:12:04Z",
  "path": "guestbook",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "self_heal": false,
  "source_count": 1,
  "source_type": "Kustomize",
  "sync_status": "OutOfSync",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "HEAD"
}
```

### Set target revision

Point an application at another branch, tag or commit (or Helm chart version) for good, such as to promote a release. Sync it to deploy, unless auto-sync does.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Target revision (`target_revision`, text, required): The branch, tag or commit, such as v1.4.2, or a chart version.
- Source (`source`, number): Only for an application with several sources: which one, counting from 1. Leave blank otherwise. From 1 to 100.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `link` (text): A link to it in Argo CD
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_started_at` (text): When the last operation started (UTC)
- `path` (text): The folder in the Git repository
- `previous_target_revision` (text): The revision it followed before
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "health": "Healthy",
  "health_message": "",
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Succeeded",
  "operation_started_at": "2026-11-17T09:12:04Z",
  "path": "guestbook",
  "previous_target_revision": "HEAD",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "self_heal": false,
  "source_count": 1,
  "source_type": "Directory",
  "sync_status": "OutOfSync",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "v1.4.2"
}
```

### Stop sync

Stop the sync or rollback running on an application, such as one stuck waiting. Nothing running is left as it is.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `link` (text): A link to it in Argo CD
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_started_at` (text): When the last operation started (UTC)
- `path` (text): The folder in the Git repository
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows
- `terminated` (true/false): Whether an operation was running and was stopped

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "health": "Healthy",
  "health_message": "",
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Terminating",
  "operation_started_at": "2026-11-17T09:12:04Z",
  "path": "guestbook",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "self_heal": false,
  "source_count": 1,
  "source_type": "Directory",
  "sync_status": "Synced",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "HEAD",
  "terminated": true
}
```

### Sync application

Deploy an application: apply what's in Git (or a branch, tag or commit given) to the cluster, all of it or some resources, and wait for Argo CD to finish.

**Inputs**

- Application (`application`, text, required): The Argo CD application, by its name, such as guestbook.
- Revision (`revision`, text): A branch, tag or commit to deploy this once, or a Helm chart version. Leave blank for the one the application follows.
- Only these resources (`resources`, list): Sync only these of the application's resources. Leave blank for all of them.
- Delete removed resources (`prune`, true/false): Delete resources that are no longer in Git (prune). Default: `false`.
- Dry run (`dry_run`, true/false): Only check what would change, changing nothing. Default: `false`.
- Force (`force`, true/false): Delete and recreate resources that can't be updated in place. Use with care. Default: `false`.
- Only out-of-sync resources (`only_out_of_sync`, true/false): Apply only the resources that differ from Git, which is faster for large applications. Default: `false`.
- Wait for it to finish (`wait`, true/false): Wait until Argo CD has finished, and fail the step if it failed. Off returns as soon as Argo CD has started. Default: `true`.
- Most seconds to wait (`wait_seconds`, number): How long to wait before going on with it still running. Defaults to 300. From 10 to 900.

**Outputs**

- `auto_prune` (true/false): Whether auto-sync deletes resources removed from Git
- `auto_sync` (true/false): Whether Argo CD syncs it by itself when Git changes
- `chart` (text): The Helm chart, for a Helm repository
- `created_at` (text): When the application was made (UTC)
- `destination_name` (text): The cluster's name it deploys to, if named
- `destination_namespace` (text): The namespace it deploys to
- `destination_server` (text): The cluster's address it deploys to
- `external_urls` (list): Addresses its ingresses and services are reached at
- `finished` (true/false): Whether it finished within the wait
- `health` (text): Healthy, Progressing, Degraded, Suspended, Missing or Unknown
- `health_message` (text): Why it has that health, when Argo CD says
- `id` (text): How other Argo CD steps name it: its name, or namespace/name when it lives outside Argo CD's own namespace
- `images` (list): The container images it runs
- `link` (text): A link to it in Argo CD
- `message` (text): What Argo CD said about it
- `name` (text): Its name
- `namespace` (text): The namespace the application itself is kept in
- `operation_by` (text): Who started it, or automated
- `operation_finished_at` (text): When it finished (UTC)
- `operation_message` (text): What the last operation said
- `operation_phase` (text): The last sync or rollback: Running, Succeeded, Failed, Error or Terminating
- `operation_started_at` (text): When the last operation started (UTC)
- `path` (text): The folder in the Git repository
- `phase` (text): How the sync went: Succeeded, or Running when it hadn't finished in the wait (or the step didn't wait)
- `project` (text): Its Argo CD project
- `reconciled_at` (text): When Argo CD last compared it with Git (UTC)
- `repo_url` (text): The Git or Helm repository it deploys from
- `resources_synced` (list): What it did to each resource
- `revision` (text): The commit (or chart version) it synced to
- `self_heal` (true/false): Whether auto-sync also undoes changes made in the cluster
- `source_count` (number): How many sources it has (usually 1)
- `source_type` (text): Helm, Kustomize, Directory or Plugin
- `sync_status` (text): Synced, OutOfSync or Unknown, compared with Git
- `synced_revision` (text): The commit (or chart version) it is synced to
- `target_revision` (text): The branch, tag, commit or chart version it follows

**Example output**

```json
{
  "auto_prune": false,
  "auto_sync": false,
  "chart": "",
  "created_at": "2026-11-10T14:03:51Z",
  "destination_name": "",
  "destination_namespace": "guestbook",
  "destination_server": "https://kubernetes.default.svc",
  "external_urls": [],
  "finished": true,
  "health": "Healthy",
  "health_message": "",
  "id": "guestbook",
  "images": [
    "gcr.io/heptio-images/ks-guestbook-demo:0.2"
  ],
  "link": "https://argocd.example.com/applications/argocd/guestbook",
  "message": "successfully synced (all tasks run)",
  "name": "guestbook",
  "namespace": "argocd",
  "operation_by": "lodol",
  "operation_finished_at": "2026-11-17T09:12:09Z",
  "operation_message": "successfully synced (all tasks run)",
  "operation_phase": "Succeeded",
  "operation_started_at": "2026-11-17T09:12:04Z",
  "path": "guestbook",
  "phase": "Succeeded",
  "project": "default",
  "reconciled_at": "2026-11-17T09:15:00Z",
  "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
  "resources_synced": [
    {
      "kind": "Service",
      "message": "service/guestbook-ui unchanged",
      "name": "guestbook-ui",
      "namespace": "guestbook",
      "status": "Synced"
    },
    {
      "kind": "Deployment",
      "message": "deployment.apps/guestbook-ui configured",
      "name": "guestbook-ui",
      "namespace": "guestbook",
      "status": "Synced"
    }
  ],
  "revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "self_heal": false,
  "source_count": 1,
  "source_type": "Directory",
  "sync_status": "Synced",
  "synced_revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
  "target_revision": "HEAD"
}
```
