Workflows for orchestration
📖 Scenario: You are building a simple workflow in Google Cloud Workflows to automate a daily task. This workflow will call two services in sequence: first, it will call a mock API to fetch data, then it will call another mock API to process that data.This project will guide you step-by-step to create the workflow definition in YAML format.
🎯 Goal: Create a Google Cloud Workflow YAML file that defines a sequence of two steps: fetchData and processData. Each step calls a mock HTTP endpoint. The workflow should be valid and deployable.
📋 What You'll Learn
Create a workflow named
dailyTaskWorkflow with an initial stepAdd a configuration variable for the base API URL
Define the
fetchData step to call the /fetch endpointDefine the
processData step to call the /process endpoint using data from fetchData💡 Why This Matters
🌍 Real World
Automating sequences of API calls is common in cloud environments to integrate services without manual intervention.
💼 Career
Understanding how to define and deploy workflows helps in roles like cloud engineer, DevOps, and site reliability engineering.
Progress0 / 4 steps