-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathEmailNotifier.json
More file actions
67 lines (67 loc) · 2.35 KB
/
EmailNotifier.json
File metadata and controls
67 lines (67 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"$connections": {
"value": {
"outlook": {
"connectionId": "/subscriptions/cc8de771-4573-491e-beac-b656504ce601/resourceGroups/AnalysisAcquisition-rg/providers/Microsoft.Web/connections/outlook-3",
"connectionName": "outlook-3",
"id": "/subscriptions/cc8de771-4573-491e-beac-b656504ce601/providers/Microsoft.Web/locations/southeastasia/managedApis/outlook"
}
}
},
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"전자_메일_보내기": {
"inputs": {
"body": {
"Body": "@triggerBody()?['body']",
"Subject": "@triggerBody()?['title']",
"To": "@triggerBody()?['to']"
},
"host": {
"api": {
"runtimeUrl": "https://logic-apis-southeastasia.azure-apim.net/apim/outlook"
},
"connection": {
"name": "@parameters('$connections')['outlook']['connectionId']"
}
},
"method": "post",
"path": "/Mail"
},
"runAfter": {},
"type": "ApiConnection"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {
"$connections": {
"defaultValue": {},
"type": "Object"
}
},
"triggers": {
"manual": {
"inputs": {
"schema": {
"properties": {
"body": {
"type": "string"
},
"title": {
"type": "string"
},
"to": {
"type": "string"
}
},
"type": "object"
}
},
"kind": "Http",
"type": "Request"
}
}
}
}