Skip to content

Instantly share code, notes, and snippets.

@jeffhollan
Last active May 1, 2016 07:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffhollan/8650f34fef387edf8093000e77379e72 to your computer and use it in GitHub Desktop.
Save jeffhollan/8650f34fef387edf8093000e77379e72 to your computer and use it in GitHub Desktop.
{
"$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