How To Integrate Microsoft Flows - dynamics-crm

I am creating Flows in https://flow.microsoft.com,
I Don't know that How I can use or call these flow from my website. or how I can integrate it from my website.
What I want : I want to create these flow in my website and want users to select or create flows and then want to trigger these flow on some conditions.
So do I have to design this all in my website or I can integrate already created user flow in my website from
https://flow.microsoft.com
Is there any api to integrate it?
I want to integrate Dynamic 365 and sales force flows
I saw a thread Microsoft Flow integration But no answer here.
Please suggest what should I do to trigger flows from external websites.
Thanks

One option would be to select "HTTP Request" as the trigger, and pass in a JSON object to start a Flow. This would enable you to call it from an external website with whatever parameters you want.

Related

Google Analytics Report Integration with java application

I have a java application where users with different roles logged in and perform various activities. I am tracking each user with their useid and Roles and creating custom reports in Google analytics through GTM. In reports i am displaying which user with what roles logged in how many times which date visited etc.I GA i created custom reports which gives charts and table.Charts which GA is giving is as below.
In my java spring application in admin section i want to display the above graph. Please suggest me the steps and action i need to follow to integrate GA reports graph to my java application.
Regards,
Prabhash Mishra
GA4 has a reporting API You can use that to pull the data. It may be quite uncomfortable to pull the data via it, so there's another option. You can seamlessly export your data to BQ then ETL it from there using some public libraries for working with BQ.
Going the BQ route will result in way easier debugging since you'd see how the data really looks like directly in BQ.

How to implement Amazon MWS api in MVC Web API?

I am new to Amazon marketplace web service (MWS). I have read documentation of web service but I am unable to understand which api suit for update quantity and price of single or multiple product at one time.
Here is link that I am reading so far and don't know where to start.(http://docs.developer.amazonservices.com/en_US/feeds/Feeds_SubmitFeed.html)
Can you guys suggest me where to start?
Check out the feed types. You're going to want to submit a pricing or inventory feed to update your inventory. Once you have a feed created, you submit that using the SubmitFeed operation.
For an overview on how feeds works, check out this What you should know about the Amazon MWS Feeds API section.
Specifically for ASP.NET, there is an SDK built that will help you greatly. If you want to know how to implement that as a web api, that's another topic, but you can wrap code from the SDK inside a web api endpoint. But start with understanding MWS.

Microsoft Flow integration

I read an article about Microsoft Flow. I was wondering if it is possible to trigger events using this in an external website.
For instance, supposing a post is made on Yammer for some approval flow based application. If an authorized user comments saying "Approved", this must trigger an action in my external website.
Is this feasible using Flow?
You can also make your own custom connectors if your website has a RESTful API. https://learn.microsoft.com/en-us/flow/register-custom-api
There is an event for Yammer in Microsoft flow. I have something set up similar for my company and Twitter. When our company is mentioned it sends a message off to our social director.
I have several such flows for things like Yelp, Twitter, Facebook.
You need your Yammer account.
The events that you can trigger from and then include a trigger word or phrase are:
Get All messages
Get Messages in a group
Get Messages from my Following Feed
Post Message
Once you have that trigger its simple enough to look for the key word within a condition step.
Chances are good there is already a template for this in Microsoft Flow. Just look at the ones for Yelp, Facebook, etc. and modify for your needs
Just as AJAX mentioned, you can apply your own Custom Connector for a case like this. A Connector is the "plugin" used with a Flow, such as Yammer.
It's a bit late since November 28th (practically a 30-day late response here), but PowerApps allows you to create your own Custom Connector applying Microsoft's API. You'd be able to plug into your website (GET, POST, etc) directly with this when you create a trigger (the condition met true) that would launch an action. If you created your own API, Microsoft would have to validate if it's met standards pertaining to security.
By applying PowerApps, you'd be able to create your own actions and triggers. From this, you can integrate your own web based process' based on documentation that was observed: https://powerapps.microsoft.com/en-us/blog/brand-new-custom-api-experience-in-powerapps/. From here, you'd be able to customize it was needed.
JSON is required for some circumstances, however Postman would be a great IDE to consider as it also applies a pre-approved API by Micrsoft.

Use Application Insights to view all REST API requests per user

We are developing a WebApi2 application. Users can use the REST API using their specific API key. I am investigating how to setup Application Insights to be able to see the usage of the REST API endpoints per user.
I have been experimenting with using telemetryclient.TrackPageview(endpoint-ID) and telemetryclient.TrackEvent(endpoint-ID), but I am not sure if this is the right way to go. And how should I pass the user-ID (API-key) in the tracking call? As telemetryclient.Context.User.Id? Or using properties or some other way? I would like to be able to use the user-ID to aggregate/segment the pageviews/events that were registered for that particular user. Any ideas are welcome!
I'd suggest using the built in properties, like context.user.id whenever possible, and then custom properties after that.
Currently in the portal, from the search view you can then find an item for any user, then use the "related items" to view "all telemetry for this user" to see all of the items.
Then can use the App Analytics portal to do queries (click the "analytics" button toolbar in the overview blade for your resource azure portal to go to the AA site for that resource), and that service lets you write much richer queries.
in those queries, it's easiest to group/filter on the "built in" properties, for custom properties you have to write a little bit more complicated queries to parse the values out of custom code.

Need real time example of an action in Microsoft dynamics CRM

In Microsoft Dynamics CRM, I know the requirements when to use the plugin, workflows and custom workflows, but I cannot come across those cases or situations when I can use the actions or custom actions.
Can anybody suggest me real time requirement when to use the action?
If possible, please demonstrate an "action" with an example.
Thanks,
Actions are really a supported way to create a custom request, that performs a custom action (or more likely, set of actions) and returns a custom response. I'd say the most likely use case is if you have an external system that needs to perform a set of actions in CRM. Let's say the external system handles phone calls, and needs to create an account, and a phone call record. The custom action could accept the phone number and a couple other fields and then generate the Account, Phone Call, and associate the phone call to the account all in one SOAP request.
One simple use is when you need to execute some server side code from JavaScript by clicking a button in the ribbon OR any where in the client side(not on an entity delete, update, create etc.... messages.) , then you need to create an Action.
e.g if you have to implement some logic and you feel it would be very complex Or not possible on client side (JavaScript), then you should just create an action, implement your logic in that action(server side) and call that action in JavaScript.
For more Info Actions

Resources