Anda dapat menggunakan Workflows untuk mengeksekusi layanan dalam urutan yang Anda tentukan: alur kerja.
Gabungkan kecanggihan layanan Google Cloud , layanan kustom yang dihosting di fungsi Cloud Run atau Cloud Run, dan API berbasis HTTP apa pun untuk membuat aplikasi serverless yang fleksibel.
Workflows tidak memerlukan pengelolaan infrastruktur dan menskalakan dengan lancar sesuai permintaan, termasuk menurunkan skala hingga nol. Pelajari lebih lanjut
Mulai bukti konsep Anda dengan kredit gratis senilai $300
-
Mendapatkan akses ke Gemini 2.0 Flash Thinking
-
Penggunaan bulanan gratis untuk produk populer, termasuk AI API dan BigQuery
-
Tidak ada biaya otomatis, tanpa komitmen
Terus jelajahi dengan lebih dari 20 produk yang selalu gratis
Akses 20+ produk gratis untuk kasus penggunaan umum, termasuk API AI, VM, data warehouse, dan lainnya.
Pelatihan
Pelatihan dan tutorial
Menjalankan terjemahan batch menggunakan konektor Cloud Translation
Pelajari cara menggunakan konektor Cloud Translation API untuk menerjemahkan file ke bahasa lain dalam mode batch asinkron.
Pelatihan
Pelatihan dan tutorial
Menggunakan Workflows dengan Cloud Run dan Cloud Functions
Pelajari cara menggunakan Workflows untuk menautkan dua layanan HTTP publik (menggunakan Cloud Functions), REST API eksternal, dan layanan Cloud Run pribadi.
Pelatihan
Pelatihan dan tutorial
Membuat alur kerja yang memerlukan interaksi manusia menggunakan callback
Pelajari cara membuat alur kerja yang mendukung webhook callback dan menunggu input Anda untuk menolak atau memvalidasi terjemahan beberapa teks.
Pelatihan
Pelatihan dan tutorial
Menjalankan beberapa tugas BigQuery secara paralel
Menjalankan beberapa tugas kueri BigQuery secara paralel, sehingga meningkatkan performa jika dibandingkan dengan menjalankan tugas secara berurutan.
Pelatihan
Pelatihan dan tutorial
Menjalankan tugas Batch menggunakan Workflows
Pelajari cara menggunakan Workflows untuk menjadwalkan dan menjalankan tugas Batch yang mengeksekusi enam tugas secara paralel di dua VM Compute Engine.
Pelatihan
Pelatihan dan tutorial
Memuat data dari Cloud Storage ke BigQuery menggunakan Workflows
Pelajari cara menjalankan alur kerja tanpa server menggunakan Workflows, Cloud Functions, dan Firestore
untuk memuat data mentah, seperti log peristiwa, dari Cloud Storage ke BigQuery.
Contoh kode
Contoh Kode
Memanggil Cloud Run
Jalankan tugas Cloud Run yang memproses data peristiwa yang disimpan di Cloud Storage.
Contoh kode
Contoh Kode
Menggunakan konektor
Mengkueri set data BigQuery dan menulis hasilnya ke spreadsheet Sheet menggunakan konektor.
Contoh kode
Contoh Kode
Melakukan iterasi secara paralel
Melakukan iterasi paralel menggunakan loop for.
Contoh kode
Contoh Kode
Menunggu peristiwa menggunakan callback
Menyimpan detail callback di database Firestore.
Contoh kode
Contoh Kode
Langkah-langkah coba lagi
Mencoba lagi langkah-langkah menggunakan kebijakan percobaan ulang default.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-18 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-18 UTC."],[],[],null,["# Workflows documentation\n=======================\n\n[Read product documentation](/workflows/docs/overview)\nYou can use Workflows to execute services in an order you define: a *workflow* .\nCombine the power of Google Cloud services, custom services hosted on Cloud Run functions or\nCloud Run, and any HTTP-based API to create flexible serverless applications.\nWorkflows requires no infrastructure management and scales seamlessly with demand,\nincluding scaling down to zero. [Learn more](/workflows/docs/overview)\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nfollow_the_signs\n\n### Get started\n\n-\n\n [Create and deploy a workflow using the console](/workflows/docs/create-workflow-console)\n\n-\n\n [Create and deploy a workflow using the gcloud CLI](/workflows/docs/create-workflow-gcloud)\n\n-\n\n [Create and deploy a workflow using Terraform](/workflows/docs/create-workflow-terraform)\n\n-\n\n [Execute a workflow using a client library](/workflows/docs/execute-workflow-client-libraries)\n\nfind_in_page\n\n### Reference\n\n-\n\n [Syntax reference](/workflows/docs/reference/syntax)\n\n-\n\n [Standard library reference](/workflows/docs/reference/stdlib/overview)\n\n-\n\n [Executions REST API](/workflows/docs/reference/executions/rest)\n\n-\n\n [Connectors reference](/workflows/docs/reference/googleapis)\n\ninfo\n\n### Resources\n\n-\n\n [Release notes](/workflows/docs/release-notes)\n\n-\n\n [Quotas and limits](/workflows/quotas)\n\n-\n\n [Pricing](/workflows/pricing)\n\n-\n\n [Get support](/workflows/docs/getting-support)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Run a batch translation using the Cloud Translation connector\n\n\nLearn how to use the Cloud Translation API connector to translate files to other\nlanguages in asynchronous batch mode.\n\n\n[Learn more](/workflows/docs/tutorials/translation-connector) \nTraining \nTraining and tutorials\n\n### Use Workflows with Cloud Run and Cloud Functions\n\n\nLearn how to use Workflows to link two public HTTP services (using Cloud Functions), an\nexternal REST API, and a private Cloud Run service together.\n\n\n[Learn more](/workflows/docs/tutorials/run/cloud-run) \nTraining \nTraining and tutorials\n\n### Create a human-in-the-loop workflow using callbacks\n\n\nLearn how to create a workflow that supports a callback webhook and waits for your\ninput to reject or validate the translation of some text.\n\n\n[Learn more](/workflows/docs/tutorials/callbacks-firestore) \nTraining \nTraining and tutorials\n\n### Run multiple BigQuery jobs in parallel\n\n\nRun multiple BigQuery query jobs in parallel, improving performance when compared to\nrunning the jobs serially.\n\n\n[Learn more](/workflows/docs/tutorials/bigquery-parallel-jobs) \nTraining \nTraining and tutorials\n\n### Run a Batch job using Workflows\n\n\nLearn how to use Workflows to schedule and run a Batch job that executes six tasks in\nparallel on two Compute Engine VMs.\n\n\n[Learn more](/workflows/docs/tutorials/batch-and-workflows) \nTraining \nTraining and tutorials\n\n### Load data from Cloud Storage to BigQuery using Workflows\n\n\nLearn how to run serverless workflows using Workflows, Cloud Functions, and Firestore\nto load raw data, such as event logs, from Cloud Storage to BigQuery.\n\n\n[Learn more](/workflows/docs/tutorials/load-data-from-cloud-storage-to-bigquery-using-workflows) \nCode sample \nCode Samples\n\n### Invoke Cloud Run\n\n\nExecute a Cloud Run job that processes event data saved in Cloud Storage.\n\n\n[Open GitHub](https://github.com/GoogleCloudPlatform/workflows-demos/blob/HEAD/cloud-run-jobs-payload-gcs/workflow.yaml) \nCode sample \nCode Samples\n\n### Use a connector\n\n\nQuery a BigQuery dataset and write the results to a Sheet spreadsheet using connectors.\n\n\n[Open GitHub](https://github.com/GoogleCloudPlatform/workflows-demos/blob/HEAD/workspace-integration/workflows-to-sheets/workflow.yaml) \nCode sample \nCode Samples\n\n### Iterate in parallel\n\n\nPerform parallel iteration using for loops.\n\n\n[Open GitHub](https://github.com/GoogleCloudPlatform/workflows-samples/blob/HEAD/src/parallel_iteration.workflows.yaml) \nCode sample \nCode Samples\n\n### Wait for events using callbacks\n\n\nStore callback details in a Firestore database.\n\n\n[Open GitHub](https://github.com/GoogleCloudPlatform/workflows-demos/blob/HEAD/callback-event/callback-event-sample.yaml) \nCode sample \nCode Samples\n\n### Retry steps\n\n\nRetry steps using a default retry policy.\n\n\n[Open GitHub](https://github.com/GoogleCloudPlatform/workflows-samples/blob/HEAD/src/error_retry.workflows.yaml)\n\nRelated videos\n--------------"]]