Extend Microsoft Flow Capabilities Using Microsoft Graph API
1. Extend Microsoft Flow capabilities
using Microsoft Graph API
Suhail Jamaldeen
Microsoft MVP
@SuhailCloud
2. Agenda
Microsoft Flow
MS Flow Supported Platforms
Basic Structure of the MS Flow
How to create MS Flows
Microsoft Graph API
Supported Platforms
Call Office 365 Service
Developer Advantage
3. Microsoft Flow
Microsoft Flow is cloud-based software as other Office 365 products
Helps you create automated workflows between your favorite apps and
services
Can develop workflow without any development knowledge
Multiple Templates
Combination of Trigger, Action and Condition
Successor to SharePoint Designer Workflows
4. MS Flow Supported Platforms
• Can interact with other applications like MailChimp, Dropbox, Twitter,
SharePoint, and OneDrive and many more
• Some services are labeled as Premium (e.g. Salesforce, CDS)
5. Start with a Trigger
Examples:
• When a new item is created in a SharePoint list or library
• When a new tweet is posted containing a particular term
• Flow button on a mobile device
• Triggered from a PowerApp
• On a schedule
6. Perform Actions
Examples:
• Create a SharePoint item or CDS record
• Post a tweet
• Send a mobile notification
• Interact with PowerApps
• Use the Modern Approvals experience
7. Create Flows
• Create a Flow directly from your Custom list or Document Library in
the browser or phone app
• Create/run a Flow on a selected file, item, or folder
• Using the app, search for SharePoint triggers and actions
11. Calling Office 365 APIs
Find the URL/endpoint of the API
Authenticate/Get access token
Get information from the API
Repeat for each service/API
Multiple token management
12. Developer Advantage
Mostly everything from a single endpoint.
No separate token management
Multiple platform supported with examples and code base
Code base are open source and available in GitHub
Azure Active Directory
Office 365 services: SharePoint, OneDrive, Outlook/Exchange, Microsoft Teams, OneNote, Planner, and Excel
Enterprise Mobility and Security services
Windows 10 services
Dynamics 365, and more.