Awesome! Create Charts via Office Scripts

Want to generate charts from Excel data and automatically send them to Teams, email, or embed them in Word and PDF documents? In this post, I’ll show you how to use Office Scripts with Power Automate to create dynamic charts as images and distribute them however you need. These charts can be created and returned as images to Power Automate and then used in any document of your choice. Send the chart via Teams. Send the chart(s) to external users via email. Embed the charts into Word, HTML, or permanent PDF files using Premium or regular actions. ...

20 June 2021 · 6 min · DamoBird365

How To Parse any CSV to JSON Array

The ultimate free solution, parse any CSV file to a JSON Array via a Power Automate Flow. This flow will parse any CSV file, no matter the encoding. It will handle Unix, Windows, or Mac files. The key values (i.e. the header row) will be dynamically mapped and it will handle CSV files of all shapes and sizes. Whilst I have previously blogged about parsing an array with a select action, this solution did not handle varying header lengths automatically. ...

24 May 2021 · 2 min · DamoBird365

Amazing - saving an attachment to a custom folder or site

If you regularly receive emails with attachments that need filing into specific SharePoint folders or sites, this one’s for you. In this post, I’ll show you how to use Power Automate to automatically save email attachments to a custom folder or SharePoint site based on the subject line or file name. This use case was originally inspired by Xerox Docucentres, which enable end-users to email themselves a scanned document — but it applies equally to any routine email with attachments. This can be achieved relatively easily and would save you a lot of routine administration time. ...

22 May 2021 · 5 min · DamoBird365

Retrieve Array of SharePoint List Choices via Cloud Flow

Need to dynamically pull the choice values from a SharePoint column into your Power Automate flow? There’s a handy but little-known REST endpoint in the SharePoint API that makes this straightforward. In this post, I’ll show you how to call it and format the results into a clean array for use in your Cloud Flow. The SharePoint REST Endpoint Here is an example Choice Column in SharePoint: Using the endpoint http://myserver/_vti_bin/ListData.svc where myserver is the SharePoint site URL, you will retrieve an XML formatted list of all collections of information available on this site. Here you can browse a list of the various data collection names. ...

16 May 2021 · 2 min · DamoBird365

If, Else If, Else in Power Automate Simplified

If you’ve ever built a Power Automate flow with dozens of conditions or a massive switch statement, you know how quickly things spiral out of control. In this post, I’ll show you a cleaner approach to handling if/else if/else logic — using arrays and the filter action to dramatically simplify your flows. The Problem with Switch and Parallel Actions **The scenario.**You have a mailbox that you are looking to monitor with a cloud flow and if the subject line matches one of ten possible strings, you want to save the body to a list and email a specific line manager. I’ve started to build the switch solution and then realise, one this is getting out of control, my screen isn’t big enough and two, the condition I need is subject line contains. Surely there is a better way? ...

14 May 2021 · 5 min · DamoBird365

Easily address escaped characters in Forms Response

Dealing with escaped characters in Microsoft Forms responses? If you’ve ever tried to loop through multi-select answers in Power Automate and hit the dreaded “result must be a valid array” error, you’re not alone. In this post, I’ll show you the cleanest way to handle escaped JSON — and it’s simpler than you think. The Problem with Escaped Characters When you select the dynamic answer from a question and run it through an apply to each action you get an error: ...

13 May 2021 · 2 min · DamoBird365

Expose SharePoint Data to the Web with HTTP API

Off the back of my Power Platform Quiz concept where I first used the HTTP API, I have built a solution that in real-time will dynamically serve up files hosted on SharePoint, also using the HTTP API in Power Automate! I first learned about this possibility whilst in discussion with Paul at TachyTelic. This is a working proof of concept and I would love to get your feedback. Imagine that you create documents that need to be served up to the public via your website. You might have version control on these and you might want approval. Quite often the file would be saved to a traditional server or onto a SharePoint document library and then comes the time of publishing. You get in contact with your web team, you send them a copy of the document and they publish the file to the website for you. What happens next? You spot a typo and you need to edit the file and have the Web Team republish that file via the corporate content management system. How much time would you spend on this process each time? ...

29 April 2021 · 4 min · DamoBird365

One to one relationship between data in Flow

Need to combine data from multiple sources — like Excel tables and SharePoint lists — into a single array in Power Automate? In this post, I’ll show you how to create a one-to-one relationship between non-relational data sources using a single Apply to Each loop, filter arrays, and a compose trick to build a clean JSON array for the next stage of your flow. Data Sources Excel Sheet contains two tables of data that are related by the ID ...

16 April 2021 · 3 min · DamoBird365

Easily Send Email - Mail Merge with Attachments

Need to send personalised emails with unique attachments — like monthly invoices — to a list of customers? In this post, I’ll show you how to build a mail merge with attachments in Power Automate, pulling customer data from Excel and attaching the right file for each recipient automatically. If you have a requirement for creating invoices in an automated fashion please take a look at some of my other ideas here: ...

9 April 2021 · 4 min · DamoBird365

Parse A CSV To JSON Array Quickly

Got a CSV file you need to turn into a JSON array in Power Automate — without premium connectors? In this post, I’ll share a copy-and-paste Select Action that does exactly that. Just paste it into your flow, adjust the columns, and you’re done — no Apply to Each loops required. I’ve recently covered how to efficiently parse a CSV here vs the age-old apply to each solution. Updated Solution Available Note, that I now have an ever more improved parsing solution. Handle the column keys dynamically. Any shape or sized CSV without the need to edit the existing flow. Retrieve data from OneDrive, SharePoint and Outlook Attachements. ...

3 April 2021 · 5 min · DamoBird365