Using Logic App SDK to provide Trigger parameter values

Khushaal Kurswani 95 Reputation points Microsoft External Staff
2024-04-23T22:02:21.1966667+00:00

Hi,

I have a Logic App Workflow to send email messages. The Logic App has a HTTP Request Trigger and accepts request parameters relevant to the email (to, subject, message body).

I know that I can use the HTTP trigger's URL to pass in the email parameters and trigger the workflow. However, I am looking for a way to pass parameters to the trigger using the Logic APP SDK instead of making a direct REST API call.

I previously asked a similar question (Providing parameter values when triggering Logic App Workflow). The answer to that question led me to the SDK's LogicWorkflowResource.UpdateAsync method.

The LogicWorkflowResource.UpdateAsync method can be used to update workflow parameters. Although this method works as intended, it does not meet all my requirements. Storing and modifying the email details as workflow parameters is clunky since the workflow are not designed to be changed for every time the Logic App Workflow is triggered.

Instead, I am looking for a way to use the Logic App SDK to set the HTTP Trigger's request parameters. Is such a functionality supported by the Logic App SDK?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,566 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.