Power Automate: subtractFromTime function
Subtracts an interval from a timestamp you supply. Returns a string; months clamp to month end.
Here I share the best practices I use for the Power Platform tools, drawn from my own experience and plenty of learning from other people's mistakes so I don't repeat them. None of this is set in stone, so adjust it to fit how you work. Consistency matters, especially when several people share a platform. I see it constantly: SharePoint sites with mismatched naming, lists with convoluted names, and flows nobody can follow. When you agree on rules, everyone always knows what something means, and onboarding a new person becomes far easier. Even if you never adopt my conventions, at least write your own down. And even if you work alone, building your own reference makes you think, and you will often spot places where things could be better. That reflection is half the value.
Subtracts an interval from a timestamp you supply. Returns a string; months clamp to month end.
Returns the body output of a named action. Names use underscores for spaces and are case-sensitive.
Runs a flow from a message's More actions menu. Optional adaptive card; default environment only.
Project Online and Publisher are retiring. Plus wave 2 dates, a Power Pages permissions check, and security news.
Prompting rules built by trial and error. Pick the right model, curate context, and iterate on your own process.
Joins an array into a single string with the delimiter you choose. An empty array returns an empty string.
Returns the current timestamp minus a number of time units. Always counts back from now in UTC.
Hitting a wall usually means the strategy is flawed, not the tool. Questions to ask before you push harder.
Extracts characters from the middle of a text string, starting at a position you choose. Always returns text.
Installs Python, isolates each project, and manages dependencies with two commands.
Returns the full message behind a message ID: body, sender, mentions, and reactions. The body arrives as HTML.
Splits a string or array into pieces of a fixed size. The last chunk is often shorter.