You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/declarative-customization/site-design-trigger-flow-tutorial.md
+34-35Lines changed: 34 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Using site designs and Power Automate to track site creation requests
3
3
description: Invoke a Power Automate flow using the site script triggerFlow action to capture the site creation event and build a site directory. This tutorial is intended to illustrate a simple example of using site designs and Power Automate.
4
-
ms.date: 11/25/2019
4
+
ms.date: 06/05/2020
5
5
localization_priority: Priority
6
6
---
7
7
@@ -28,12 +28,11 @@ You need to first set up the list that will be used to record all the sites crea
28
28
2. Create a new list named "Site Directory"
29
29
30
30
3. Configure the following fields:
31
-
32
-
- webUrl (Hyperlink or Picture)
33
-
- webDescription (Single line of text)
34
-
- creatorName (Single line of text)
35
-
- creatorEmail (Single line of text)
36
-
- createdTimeUTC (Single line of text)
31
+
- webUrl (Hyperlink or Picture)
32
+
- webDescription (Single line of text)
33
+
- creatorName (Single line of text)
34
+
- creatorEmail (Single line of text)
35
+
- createdTimeUTC (Single line of text)
37
36
38
37
39
38
## Create the flow
@@ -50,39 +49,39 @@ In order to capture the site creation event and create the corresponding list it
50
49
51
50
4. Enter the following JSON as your request body:
52
51
53
-
```
52
+
```json
54
53
{
55
-
"type": "object",
56
-
"properties": {
54
+
"type": "object",
55
+
"properties": {
57
56
"webUrl": {
58
-
"type": "string"
57
+
"type": "string"
59
58
},
60
59
"parameters": {
61
-
"type": "object",
62
-
"properties": {
63
-
"event": {
64
-
"type": "string"
65
-
},
66
-
"product": {
67
-
"type": "string"
68
-
}
60
+
"type": "object",
61
+
"properties": {
62
+
"event": {
63
+
"type": "string"
64
+
},
65
+
"product": {
66
+
"type": "string"
69
67
}
68
+
}
70
69
},
71
70
"webDescription": {
72
-
"type": "string"
71
+
"type": "string"
73
72
},
74
73
"creatorName": {
75
-
"type": "string"
74
+
"type": "string"
76
75
},
77
76
"creatorEmail": {
78
-
"type": "string"
77
+
"type": "string"
79
78
},
80
79
"createdTimeUTC": {
81
-
"type": "string"
80
+
"type": "string"
82
81
}
82
+
}
83
83
}
84
-
}
85
-
```
84
+
```
86
85
87
86
5. Select **+ New Step**.
88
87
@@ -130,18 +129,18 @@ To create a site design, you first need to create a site script. A site design i
0 commit comments