Go with the Flow


Most of us make use of several (specialized) apps in our daily lifes. The apps often times overlap quite a bit. We can save time if these apps are able to exchange data, so we don’t have to key in information twice.

Microsoft Flow is a preview product to help you set up automated workflows between your favorite apps and services to synchronize files, get notifications, collect data, and more. After you sign up, you can quickly start to automate your work.

We have provided you with a bunch of templates to get you started, and obviously you can create your own flows.

Example

In this example I’ll show you how you with the help of Microsoft Flow can synch a Task created in Dynamics CRM Online to Wunderlist (the highly popular app for task management)

So I’ve fired up my browser in which I’ve opened three tabs and logged into Dynamics CRM Online, Wunderlist and Microsoft flow with the same email credentials.

In Wunderlist I’ve created a list called “Synched from CRM” – the list I want as the target for the Tasks I’ve created in Dynamics CRMPicture1
Fig.: Wunderlist
I switch to the Flow browser tab and click “My flows” to get started
Picture2
Fig.: Microsoft Flow

There is no flows yet, and I go ahead and click Create from blank
Picture3
First step is to select a Trigger – what should trigger the workflow. I scroll down and find two Dynamics Online triggers; When a record is created, and When a record is updated. I pick the When a record is created trigger.
Picture4
Since I picked a trigger related to Dynamics CRM Online, and I’m already signed into Dynamics CRM Online in this browser session ….
Picture5
… Microsoft Flow will look up the instances (orgs) I’m a member of for me to select one in the Organization Name drop down
Picture6
I select the Contoso instance
Picture7
The next step is to pick an Entity
Picture8
I go ahead an select Tasks
Picture9
Having configured the trigger, I’m now ready to configure the action I need to take when the trigger fires. I click Next Step
Picture10
I’m presented with two options – create an action or create a condition. Since I want my task to synch unconditionally in this example I’ll go ahead and click Add an action
Picture11
In the When a record is created dialog I’m given a list of actions.
Picture12
To filter the list down I type wunderlist and select the action Wunderlist – Create a Task from the result set
Picture13
Obviously Flow now needs my Wunderlist credentials as well as access to my Wunderlist, so I click Sign In
Picture14
I’m already signed into Wunderlist in the browser session, so I’m simply presented with a pop-up asking me to Authorize Microsoft Flow (part of Microsoft PowerApps) to access my Wunderlist app. I click Authorize
Picture15
Flow now has access to my Wunderlist and my next job is to select the list in my Wunderlist I want my CRM Online tasks synched to
Picture16
I select the “Synched from CRM” list I already prepared
Picture17
For the title of the Task in Wunderlist I now get to choose from the metadata brought over with the CRM Online task
Picture18
The Subject is preselected, but I can expand to see what other options I have
Picture19
Note that these are placeholders – you can add them and mix them with your words to make it more rich (eg [placeholder 1] [your words here] [placeholder 2])

For this example I’ll just stick with Subject
Picture20
Having selected Subject all I need to do is provide a name for the Flow…
Picture21
I type a name for the Flow and click Create Flow
Picture22
The Flow is saved
Picture23

Note – at this point you have a debugging option:

  1. Just click Edit Flow
  2. Go to CRM Online and create a task (to trigger the Flow)
  3. Return to the Flow and wait a few seconds – green check marks next to each step will confirm everything is workin

Since this is a simple flow I’m confident that it works so I just click Done
Picture24
The Flow is running and I can now head over to CRM and create a task to test it out
Picture25
In Dynamics CRM Online I create a task and Save
Picture26
Back in Microsoft Flow in My Flows, I verify the new Flow is listed. I can click the information icon….
Picture27
… to see a status of successes and failures. There is one successful entry – so I’ll head over to Wunderlist to see if I have a new entry in my list “Synched from CRM”
Picture28
And sure enough – a new task with the Subject I typed in Dynamics CRM Online.
Picture29

Picture30

We have only just started on our journey to make it easier than ever for you to connect your apps with simple configuration. Enjoy!

Comments (0)

Skip to main content