Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Outlook
    • Planner
    • Power Apps
    • SharePoint
    • Teams
  • Triggers
  • Ready to use solutions
    • Approval Process Solution
    • Task Delegation App
    • The Ultimate Power Automate expressions cheat sheet
    • Power Automate HTTP requests to SharePoint cheat sheet
    • Power Automate HTTP requests to Graph API cheat sheet
  • ABOUT ME
  • Get help with your flow
  • POWER PLATFORM SERVICES
Menu

What is ‘Trigger Name’ in the Resubmit flow Power Automate action

Posted on May 7, 2023April 19, 2025 by Tom

“I’d like to automatically resubmit an expired Power Automate flow, but what should I use as the ‘Trigger Name’ in the Resubmit Flow action?”


While each Power Automate flow is limited by the 29 and half days of runtime, sometimes it’s not enough. Especially if it’s an approval flow, where some tasks can take longer than expected. Users can ignore them despite reminders or need more time to make the decision, and the flow times out.

Luckily, Power Automate has an action that can resubmit a flow. Not so luckily, it’s another not-so-easily configurable action as it asks for ‘Trigger Name’. What value does it expect?

NEW: Get the trigger name using an expression

As suggested by Mano in the comments, there’s an easier way to get the trigger name – with a single expression.

trigger()?['name']

Add a ‘Compose’ action into the flow, add the expression inside, and run it. You’ll see the trigger name in the flow run history.

OLD: Get the trigger name from flow JSON

The ‘Trigger Name’ is not something you can get directly flow the flow as it’s hidden in the background, in the flow JSON. To get the name you’ll have to export the flow to .zip package.

Type in some name, it doesn’t matter what it’ll be, and click on the Export button at the bottom.

Extract the downloaded .zip file and navigate in the folder structure until you get to the definition.json file.

Open it in some text editor, e.g. in Visual Studio Code which is my favourite. Search for the text “triggers” to find the flow trigger in that JSON, the ‘Trigger Name’ is the first property of this object. In this example it’s the ‘When_an_item_is_created_or_modified’.

Power Automate Trigger Name resubmit flow

Copy the value in the ‘Resubmit Flow’ action and add an expression to extract the current flow run ID. The flow will resubmit itself once it reaches the step.

workflow()?['run']['name']
Power Automate Trigger Name resubmit flow

Summary

You can “extend” a Power Automate flow run duration if you resubmit the flow again before it times out, but you’ll need the ‘Trigger Name’ value it asks for. Once you extract it from the flow JSON the action itself is quite straightforward – pick the environment, pick the flow, type in the trigger name and use an expression to specific which run it should resubmit. The flow will restart using the same inputs as the original one.

It’s surely not something to use in all your flows, but it might be an extension to the restartable approval flows as proposed in the previous article that’ll give your users more time to process their tasks (if needed).


πŸš€ Master Power Automate

Join 2,100+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

4 thoughts on “What is ‘Trigger Name’ in the Resubmit flow Power Automate action”

  1. Micah says:
    April 16, 2024 at 6:45 pm

    Greetings Tom,
    I am attempting to extract information from the definition file to feed a custom sharepoint list of all my flows to serve as automated documentation and to track changes. I have referenced your other posts “How to automatically backup your Power Automate flows” and “Restore your Power Automate flow from a backup” which have been a huge help in getting to this point.
    Would there happen to be another way to read the ‘Trigger Name’ value from the “triggers” object? Or a way to reference it in order to get to the “conditions” array below it?
    Thanks so much!
    -Micah

    Reply
    1. Tom says:
      May 25, 2024 at 9:33 pm

      Hello Micah,
      if you export the flows as explained in the articles, you can take the trigger name from those backups, it’s the same structure as in the exported JSON files. But it’s always in the property name, not as a value you could reference by the same key in all the flows automatically.

      Reply
  2. Mano says:
    April 10, 2025 at 5:13 pm

    trigger()?[‘name’]

    This will give the name of the trigger

    Reply
    1. Tom says:
      April 19, 2025 at 11:51 am

      Hello Mano,
      thank you for sharing this, I updated the article!

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

πŸš€ Master Power Automate

Join 2,100+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

Still exchanging emails to get things approved?

Get the Approval Process solution and the Task Delegation App to skip the hard part and deploy an automated, fully functional approval solution on a SharePoint list in minutes! And then the next one, and the next one...

Approval Template Preview ✨ Learn more ✨

Turn ideas into flows with ease!

Grab the complete Power Automate Cheat Sheet Bundleβ€”everything you need to master expressions, SharePoint HTTP calls, and Graph API in Power Automate.

Cheat Sheet Bundle Preview ✨ Get the Cheat Sheets

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with thousands of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2025 Let's POWER Automate | Theme by SuperbThemes