Skip to main content
Solved

Need help with approval workflow

  • November 18, 2025
  • 10 replies
  • 129 views

amalaccenture

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.

Best answer by Kevin Mok

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
Forum|alt.badge.img+1
  • Community Manager
  • November 18, 2025

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
  • Author
  • Participating Frequently
  • November 18, 2025

@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
Forum|alt.badge.img+1
  • Community Manager
  • Answer
  • November 18, 2025

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
  • Author
  • Participating Frequently
  • November 21, 2025

Thanks a lot ​@Kevin Mok 


amalaccenture
  • Author
  • Participating Frequently
  • November 27, 2025

amalaccenture
  • Author
  • Participating Frequently
  • November 27, 2025

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
Forum|alt.badge.img+1
  • Community Manager
  • December 1, 2025

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

users_requested_for: [data.user_email_address]

 


amalaccenture
  • Author
  • Participating Frequently
  • December 1, 2025

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
  • Author
  • Participating Frequently
  • December 1, 2025

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
Forum|alt.badge.img+1
  • Community Manager
  • December 1, 2025

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