Created
May 15, 2021 19:02
-
-
Save grant/a47e23f2d44241ea9aa7beb6cf17008b to your computer and use it in GitHub Desktop.
Cloud Workflow – myFirstWorkflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- getCurrentTime: | |
call: http.get | |
args: | |
url: https://us-central1-workflowsample.cloudfunctions.net/datetime | |
result: currentTime | |
- readWikipedia: | |
call: http.get | |
args: | |
url: https://en.wikipedia.org/w/api.php | |
query: | |
action: opensearch | |
search: ${currentTime.body.dayOfTheWeek} | |
result: wikiResult | |
- returnResult: | |
return: ${wikiResult.body[1]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment