Skip to content

Instantly share code, notes, and snippets.

@xSAVIKx
Last active January 9, 2023 11:28
Show Gist options
  • Save xSAVIKx/42adbfeaf0e046c1178c2d99e12a7df0 to your computer and use it in GitHub Desktop.
Save xSAVIKx/42adbfeaf0e046c1178c2d99e12a7df0 to your computer and use it in GitHub Desktop.
A sample GCP Workflow
main:
steps:
- getCurrentTime:
call: http.get
args:
url: https://us-central1-workflowsample.cloudfunctions.net/datetime
result: currentDateTime
- returnOutput:
return: ${currentDateTime.body.dayOfTheWeek}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment