Skip to main content
amalaccenture
Participating Frequently
Nov 18, 2025 8:58 AM UTC
Solved

Need help with approval workflow

Hi All,

 

I am trying to add an approval workflow using the inbuilt Action “mw.create_generic_approval_request” however I am confused where to add the approver email address?. I am getting only two input parameters as given below.

 

approval_details: <!-- Placeholder for approval_details -->

users_requested_for: <!-- Placeholder for users_requested_for →

 

Any help on this topic will be appreciated.

This topic has been closed for replies.
Kevin Mok
Kevin MokAnswer
Community Manager
Nov 18, 2025 6:04 PM UTC

We don’t add those fields automatically, because you can use on or the other, you can’t use both at the same time. However, we can look into making this experience better.
 

When you trigger the plugin and everything is set up correctly, it should send an approval request.

10 replies

Kevin Mok
Community Manager
Nov 18, 2025 3:47 PM UTC

Hey ​@amalaccenture - you need to resolve the user first and then pass that in user_requested_for. Please look at our documentation. You’ll need to use the get_user_by_email built in action first!

amalaccenture
Participating Frequently
Nov 18, 2025 5:26 PM UTC

​@Kevin Mok Unfortunately the “approval_key” or the “Approvers” parameters are not coming under input arguments by default. I will manually add those arguments manually and re-test. Also will it send an approval flow into teams chat?

 

Kevin Mok
Kevin MokAnswer
Community Manager
Nov 18, 2025 6:04 PM UTC

We don’t add those fields automatically, because you can use on or the other, you can’t use both at the same time. However, we can look into making this experience better.
 

When you trigger the plugin and everything is set up correctly, it should send an approval request.

amalaccenture
Participating Frequently
Nov 21, 2025 7:56 AM UTC

Thanks a lot ​@Kevin Mok 

amalaccenture
Participating Frequently
Nov 27, 2025 12:29 PM UTC
amalaccenture
Participating Frequently
Nov 27, 2025 12:31 PM UTC

Still no luck with the approval flow. I am getting the below error while testing. I created the flow as shown in the diagram posted in the earlier post.

 

 

Kevin Mok
Community Manager
Dec 1, 2025 3:29 PM UTC

That’s because users_requested_for is an array. So you have to pass

users_requested_for: [data.user_email_address]

 

amalaccenture
Participating Frequently
Dec 1, 2025 4:16 PM UTC

That’s because users_requested_for is an array. So you have to pass

users_requested_for: [data.user_email_address]

 

Thanks ​@Kevin Mok , Let me test it and will let you know.

amalaccenture
Participating Frequently
Dec 1, 2025 4:41 PM UTC

I am making progress. It is giving me an error that I don't have any approval manager. Not sure if someone from the support team can help in adding my ID itself as approval manager to enumerate the flow.

 

Kevin Mok
Community Manager
Dec 1, 2025 4:54 PM UTC

Ah I missed that you don’t approvers as a list of users either. It should be set up the same away as users_requested_for - one thing to note is that if you are the requester and approver, the action may not work