Skip to main content
BI4ALL BI4ALL
  • Expertise
    • Artificial Intelligence
    • Data Strategy & Governance
    • Data Visualisation
    • Low Code & Automation
    • Modern BI & Big Data
    • R&D Software Engineering
    • PMO, BA & UX/ UI Design
  • Knowledge Centre
    • Blog
    • Industry
    • Customer Success
    • Tech Talks
  • About Us
    • Board
    • History
    • Sustainability
    • Awards
    • Media Centre
    • Partners
  • Careers
  • Contacts
English
Português
Last Page:
    Knowledge Center
  • Microsoft Power Automate in the accounts receivable process

Microsoft Power Automate in the accounts receivable process

Página Anterior: Blog
  • Knowledge Center
  • Blog
  • Fabric: nova plataforma de análise de dados
1 Junho 2023

Fabric: nova plataforma de análise de dados

Placeholder Image Alt
  • Knowledge Centre
  • Microsoft Power Automate in the accounts receivable process
1 March 2024

Microsoft Power Automate in the accounts receivable process

Microsoft Power Automate in the accounts receivable process

Key takeways

Power Automate's versatility

Integration with On-Premises Systems

Customer Communications Automation

Power Automate is a versatile process automation platform by Microsoft that allows businesses to streamline and optimise their operations.

Its application covers a wide range of scenarios, from managing approvals to automating document processes and integrating with Microsoft 365, Power Platform, or Azure.

In this article, I will take through building a process to automate the sending of e-mails to customers, prompting them from payment.

Before getting into Power Automate, I prepared a couple of views in the ERP’s system SQL Database, where the data on Accounts Receivable is stored.

These views will show customers who have any amount outstanding in their balance and how much of that, if any, is due. Also, they will hold a complete list of outstanding invoices.

The Power Automate flow starts by fetching the view of customers with outstanding amounts. Since this ERP system is on-premises, we will be leveraging the On-Premisses Gateway from Microsoft, which needs to be installed prior to building the flow.

Fig.1: SQL Server Get Rows (V2) Action

 

Now that we have our list of customers and before getting into it, we need to initialise a variable to use further down the line:

  • A variable to hold the e-mail or e-mails to use as the recipient.

Next, we will be iterating through the list of customers, looking for those with past due outstanding invoices and for each of those we will be looking at the view which holds all outstanding invoices and getting the ones corresponding to each customer.

Fig.2:  Apply to Each Action

 

In this list of Outstanding Invoices, there are two date columns, Issue Date and Due Date, and since these are returned in a Date Time format (e.g., 2024-02-16 T00:00:00Z), we need to convert them to a more user-friendly format, we introduce a few steps to transform Date Time to Date only:

  • Take the response from the SQL action and parse it.
  • Convert it to text and remove the Time part of the dates.
  • Reconvert it back to JSON.

Fig.3:  Data Manipulation actions

 

With that in place, we can now build an HTML Table to show all the Outstanding Invoices.

As we draw close to the end of our process, it’s now time to get the e-mail or e-mails (depending on the requirements) to which we are sending our prompts for payment. In this scenario, we are using Microsoft Dynamics 365 as our CRM system, and the contacts need to be fetched from there. For that, we will be asking Dynamics to give us the contacts for each customer in this loop:

  • List Accounts, filtering by the current ERP account.
  • List Contacts, filtering by the above retrieved account.
  • Get all gathered e-mails in the variable above initialised.

Fig.4:  Looping through accounts and contacts

 

At this point, we already have a list of outstanding invoices and the e-mails’ recipients. Let’s build the e-mail:

  • Input the variable holding the e-mails in the “To” field.
  • Give it a good Subject.
  • Write the Body and insert the HTML table and the e-mail signature.

Fig.5:  Send an e-mail action

 

The result is a beautiful e-mail, fully automated that you can schedule to be sent on any given criteria.

Fig.6:  Sent e-mail

 

Should you have any questions or require any assistance in streamlining and automating processes, feel free to reach out.

Author

Jorge Daniel

Jorge Daniel

Power Plataform Solution Architect Expert

Share

Suggested Content

HUMAN–AI Alliance Agents | BI4ALL Talks
Tech Talks AI & Data Science

HUMAN–AI Alliance Agents | BI4ALL Talks

Fabric Model Analyzer: Entreprise-scale best practices monitoring
Blog Data Visualisation

Fabric Model Analyzer: Entreprise-scale best practices monitoring

Fabric Model Analyzer brings the traditional Best Practice Analyzer into a modern, integrated, cloud-native solution built on Microsoft Fabric — scalable to enterprise level.

Finsolutia: Accelerated portfolio analysis
Success Cases

Finsolutia: Accelerated portfolio analysis

The partnership between Finsolutia and BI4ALL by Plexus demonstrates how the application of artificial intelligence technologies to document analysis can redefine critical processes in the financial sector. 

Human–AI Partnerships: From Automation to Collaboration
Blog AI & Data Science

Human–AI Partnerships: From Automation to Collaboration

AI is no longer limited to executing predefined rules in the background. It is increasingly able to observe, decide and act with purpose, supporting workflows rather than isolated tasks.

Native Writeback in Power BI with Translytical Task Flows
Blog Data Visualisation

Native Writeback in Power BI with Translytical Task Flows

O Power BI tem vindo a distinguir-se como uma plataforma particularmente eficaz para modelação semântica, análise e visualização de dados, mas menos orientada para cenários de ação operacional no próprio contexto do relatório.

Optimising Report Creation through a Design System and Report Toolkit
Use Cases Data Visualisation

Optimising Report Creation through a Design System and Report Toolkit

BI4ALL implemented an approach based on a Design System and a Report Toolkit, designed to accelerate and standardise the report creation process.

video title

Lets Start

Got a question? Want to start a new project?
Contact us

Menu

  • Expertise
  • Knowledge Centre
  • About Us
  • Careers
  • Contacts

Newsletter

Keep up to date and drive success with innovation
Newsletter
PRR - Plano de Recuperação e Resiliência. Financiado pela União Europeia - NextGenerationEU

2026 All rights reserved

Privacy and Data Protection Policy Information Security Policy
URS - ISO 27001
URS - ISO 27701
Cookies Settings

BI4ALL may use cookies to memorise your login data, collect statistics to optimise the functionality of the website and to carry out marketing actions based on your interests.
You can customise the cookies used in .

Cookies options

These cookies are essential to provide services available on our website and to enable you to use certain features on our website. Without these cookies, we cannot provide certain services on our website.

These cookies are used to provide a more personalised experience on our website and to remember the choices you make when using our website.

These cookies are used to recognise visitors when they return to our website. This enables us to personalise the content of the website for you, greet you by name and remember your preferences (for example, your choice of language or region).

These cookies are used to protect the security of our website and your data. This includes cookies that are used to enable you to log into secure areas of our website.

These cookies are used to collect information to analyse traffic on our website and understand how visitors are using our website. For example, these cookies can measure factors such as time spent on the website or pages visited, which will allow us to understand how we can improve our website for users. The information collected through these measurement and performance cookies does not identify any individual visitor.

These cookies are used to deliver advertisements that are more relevant to you and your interests. They are also used to limit the number of times you see an advertisement and to help measure the effectiveness of an advertising campaign. They may be placed by us or by third parties with our permission. They remember that you have visited a website and this information is shared with other organisations, such as advertisers.

Política de Privacidade