Skip to content

Commit fc0e33a

Browse files
committed
Business apps documentation
Adding the initial getting started docs flow along with business apps introduction.
1 parent 559c9eb commit fc0e33a

File tree

4 files changed

+261
-0
lines changed

4 files changed

+261
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Connect your flow to other services
2+
3+
Connect your flow to 200+ services available in Microsoft Flow and build an integrated experience to perform actions in the services. This article continues building the *Projects* list flow built in the previous article *Create your first flow*.
4+
5+
## Connect to Microsoft Teams
6+
7+
In this article, we will connect to Microsoft Teams and post a message to one of the channels.
8+
9+
> While this article focusses on Microsoft Teams, you can connect to various other services as well in your flow.
10+
11+
### Edit the flow
12+
13+
1. Switch to the flow designer tab in your browser.
14+
15+
2. If you do not have the flow designer tab opened, then follow the steps to open the flow:
16+
* Browse to the *Projects* list.
17+
* Click on *Flow* and then *See your flows*.
18+
* If promoted, sign in with your Office 365 account.
19+
* Click on *Send an email for new projects* flow in the *My flows* tab.
20+
* Click on *Edit flow* to edit the flow.
21+
22+
3. Click on *+ New step* in the flow designer.
23+
24+
4. Click on *Add an action*.
25+
26+
5. This will open the actions list where you can search and browse for various actions available in Flow.
27+
28+
6. In the search box, type *Teams* to search for Teams based actions.
29+
30+
7. In the results, click on *Microsoft Teams* connector to filter the actions to just Teams.
31+
32+
8. In the available actions list, click on *Microsoft Teams - Post message*.
33+
> Click on the information icon to read more about the action and what it does.
34+
35+
9. As soon as the action is added, Flow will try to create the Teams connection. Once the connection is created successfully, you should see the action with the available inputs.
36+
37+
10. To see the connection information, click on the `...` button and check the *My connections* section to see the connection information the Teams action is using.
38+
39+
11. Enter the inputs for the Teams action.
40+
* Team Id: Pick a team from the picker.
41+
* Channel Id: Pick a channel from the picker.
42+
43+
12. In order to construct a message that includes the project information, we will need to interact with the dynamic conetent panel. In the *Message*, type the following in the same order as below:
44+
* First type the text: *A new project *
45+
* In the dynamic content list, search and pick the following property: *Title*
46+
* Then type the text: * was added to the Projects list by *
47+
* In the dynamic content list, search and pick the following property: *Created By DisplayName.*
48+
49+
* Click *Save* on the command bar to save your flow.
50+
51+
## Test your flow
52+
53+
1. Click *Test* on the command bar.
54+
55+
2. Click on Using data from previous runs*. Since* we already had previous runs of this flow in the previous article, we can select the same data for this flow run as well.
56+
57+
3. Click on the flow run that says *Succeeded* and then click *Save & Test*.
58+
59+
4. Flow will now run and you should see the status of each action updated successfully in the designer.
60+
61+
5. As a result of this flow run, you should have received an email and a message should be posted on the selected Teams channel.
62+
63+
## Next steps
64+
65+
In the next topic, we will use the same flow and add ... .
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
# Send an email when a new item is created or modified in a SharePoint list
2+
3+
Using Microsoft Flow you can easily automate day-to-day tasks or build repetetive tasks in SharePoint that help you stay productive.
4+
5+
In this tutorial, you will create a flow that will send an email when a new item is added or modified in a SharePoint list.
6+
7+
## Required setup
8+
9+
Before following the steps in this artucle, make sure your SharePoint site is set up with the required lists and libraries.
10+
11+
## Create a flow
12+
13+
1. Browse to the *Projects* list in your SharePoint site.
14+
15+
2. You can create and manage flows for a list or a library by clicking on the *Flow* button on the command bar on the list or library page.
16+
17+
3. Clicking on the *Flow* button exapnds to show you more options:
18+
19+
* Create a flow
20+
* See your flows
21+
22+
> **Note:** You may see other options as well such as 'Request sign-off' and other flows if they are available for the list or library here.
23+
24+
4. Click on *Create a flow*.
25+
26+
5. In the *Create a flow* panel, you can explore various templates available for your list.
27+
28+
6. Click on the template that reads:
29+
> Send a customized email when a new SharePoint list item is added.
30+
31+
7. This will take you to the Flow website where it will display more options:
32+
* Template information
33+
* Name and description of the template.
34+
* Connection information
35+
* Varioius services this flow connect to.
36+
* The credentials those services will use to connect to.
37+
8. Verify the connection information to ensure it uses your credentials.
38+
> A green checkmark icon indicates a connection to the service was succesfully made using your credentials.
39+
40+
9. Click *Continue* to create the flow. Any connections that requires a connection will also be attempted during this step.
41+
42+
10. Once the flow is created successfully, you will be redirected to the flow designer where you can edit and modifify the flow if needed.
43+
44+
11. Click on the name of the flow that reads *Send a customized email when a new SharePoint list item is added* and enter the following name for the flow:
45+
* Send an email for new projects
46+
47+
12. The SharePoint actions are represented with the SharePoint logo in the flow designer.
48+
49+
13. In the *When the new item is created* action, click on *Edit* to expand the action.
50+
51+
14. Notice the input configured to the SharePoint site address and list name fromk where you created the flow.
52+
53+
15. In the *Send Email* action, click on *Edit* to expand the action.
54+
55+
16. Notice all the input is filled in with dynamic values from the *Get my profile* and *When the new item is created* actions.
56+
57+
17. Hover over the dynamic values to see what properties they refer. For example, hovering over the *Email* shows that the property is read from the *Get my profile*'s *Mail* property.
58+
59+
18. Click *Save* to save the flow.
60+
61+
Your flow is active as soon as you save the flow. In our case, this flow *Send an email for new projects* is now active and will run whenever new items are added to the *Projects* list in the specified SharePoint site.
62+
63+
## Test your flow
64+
65+
In order to test your flow, you can test it by adding a new item in SharePoint list by adding a new item or initiating the test run directly from the flow designer. Follow the steps below to test the flow from the designer. Testing the flow from the designer helps you to quickly see the flow run as the flow is executed.
66+
67+
1. In the flow designer, click on *Test* on the top command bar.
68+
69+
2. In the *Test Flow* panel, click on *I'll perform the trigger action* and then click on *Save & Test* button.
70+
71+
3. You should see a message that instructs to add a new list item to the SharePoint list you selected.
72+
73+
4. You should have the browser tab with the *Projects* list opened already. If not, open a new browser tab and browse to the *Projects* list.
74+
> Do not close the flow designer. Make sure you keep the flow designer browser tab open.
75+
76+
5. In the *Projects* list, click on the *New* button on the command bar, add the item as specified below and click *Save*:
77+
* Title: Project 4
78+
* Owner: pick a user from people picker
79+
80+
6. Switch to the flow designer tab.
81+
82+
7. You should see the flow run history. If all of the actions were executed successfully, you will a green checkmark icon besides every action.
83+
84+
8. You can also click on the action to see the inputs and outputs used in the flow run. This is also a good place to see the actual values translated from those dynamic content properties used in that action.
85+
86+
9. As a result of this flow, you should have received an email as well regarding the new project information.
87+
88+
## Modify your flow
89+
90+
1. In the flow designer, click *Edit* to edit your flow.
91+
92+
2. Click on the *Send Email* action.
93+
94+
3. In the *Body* input, append the following string after the *Name* dynamic property:
95+
* Owner:
96+
97+
4. While you are still editing the *Body* input, notice the *dynamic content* list that appears beside the action.
98+
99+
5. In the *dynamic content* list, you can pick values from the actions in your flow. For example: The project owner information is available in the *When the new item is created* trigger.
100+
101+
6. To add the owner information, search for *owner* in the search box in the *dynamic content* list.
102+
103+
7. In the results, click on *Owner DisplayName*. As you can see, it also displays other information such as email, job title, picture and more. Since the *Owner* is a person column in SharePoint, SharePoint passes along the person details as individual properties to the flow.
104+
105+
8. The modified *Body* input should now look like this with the included *Owner* information.
106+
107+
9. Repeat the steps to test the flow.
108+
109+
10. You should now get an email with the updated owner information in it.
110+
111+
## Next steps
112+
113+
Congratulations on creating your first flow!
114+
115+
In the next topic, we will use the same flow and add the ability to interact with Microsoft Teams.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Set up your SharePoint site with lists and libraries
2+
3+
In order to successfully complete the getting started tutorials, set up your SharePoint site with the following.
4+
5+
## Projects list
6+
7+
Create a new SharePoint list called *Projects*. Follow the steps below to create a new SharePoint list.
8+
9+
### Create a new list
10+
11+
1. Browse to your SharePoint site.
12+
2. In the command bar, click on *New->List*
13+
3. In the *Create list* panel, enter the following and click *Create* to create the list:
14+
15+
* **Name:** Projects
16+
* **Description:** Projects list.
17+
4. You will be automatically redirected to the *Projects* list.
18+
5. Click on *+ Add column* and then select *Person* column type to add an Onwer column to the list.
19+
6. In the *Create a column* panel, enter the following and click *Save* to add the column to the Projects list:
20+
21+
* **Name:** Owner
22+
* **Description:** Project owner.
23+
7. The new *Owner* column will now be available in the Projects list.
24+
25+
### Add new project items
26+
27+
Click on *New* button in the command bar and add the following list items:
28+
29+
* Item 1
30+
* **Title:** Project 1
31+
* **Owner:** pick a user from people picker
32+
33+
* Item 2
34+
* **Title:** Project 2
35+
* **Owner:** pick a user from people picker
36+
37+
* Item 3
38+
* **Title:** Project 3
39+
* **Owner:** pick a user from people picker
40+
41+
## Next steps
42+
43+
Now that you have set up your site with the lists and libraries, you can get started working with flows by creating your first flow.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# SharePoint custom forms and automated business workflow
2+
3+
Creativity and teamwork are essential to transforming business process. Most processes center on content – files and data. SharePoint gives you tools to gather and manage data in lists and libraries.
4+
5+
Office 365 provides connections to a range of third-party systems with Microsoft Flow and PowerApps. Flow lets you easily automate business processes and PowerApps lets you create great forms and mobile apps based on SharePoint files and data. Both PowerApps and Flow feature intuitive visual designers, so anyone can craft forms and screens in an easy-to-use interface.
6+
7+
## Microsoft Flow
8+
9+
Using Microsoft Flow, you can create workflows through an easy-to-use visual designer that will guide you through each step and help authenticate your accounts.
10+
11+
Select from dozens of pre-made templates also available in Flow to start automating your app’s usage. Here are just a few applications of these templates:
12+
13+
* Create a new record in Dynamics CRM when a new list item is added to a SharePoint list.
14+
* Copy new members from MailChimp lists to SharePoint lists.
15+
* Move files to different folders after they’re approved in SharePoint.
16+
* Create a new item in SharePoint when a new order is added in Salesforce.
17+
* Route finished documents to a team for approval
18+
19+
Whether you start with a template or begin from scratch, using Flow to create automation features is intuitive and easy to understand.
20+
21+
Cross-tool functionality seamlessly moves your data from one operation to another. Since SharePoint is a core piece of the Office 365 suite,your data easily integrates with tools like Excel or Power BI reporting. And since it uses an Excelinspired expression language, these tools talk with each other, using formula language you already recognize and understand to integrate your data from one function to the next.
22+
23+
## Microsoft PowerApps
24+
25+
Using Microsoft PowerApps, you can create apps with a point-and-click approach to app design. You can use the option to use automatically generated pre-made templates or customize the tool to fit your more specific needs. Then, once your app is complete, you can instantly publish it to Windows, the web, iOS, and Android.
26+
27+
Classic mobile and web apps typically required separate coding for each platform, which can be costly and time-consuming to do—especially since programmers are currently in high demand. Instead, PowerApps simplifies the process so anyone can do it. Its easy-to-use, browser-based visual designer helps you rapidly build custom business apps without having to write any code.
28+
29+
By connecting PowerApps to your existing systems and data, you can quickly build reports, forms, and workflows, then publish your app instantly to all users in your organization.
30+
31+
PowerApps also allows you to easily customize the form for a SharePoint list. With custom forms, you can, for example:
32+
33+
* Show or hide certain fields
34+
* Re-organize those fields
35+
* Change the layout of the form
36+
* Add formatted text and graphics
37+
38+
When you publish your changes, the form is embedded within the SharePoint list for use by all of its users.

0 commit comments

Comments
 (0)