This tutorial will help you to create a Power flow app that automatically translates the email content to any preferred language.
Click on the Automated flow
There will be many flow triggers available for power flow. choose “When a new email arrives” depends on your email setup
It may redirect the user to authenticate to access mailbox.
By default the mailbox folder will point to “Inbox”, it is flexible enough to change the folders.
We have additional options to create filter/rule for mails, example: – if the subject has certain keywords – If the mail received only from firstname.lastname@example.org – etc., feel free to configure based on the need.
Click on “New step” and search for “translate” and then choose Microsoft Translator from the list of operations
First time when Microsoft translator is chosen, it will ask the user to provide the connection name, you don’t have to provide the key, yet it will translate the text. But the no of requests per day will be limited.
Based on the requirement, you can purchase the key from Microsoft cognitive servers, for now we are not going to use the key.
NExt step is to choose the actions from Microsoft translator, They have three different actions available 1. Detect language – If the requirement is to just detect what the language of any content, this option is ideal 2. Translate text – If the content has to be translated to a different language, this would be the ideal option, In our example, we are going to use this option
The next step is to choose the target language to translate the actual content. In this example, it would be the mail content. Microsoft Translator supports around 80 languages,
In this case, English has been selected as a target language, choose “Body” parameter in “text” field
Add a new step and choose “Mail” from the operations list. Now we are going to send an email notification with translated text
select “Send an email notification” and provide 1. email address, 2. Subject In body, select “Translated Text” (this value is the output from the previous step “Microsoft translator”)
In below step, actual email body is also attached, so the user can cross-check the translation vs the original email.
static void Main(string args)
IWebDriver driver = null;
//driver = new ChromeDriver(@"c:\temp\");//load chromedriver from desired folder.
driver = new ChromeDriver(AppDomain.CurrentDomain.BaseDirectory);//load chromedriver from bin folder as nuget package deploys chrome driver .exe and other dlls into bin
driver.Url = "https://www.google.com";//Set the url you would like to navigate
catch (Exception e)
Console.WriteLine("Exception" + e.ToString());
Use bin or desired folder to load chrome driver
driver = new ChromeDriver(AppDomain.CurrentDomain.BaseDirectory);
//this helps loading chromedriver from bin folder
driver = new ChromeDriver(@"c:\temp\");
//this helps to load chromdriver.exe from temp folder.
This article will help developers to create a simple AI application using Microsot LUIS. In the below example, we will be able to create one simple conversation with Microsoft LUIS. (Ex: who are you? ) and LUIS will understand command provided.
People may use various way to find out about one. So we are going to put all those sentences as intents (Ex: Who are you? , what are you? , who. etc.,)
Once the app has been created, we need to create intents. There are lot of prebuilt intents available from microsoft that can be used. (Example Music related, Fitness related, places, travel, etc.,)
the intent name is “Who”
this is where we start populating intent sentences for “Who“, i have given four sentences just for an article purpose.
once intents are populated, it is important to click on “Train”. this will be automatically added to the training data. If the train button shows red, then some new intents are not yet added to the model , so it is important the “Train” button shows green
once the data has been trained, you can perform a small testing by providing various commands and monitor the top scoring intent. it should match the intent you have created.
Once the testing is done, proceed to publish tab and push it to production. It generates an URL which contains the key and the subscription id for the app.
This url will be used in the application
Continue to the next article to see the implementation of LUIS in .net
Sharepoint has a feature to set item level security either manually or through workflow. In some case we might need to dynamic. (Ex: When we restrict people to view only their region data, we can either create different views per region or create a workflow to set the security level based on their region ) . But if its a sensitive data, creating a view doesnt make sense. Somehow we can pull up the data even by creating our own view). This article shows you how to set item level security using SharePoint workflow
1. Select impersonation step, it creates an unique step
2. Now if you click on “Action”, you will notice some new list actions. Add list permission, Inherit list permission, …
with this actions, you can modify current item’s permission or any other list’s item permission.