Custom Copilot - Number API Agent
Magic Number Game

Custom Copilot - Number API Agent

Let’s implement another scenario where we will call API and get response and return back it to user.

It’s a simple scenario where we will ask user to enter any number, again likewise in previous article we will pass it to power automate flow. From there we will call numbersapi that will return us some description against each user input number. For example if we enter 42 it will return description shown in below description.

Fig - 01

Again start with new topic in Microsoft Copilot and enter triggered phrase “Let’s play magic number” and then ask user for number and save user response in a variable.

Fig - 02

Now pass user input number to power automate flow as parameter.

Fig - 03

Now create a power automate flow set the number received from Microsoft Copilot topic in variable named “UserInput”.

Fig - 04

Add and HTTP action to the flow.

Fig - 05

Now provide the required parameters.

URI – https://numberapi.com/UserInput

Method – Get

Fig - 06

When the above HTTP action call API an return some description back, set the return value to ending node variable “Output”.

Fig - 07

After completion you can test your work in Microsoft Copilot studio and publish it.

Finally after successfully publish you can test it into your F&O instance.

Fig - 08









要查看或添加评论,请登录

Muhammad Imran的更多文章

  • Introduction to Microsoft Copilot Studio

    Introduction to Microsoft Copilot Studio

    This blog introduces Microsoft Copilot Studio, highlights its capabilities, and guides you in building your own Copilot…

  • How to enable Copilot capabilities in finance and operations apps

    How to enable Copilot capabilities in finance and operations apps

    Copilot provides users with access to artificial intelligence to help them complete tasks and have a better experience…

  • Setup BYOD for D365 F&O Environment

    Setup BYOD for D365 F&O Environment

    What is BYOD ? BYOD allows administrators or businesses to configure their own database, where you can push data into…

    2 条评论
  • Adding the View details link

    Adding the View details link

    Dynamics 365 for Finance and Operations has a very useful feature that allows the user to open the main record form…

  • Storing the last form values

    Storing the last form values

    In Microsoft Dynamics 365 Finance and Operations (D365 FO), storing the last entered form value can significantly…

    1 条评论

社区洞察

其他会员也浏览了