Last active
May 1, 2016 07:20
-
-
Save jeffhollan/8650f34fef387edf8093000e77379e72 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#", | |
"triggers": { | |
"manual": { | |
"inputs": { | |
"schema": {} | |
}, | |
"type": "Manual" | |
} | |
}, | |
"actions": { | |
"SlackDecodeURL": { | |
"conditions": [], | |
"inputs": { | |
"body": { | |
"form": "@{triggerBody()}" | |
}, | |
"function": { | |
"id": "/subscriptions/80d4fe69-1234-1234-1234-9250f1c8ab03/resourceGroups/AzureFunctions-WestUS/providers/Microsoft.Web/sites/jehollanfunction/functions/SlackDecodeURL" | |
} | |
}, | |
"type": "Function" | |
}, | |
"Response": { | |
"conditions": [ | |
{ | |
"dependsOn": "SlackDecodeURL" | |
} | |
], | |
"inputs": { | |
"body": "You said: @{body('SlackDecodeURL')['text']}", | |
"statusCode": 200 | |
}, | |
"type": "Response" | |
} | |
}, | |
"contentVersion": "1.0.0.0", | |
"outputs": {}, | |
"parameters": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment