Full Pro free for 7 days, no credit card. Start free →
← All posts
September 29, 2026 · 5 min read

How to Give Your Power Automate Flow Real Memory Between Runs

target_query: how to give power automate ai agent memory between runs title_devto: Your Power Automate AI Agent Wakes Up Blank Every Run. Here's How to Give It Memory slug_devto: power-automate-ai-agent-memory-between-runs title_blog: How to Give Your Power Automate Flow Real Memory Between Runs slug_blog: power-automate-flow-real-memory-between-runs status: dev.to PENDING (account suspended 2026-09-28) / vilix.ai published How to Give Your Power Automate Flow Real Memory Between Runs Power A


target_query: how to give power automate ai agent memory between runs title_devto: Your Power Automate AI Agent Wakes Up Blank Every Run. Here's How to Give It Memory slug_devto: power-automate-ai-agent-memory-between-runs title_blog: How to Give Your Power Automate Flow Real Memory Between Runs slug_blog: power-automate-flow-real-memory-between-runs status: dev.to PENDING (account suspended 2026-09-28) / vilix.ai published

How to Give Your Power Automate Flow Real Memory Between Runs

Power Automate is the quiet giant of scheduled automation. Thousands of businesses run recurrence flows that quietly do their jobs every morning: pull new leads, triage emails, post daily digests to Teams. Add an AI Builder step or a generative action and the flow gets smarter. There is just one thing it does not get: a past.

Picture a flow that runs every Friday at 4 PM. It collects the week's customer feedback from a shared mailbox, and a GPT step drafts the weekly sentiment report for the product team. Each Friday the report lands. But ask the report a simple question, "are complaint volumes about shipping actually getting better?" and the flow cannot answer, because the model call that wrote this Friday's draft has no access to last Friday's. Every run is a first run. The result is reports that contradict each other week to week, action items that reappear after they were closed, and a team that quietly stops trusting the automation they built.

The problem is architectural, not a bug you can patch with a cleverer prompt. Cloud flows are stateless across executions. Each AI action is an independent model call. Nothing in the platform is designed to carry learned context forward, so the flow can never get better at its job from experience. The only way out is to add a memory layer deliberately.

The three honest options

Option one: a SharePoint list or Dataverse table you manage by hand. This is where most Microsoft shops land, and it is not a bad starting point. You create a list called something like "Agent State", and the flow reads it at the top of the run and writes it back at the bottom. The good news: the data stays in your tenant under your governance, and if you already pay for M365, the storage is effectively free. The bad news is that you are now the memory engineer. You decide the schema, you decide what expires and when, and you write the retrieval logic as flow expressions. The model still gets its "memory" as text injected into a prompt, which means retrieval quality is entirely on you. For simple flags ("invoice 4421 already processed") it is enough. For anything that needs judgment ("which supplier delays keep recurring?"), a hand-rolled list starts to creak.

Option two: the flow's own run history. Power Automate keeps a run history for every flow, and generative actions expose the reasoning behind their steps. This is excellent for answering "what did the flow do at 4 PM?" It is useless for answering "what should the flow remember at 4 PM?" Run history is write-only from the model's perspective: it cannot query it, it cannot summarize it into lessons, and it cannot correct it. Treating logs as memory is one of the most common traps in automation.

Option three: a dedicated memory service wired in through the HTTP connector. Instead of teaching the flow to fetch and format its own history, you give the AI step a memory API: it writes memories at the end of each run and retrieves relevant ones at the start. The retrieval is semantic, not keyword based, so "which tickets kept coming back this month?" returns the right memories without you building filters. The state lives outside the flow, which means it survives flow edits, version rollbacks, and even a full rebuild of the automation. It also means one memory store can serve more than one flow: the Friday sentiment report and the Monday triage flow can share what they learn about the same customers.

What the wiring actually looks like

You do not rebuild the flow. You add two memory calls around the AI step you already have:

  • At the start of the run, the AI step retrieves memories relevant to today's work: standing rules, open items from last run, corrections the team fed back.
  • At the end of the run, it stores what it decided and what remains open, in its own words.

That is the entire integration. Everything else, the trigger, the connectors, the outputs, stays exactly as it is. The behavioral change is disproportionate to the engineering effort: the Friday report stops contradicting itself because it reads last Friday's conclusions before writing this week's. Action items stop resurrecting because closed items are recorded as closed, in a place the model checks before it acts.

Vilix AI as that layer

Vilix AI is built for exactly this pattern. It is cloud-hosted, so there is nothing to install or maintain next to your flows. It works over MCP, which means the same memory is shared everywhere your AI tools run: the Power Automate flow, the coding agent you use to maintain it, the assistant you ask to review the reports. One store, every tool, no syncing.

It keeps full conversation history, not just distilled facts, so your flows retain episodes: what happened on a run, in what order, and what the AI decided with what it knew. And it is cheap to try honestly: free plan forever, and a 7-day Pro trial with no card required. If the memory does not change your flow's behavior, you have lost an afternoon, not a budget line.

One more thing worth saying plainly, because memory services ask for trust: you can export everything anytime and delete everything instantly. An AI agent's memory will eventually hold details about your operations you did not expect it to pick up. You should never have to ask permission to take it back. Start here: https://vilix.ai/?utm_source=vilix-blog&utm_medium=article&utm_campaign=power-automate-flow-real-memory-between-runs

The habit that makes it stick

The technology is the easy part. The habit that makes flow memory work is the one nobody writes down: pruning. Memories go stale. A supplier you stopped using in August should not be shaping November's reports. A correction the team gave in September may have been superseded in October. Schedule a monthly pass, fifteen minutes, to delete what is wrong and expire what is old. A memory layer with hygiene beats a bigger model every time.

Your Power Automate flow already knows how to do the work. Give it a memory, and it finally gets to learn from doing it.

Try Vilix Pro free for 7 days

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get started free
Keep reading
Your OpenAI Agent Remembers the Chat, Not the Job: Giving the Agents SDK Real Memory Between Scheduled Runs

Your OpenAI Agent Remembers the Chat, Not the Job: Giving the Agents SDK Real Memory Between Scheduled Runs There is a moment almost every automation operator hits with the OpenAI Agents SDK. The scheduled job runs at 6 AM, the agent works beautifully, the logs look perfect. Then it runs again at 6 AM the next day and behaves like it has never met you. It re-asks questions answered last week. It re-fetches data already fetched. It makes a slightly different decision than yesterday and cannot ex

The Model Is Not the Product: A Technical Guide to the Agent Harness (and Where Memory Fits)

The Model Is Not the Product: A Technical Guide to the Agent Harness (and Where Memory Fits) A recent viral breakdown compared three AI agents: Muse (Meta's done-for-you personal assistant), Grok Bot (a team of persistent AI coworkers), and OpenClaw (the open-source, self-hosted agent platform). They all promise the same thing: give the AI a task and let it actually do the work. But they are built around very different ideas about who controls the machinery. The reel landed on the one line tha

How to Give a Copilot Studio Agent Persistent Memory Between Runs

How to Give a Copilot Studio Agent Persistent Memory Between Runs Every Monday at 8 AM, a Power Automate flow wakes up your Copilot Studio agent. It reads the support queue, drafts replies, flags the escalations. And every single Monday, it does all of that with no idea what happened the Monday before. It does not know the billing workaround was tried twice and failed. It does not know the customer it promised a follow-up to is still waiting. It re-reads the same queue with fresh eyes and makes