Skip to content

Commit ad3de2c

Browse files
authored
Update site-design-trigger-flow-tutorial.md
Enhanced bullet points and JSON sample formatting. Updated ms.date property
1 parent e290b02 commit ad3de2c

File tree

1 file changed

+34
-35
lines changed

1 file changed

+34
-35
lines changed

docs/declarative-customization/site-design-trigger-flow-tutorial.md

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Using site designs and Power Automate to track site creation requests
33
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
55
localization_priority: Priority
66
---
77

@@ -28,12 +28,11 @@ You need to first set up the list that will be used to record all the sites crea
2828
2. Create a new list named "Site Directory"
2929

3030
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)
3736

3837

3938
## Create the flow
@@ -50,39 +49,39 @@ In order to capture the site creation event and create the corresponding list it
5049

5150
4. Enter the following JSON as your request body:
5251

53-
```
52+
```json
5453
{
55-
"type": "object",
56-
"properties": {
54+
"type": "object",
55+
"properties": {
5756
"webUrl": {
58-
"type": "string"
57+
"type": "string"
5958
},
6059
"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"
6967
}
68+
}
7069
},
7170
"webDescription": {
72-
"type": "string"
71+
"type": "string"
7372
},
7473
"creatorName": {
75-
"type": "string"
74+
"type": "string"
7675
},
7776
"creatorEmail": {
78-
"type": "string"
77+
"type": "string"
7978
},
8079
"createdTimeUTC": {
81-
"type": "string"
80+
"type": "string"
8281
}
82+
}
8383
}
84-
}
85-
```
84+
```
8685

8786
5. Select **+ New Step**.
8887

@@ -130,18 +129,18 @@ To create a site design, you first need to create a site script. A site design i
130129

131130
```json
132131
{
133-
"$schema": "schema.json",
134-
"actions": [
132+
"$schema": "schema.json",
133+
"actions": [
135134
{
136-
"verb": "triggerFlow",
137-
"url": "[paste the workflow trigger URL here]",
138-
"name": "Record site creation event",
139-
"parameters": {
140-
"event":"site creation",
141-
"product":"SharePoint Online"
142-
}
135+
"verb": "triggerFlow",
136+
"url": "[paste the workflow trigger URL here]",
137+
"name": "Record site creation event",
138+
"parameters": {
139+
"event": "site creation",
140+
"product": "SharePoint Online"
141+
}
143142
}
144-
]
143+
]
145144
}
146145
```
147146

0 commit comments

Comments
 (0)