Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Workflows Study Notes

Workflows is a fully managed, serverless orchestration service that connects Google Cloud services and HTTP APIs in a defined sequence using YAML or JSON syntax. Each execution runs steps that can call services, evaluate conditions, handle errors with retries, and wait for callbacks. You pay per step executed and there is no infrastructure to provision or maintain.

Exam tip: For ACE questions about connecting several Google Cloud APIs in order with branches and retries, but no servers or Airflow, choose Workflows.

Key facts

What the exam expects you to know

Workflows vs Cloud Composer: when to use which

Choose Workflows when the process is a sequence of Google Cloud API and HTTP calls, needs to scale to zero, and can be expressed cleanly in YAML steps with conditions and retries. Choose Cloud Composer when the team needs Apache Airflow's Python DAGs, extensive operator library, and scheduling features for complex data engineering pipelines. Workflows is event-friendly and serverless with per-step billing, while Composer runs a managed but always-on environment. Exam clue: orchestrating services and APIs with no infrastructure points to Workflows; Airflow, DAGs, and data pipeline scheduling point to Composer. See also the Cloud Composer notes.

Useful gcloud commands

gcloud workflows list --location=us-central1
gcloud workflows execute my-workflow --location=us-central1 --data='{"input":"value"}'
gcloud workflows executions list my-workflow --location=us-central1

Common exam traps

Frequently asked questions

How is a Workflows execution triggered?

Executions can be started through the Cloud Console, the gcloud workflows execute command, or the Workflows API, and they can be triggered automatically by Eventarc events or on a schedule through Cloud Scheduler calling the workflow. Each execution receives JSON arguments, runs independently, and records its step history, result, and any errors for inspection afterwards.

What can a single workflow step do?

A step can assign variables, call an HTTP endpoint or a Google Cloud service through a connector, evaluate a switch condition to choose the next step, iterate over a list with a loop, raise a custom error, or pause to wait for a callback. Combining these primitives lets a definition express branching business logic without deploying custom code.

How does Workflows handle a failing step?

Steps can be wrapped in try and except blocks with a retry policy that repeats the call with backoff when the error matches specified conditions, such as transient server errors. If retries are exhausted, the except block can run fallback steps, assign a default value, or end the execution with a clear error, making failures predictable and observable in the execution history.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.