Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Serverless Integrations
    • All guides
        • Updating a workflow
        • Specifying a cloud network
          • Adding a label
          • Updating a label
          • Deleting a label
        • Viewing monitoring charts
        • Deleting a workflow
    • Viewing operations with service resources
  • Pricing policy
  • Terraform reference
  • Release notes
  1. Step-by-step guides
  2. Workflows
  3. Managing a workflow
  4. Managing labels
  5. Adding a label

Adding a label to a workflow

Written by
Yandex Cloud
Updated at May 13, 2025
Management console
CLI
API
  1. In the management console, navigate to the folder where you want to add a label to a workflow.

  2. Select Serverless Integrations.

  3. In the left-hand panel, click Workflows.

  4. Click in the workflow row and select Edit.

  5. Expand Additional parameters:

    1. In the Labels field, click Add label.
    2. Enter the key and the value, and press Enter.
  6. Click Save.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

To add a label to a workflow, run this command:

Warning

The existing labels (labels) will be completely overwritten by the ones you provide in your request.

yc serverless workflow update <workflow_name_or_ID> \
  --yaml-spec <specification_file> \
  --labels <label_list>

Where:

  • --yaml-spec: Path to the YaWL specification file for the workflow, e.g., ./yawl-spec.json.
  • --labels: List of labels. You can specify one label or multiple labels separated by commas in <key1>=<value1>,<key2>=<value2> format.

Result:

id: dfqjl5hh5p90********
folder_id: b1g681qpemb4********
specification:
  spec_yaml: "yawl: ..."
created_at: "2025-03-11T09:27:51.691990Z"
name: my-workflow
description: created via cli
labels:
  owner: "admin"
  version: "alpha"
status: ACTIVE
log_options: {}
service_account_id: aje4tpd9coa********
network_id: enpm8v48ehcl********

To add a label to a workflow, use the Update REST API method for the Workflows resource or the workflow/Update gRPC API call.

Was the article helpful?

Previous
Specifying a cloud network
Next
Updating a label
Yandex project
© 2025 Yandex.Cloud LLC