0
votes

Is it possible to create a Logic Apps custom action similar to the Request Response action? If so, can you please guide me how I would do this? The Request Response action is different from other actions as it doesn't call an API, but instead responds to the trigger.

I'd like to create a specific version of the Request Response action that forces a certain status code and response structure, so that people using the connector understand how to use it. The action is to be used in conjunction with a custom trigger, which is basically a webhook. The API that call the webhook requires the response to be in a specific format. Right now I can make it work with the Request Response action, but I need to make sure I return the correct JSON structure.

1
Check the HTTP and HTTP Webhook, if these could help you?George Chen
@GeorgeChen thanks for your suggestion. I am aware of the HTTP and HTTP Webhook. I'm trying to create a higher level trigger and action specific to my scenario, with specific input fields required for my API. I know how to build the trigger part. I'm now looking for a way to create a specific response action.Sander Schutten

1 Answers

0
votes

Update, try Azure Api-Management. Otherwise, I would validate that all values are present and if not I would reply which values are missing.