# Feature Enhancement Proposal – Executing Actions from Forms

**URL:** <https://community.auth0.com/t/feature-enhancement-proposal-executing-actions-from-forms/184639>\
**Category:** Product Feedback\
**Tags:** forms, flows, actions\
**Created:** [March 28, 2025, 8:27am UTC](https://community.auth0.com/t/feature-enhancement-proposal-executing-actions-from-forms/184639 "2025-03-28T08:27:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbolek](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mbolek/32/60249_2.png) [@mbolek](https://community.auth0.com/u/mbolek)\
**Post date:** [March 28, 2025, 8:27am UTC](https://community.auth0.com/t/feature-enhancement-proposal-executing-actions-from-forms/184639/1 "2025-03-28T08:27:04Z")

</div>

**Feature:** Executing Actions from Forms

**Description:** I’d like to suggest an improvement to the existing functionality regarding the execution of actions instead of flows triggered from forms. I have multiple use cases where using actions instead of flows would be more efficient.

**Use-cases:**

**Retry mechanism for API errors**  
I’d like to display a form when one of our endpoints returns an error, allowing the user to manually retry the request. To achieve this, I currently need to create an action that performs the initial request and renders a form with a retry button. However, when the user clicks “Retry,” I have no choice but to use a flow, which forces me to **replicate** the same request logic. If it were possible to trigger an action directly from the form, I could avoid code duplication.

**Updating app\_metadata dynamically**  
Currently, in flows, the “Update User” action requires a valid JSON payload, which prevents me from updating app\_metadata in a way that fits my needs. For example, I want to update an object in app\_metadata where the key is the client\_id:

```auto
{
  "pgtWhrUDp3HtqcBwrQQTLpL063jMvyo1": {
    "hasFeatureX": false
  }
}

```

In a flow, I would ideally write something like this:

```auto
{
  "[{{context.client.client_id}}]": {
    "hasFeatureX": false
  }
}

```

However, this is not possible because the system expects a strictly valid JSON format. If I could achieve this via an action, it would be much more flexible.

Would it be possible to introduce support for executing actions from forms? I believe this would greatly improve flexibility and reduce redundancy in implementation.

Looking forward to your thoughts on this!

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [March 31, 2025, 10:12pm UTC](https://community.auth0.com/t/feature-enhancement-proposal-executing-actions-from-forms/184639/2 "2025-03-31T22:12:53Z")

</div>

Hi there!

Welcome to the Auth0 Community!

Thank you for creating this feedback card. Please make sure to upvote it so that it gets as many votes as possible and attracts as many community members as possible.

Thanks  
Dawid
