All recipes
#06Operations2:24 videoPublished 26 Nov 2026

Calculate SLA & Payment Due Dates in Power Apps — Skip Weekends & Holidays, No Code

Add business days to any date and get the real SLA or invoice payment due date — weekends and public holidays (US, UK, EU, DE, TR) skipped automatically — right inside Power Apps, using one Zetaleap action in Power Automate. No date-math formulas, no holiday tables to maintain.

What you'll learn

  • Create a Power Automate flow with the Power Apps (V2) trigger
  • Add the Zetaleap "Calculate SLA Business Days" action and map date, days and country
  • Return the result to Power Apps and show the due date, weekends and holidays skipped
  • See why a weekend-only formula lands on New Year's Day — and Zetaleap doesn't

Chapters

  • 00:00 Intro
  • 00:15 Create a flow with the Power Apps (V2) trigger
  • 00:32 Add the Zetaleap business days action
  • 00:42 Map the trigger inputs
  • 00:58 Return the result to Power Apps
  • 01:17 Call the flow from Power Apps
  • 01:32 Run it — calculate an SLA due date
  • 01:56 Verify the flow run output in Power Automate
  • 02:09 Need help or a custom solution?

Prerequisites

  • A Zetaleap account and the Zetaleap connector in Power Automate — zetaleap.com
  • Power Automate (instant cloud flow with the Power Apps (V2) trigger)
  • A Power Apps canvas app

Step-by-step

1Create a flow with the Power Apps (V2) trigger

Start in Power Automate, with an instant cloud flow and the Power Apps V2 trigger. Add three inputs: a Start Date, the number of Business Days, and a holiday Country.

2Add the Zetaleap business days action

Add an action, search for business days, and pick the Zetaleap action: Calculate SLA Business Days, Excluding Weekends and Holidays.

3Map the trigger inputs

Map Start Date, then replace the default Business Days and Holiday Country values under Advanced parameters with your trigger inputs.

4Return the result to Power Apps

Add Respond to a Power App or flow. Create a text output called result, set it to the body of the Zetaleap action, and save the flow.

5Call the flow from Power Apps

In Power Apps, add the flow to your app. Then call it from the Calculate button: pass the date, the number of days, and the country, and parse the JSON response.

6Run it — calculate an SLA due date

Let's try it. An invoice received on December 18th, ten business days to pay, with the German holiday calendar. Zetaleap returns Tuesday, January 5th. It skipped six weekend days, plus Christmas Day and New Year's Day. A simple weekend-only formula would have landed on January 1st: a public holiday.

7Verify the flow run output in Power Automate

Back in Power Automate, the run history confirms it. All three steps succeeded, and the Zetaleap action returned the target date, the weekend days, and the holidays it skipped.

Power Apps formulas

OnSelect

Set(varSla, ParseJSON(ZetaleapDueDate.Run(
    Text(dpReceived.SelectedDate, "yyyy-mm-dd"),
    Value(txtDays.Text),
    drpCountry.Selected.Code
).result))

Need help or a custom solution?

The Zetaleap Support Team builds Power Platform automations with you — from a single flow to a full solution.