{"id":110815,"date":"2017-04-11T09:59:42","date_gmt":"2017-04-11T16:59:42","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/html-tables-csvs-computer-vision\/"},"modified":"2017-04-11T09:59:42","modified_gmt":"2017-04-11T16:59:42","slug":"html-tables-csvs-computer-vision","status":"publish","type":"power-automate","link":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/html-tables-csvs-computer-vision\/","title":{"rendered":"Build flows with HTML Tables, CSVs and other new features like OCR and image content detection"},"content":{"rendered":"
Steps in a flow can output a list of items, and up until today, the only way that you could handle such lists was with an\u00a0Apply to each<\/strong>. For example, if you get a list of attachments for an Email, you can upload each <\/strong>of them to your OneDrive for Business (as shown in this template<\/a>). However, sometimes you want to get a list of items and include these items in a single action, such as sending an email with the items, or saving them all to a file. Today, this is possible with the new\u00a0Create HTML Table<\/strong>,\u00a0<\/strong>Create CSV Table<\/strong> and Join<\/strong>\u00a0actions.<\/p>\n The first new action, <\/em>Create HTML Table<\/strong> is particularly useful when you want to send emails that contain a full list of all of the items from a previous step. One simple example is Wunderlist tasks: they can have several Subtasks associated with them. With the new action, you can now get a table in your email with the list of all those subtasks. Just add an action called\u00a0Get Subtasks<\/strong>, and then pass the contents of that step to the Create HTML Table<\/strong> action:<\/p>\n <\/p>\n There is advanced option to\u00a0Include headers<\/strong>\u00a0– this will tell you what each column is. Once the email is sent, it will look something like this:<\/p>\n <\/p>\n Check out the template here to try this yourself.<\/a><\/p>\n The second new action is\u00a0Create CSV Table<\/strong>. This action is most useful when you want to save the contents to a file. These new actions that interact with lists now make it much easier to run flows on a schedule. For example, you can have a flow that will run once a week, and save all of the items in a SharePoint list to a CSV file for archiving.\u00a0<\/p>\n <\/p>\n This action works just like the HTML action, but instead outputs a CSV table, which you can then open in any spreadsheet program, such as Excel. Try out this template to see this example of how it works.<\/a><\/p>\n The third new action, Join, is also very simple. It works with any list of strings. For example, the Twitter action outputs a list of Media URLs. You can\u00a0Join<\/strong>\u00a0each of these urls together with an HTML tag like <br><\/strong> and then you get a simple list that looks like this:<\/p>\n Previously, you had to add every step to the bottom of the workflow and then drag-and-drop it to where you want. We have added new “+”<\/strong> buttons anywhere you can add an action, so now it’s easy to insert a step right in the middle of a large workflow.<\/p>\n <\/p>\n This will make it easier than ever to edit and enrich your existing flows.<\/p>\n This week there were three new services from our partners:<\/p>\n <\/a><\/p>\n Finally, we have also added support for the Computer Vision API<\/a>. The Computer Vision API lets you create flows that extract rich information from images to categorize and process visual data.<\/p>\n To get started, you will first have to get an API get from Cognitive Services. Click this link<\/a>, and be sure to select Computer Vision<\/strong>. You may need to verify your email. You can then copy the Key for this API to your clipboard (you can use Key 1 or Key 2):<\/p>\n <\/p>\n Next, create a flow and select one of the actions. When you do, you will be asked to name the connection and pasted in the Key you copied:<\/p>\n <\/p>\n This API has many useful functions including:<\/p>\n We would love to hear what types of scenarios you can build with this great new API on Twitter<\/a> or on our Community Forum<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":" This week we have a number of new features that make Microsoft Flow more capable than ever. First, you can now generate HTML or CSV tables from lists in flow, in order to easily send an email digest with a summary of information. Second, we have made it possible to insert steps anywhere<\/em> in your flow. Third, we have released support for four new services: 10 to 8 Scheduling<\/a>, Act!<\/a>, Inoreader<\/a> and the Computer Vision API<\/a>. With the Computer Vision API you can process images to get the text content (known as OCR), or automatically tag images based on their content.<\/p>\n","protected":false},"author":347,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","power-automate-category":[2752],"power-automate-tag":[],"coauthors":[2913],"class_list":["post-110815","power-automate","type-power-automate","status-publish","hentry","power-automate-category-product-updates"],"yoast_head":"\nCreate HTML Table<\/h3>\n
Create CSV Table<\/h3>\n
Join action<\/h3>\n
\n<br>http:\/\/example.com\/image1.jpg\n<br>http:\/\/example.com\/image2.jpg\n<\/pre>\n
Insert steps anywhere in your workflow<\/h2>\n
New services<\/h2>\n
\n
Computer Vision API<\/h3>\n
\n