How to call Power Automate Flow Via JS (CustomButton) – YouTube

Manish chauhanYouTube20 hours ago15 Views



In this video, I’ll show you step-by-step how to call a Power Automate flow using JavaScript from a custom ribbon button in a Model-Driven App (Dynamics 365 CRM).
 
🔧 Whether you’re a Dynamics 365 developer or Power Platform enthusiast, this is a practical and real-world example to enhance your automation skills.
 
We’ll start with a working demo, then walk through the requirement, create the Power Automate flow, write the JavaScript, and finally add everything to CRM — including real-time debugging and testing.
 
 
🔍 What’s covered in this video:📌 Introduction and working demo
 
🔍 Explaining the use case: Send email from custom button
 
⚙️ Creating Power Automate flow with HTTP trigger
 
🧠 Writing JavaScript to trigger flow
 
🌐 Adding JavaScript as a Web Resource
 
➕ Creating a custom ribbon button
 
🧪 Testing in real-time
 
🐞 Debugging and fixing JavaScript errors
 
🔁 Updating the web resource and flow
 
🎯 Final working result
 
 
This video consists of:
00:00-00:54 Intro and demo
           00:54-01:16 Requirement Explanation
           01:16-04:15 Creating Power Automate Flow
           04:15-07:56 JavaScript Code writing
           07:56-08:42 Adding JS as WebResource
           08:42-10:02 Adding custom Button on Main Form
           10:02-10:59 Testing
           10:59-11:32 Debugging JS
           11:32-11:52 Updating the Webresource
           11:52-12:38 Second Testing
           12:38-13:11 Power Automate Flow Updation
           13:11-13:40 conclusion

#dynamics365 #crm #powerplatformwork #WordTemplate #d365crm #documentautomation #microsoftdynamics #crmtraining #js #javascript

source

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Top Headlines
    Join Us
    • X Network2.1K
    • LinkedIn3.8k
    • Bluesky0.5K
    Support The Site
    Events
    August 2025
    MTWTFSS
         1 2 3
    4 5 6 7 8 9 10
    11 12 13 14 15 16 17
    18 19 20 21 22 23 24
    25 26 27 28 29 30 31
    « Jul   Sep »
    Follow
    Search
    Loading

    Signing-in 3 seconds...

    Signing-up 3 seconds...