You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/connectors/connectors-native-http.md
+42-27Lines changed: 42 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: Call External HTTP Endpoints From Workflows
3
-
description: Learn how to create workflows that send outbound requests to HTTP or HTTPS endpoints in Azure Logic Apps.
2
+
title: Call External HTTPS Endpoints from Workflows
3
+
description: Learn how to send calls to external HTTP or HTTPS endpoints from workflows in Azure Logic Apps.
4
4
services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: estfan, azla
7
7
ms.topic: how-to
8
-
ms.date: 05/09/2025
8
+
ms.date: 06/17/2025
9
9
---
10
10
11
11
# Call external HTTP or HTTPS endpoints from workflows in Azure Logic Apps
@@ -21,17 +21,24 @@ Some scenarios might require that you create a logic app workflow that sends out
21
21
22
22
This guide shows how to use the HTTP trigger and HTTP action so that your workflow can send outbound calls to other services and systems, for example:
23
23
24
-
* To check or *poll* an endpoint on a recurring schedule, [add an HTTP trigger](#http-trigger) as the first step in your workflow. Each time that the trigger checks the endpoint, the trigger calls or sends a *request* to the endpoint. The endpoint's response determines whether your workflow runs. The trigger passes any content from the endpoint's response to the actions in your workflow.
24
+
* To check or *poll* an endpoint on a recurring schedule, [add the built-in trigger named **HTTP**](#http-trigger) as the first step in your workflow. Each time that the trigger checks the endpoint, the trigger calls or sends a *request* to the endpoint. The endpoint's response determines whether your workflow runs. The trigger passes any content from the endpoint's response to the actions in your workflow.
25
25
26
-
* To call an endpoint from anywhere else in your workflow, [add an HTTP action](#http-action). The endpoint's response determines how your workflow's remaining actions run.
26
+
* To call an endpoint from anywhere else in your workflow, [add the built-in action named **HTTP**](#http-action). The endpoint's response determines how your workflow's remaining actions run.
27
27
28
28
## Prerequisites
29
29
30
30
* An Azure account and subscription. If you don't have an Azure subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
31
31
32
32
* The URL for the destination endpoint that you want to call.
33
33
34
-
* The logic app workflow from where you want to call the destination endpoint. To start with the HTTP trigger, you need a blank workflow. To use the HTTP action, start your workflow with any trigger that you want. This example uses the HTTP trigger as the first step.
34
+
* The logic app resource with the workflow from where you want to call the external endpoint.
35
+
36
+
To start your workflow with the **HTTP** trigger, you need to have a blank workflow. To use the **HTTP** action, your workflow can start with a trigger that best fits your scenario. The example workflows in this article use the **HTTP** trigger.
37
+
38
+
If you don't have a logic app resource and workflow, create them now by following the steps for the logic app that you want:
39
+
40
+
*[Create an example Consumption logic app workflow](../logic-apps/quickstart-create-example-consumption-workflow.md)
41
+
*[Create an example Standard logic app workflow](../logic-apps/create-single-tenant-workflows-azure-portal.md)
35
42
36
43
## Connector technical reference
37
44
@@ -48,17 +55,19 @@ This built-in trigger makes an HTTP call to the specified URL for an endpoint an
48
55
49
56
### [Standard](#tab/standard)
50
57
51
-
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app. Under **Get started**, select **Create a workflow in designer**.
58
+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
52
59
53
-
1.Select **+ Add** to create a new workflow. Enter a name for your workflow and choose the state type.
60
+
1.On the resource sidebar menu, under **Workflows**, select **Workflows**, and then select your blank workflow.
54
61
55
-
1.Add the built-in trigger named **HTTP** to your workflow. For detailed steps, see [Add a trigger to start your workflow](../logic-apps/add-trigger-action-workflow.md?tabs=standard#add-trigger).
62
+
1.On the workflow sidebar menu, under **Tools**, select the designer to open the workflow.
56
63
57
-
This example renames the trigger to **HTTP trigger - Call endpoint URL** so that the trigger has a more descriptive name. Also, the example later adds an HTTP action, and operation names in your workflow must be unique.
64
+
1. Add the **HTTP** built-in trigger to your workflow by following the [general steps to add a trigger](../logic-apps/add-trigger-action-workflow.md?tabs=standard#add-trigger).
65
+
66
+
This example renames the trigger to **HTTP trigger - Call endpoint URL** so that the trigger has a more descriptive name. Also, the example later adds an **HTTP** action, and operation names in your workflow must be unique.
58
67
59
68
1. Provide the values for the [HTTP trigger parameters](../logic-apps/logic-apps-workflow-actions-triggers.md#http-trigger) that you want to include in the call to the destination endpoint. Set up the recurrence for how often you want the trigger to check the destination endpoint.
60
69
61
-
1.Select the **Advanced parameters**dropdown, and choose**Authentication**.
70
+
1.From the **Advanced parameters**list, select**Authentication**.
62
71
63
72
If you select an authentication type other than **None**, the authentication settings differ based on your selection. For more information about authentication types available for HTTP, see the following articles:
64
73
@@ -71,15 +80,17 @@ This built-in trigger makes an HTTP call to the specified URL for an endpoint an
71
80
72
81
### [Consumption](#tab/consumption)
73
82
74
-
1. In the [Azure portal](https://portal.azure.com), open your Consumption logic app. Under **Development Tools** in the sidebar menu, select **Logic app designer** to open a blank workflow.
83
+
1. In the [Azure portal](https://portal.azure.com), open your Consumption logic app resource.
84
+
85
+
1. On the sidebar menu, under **Development Tools**, select the designer to open the blank workflow.
75
86
76
-
1. Add the built-in trigger named **HTTP** to your workflow. For detailed steps, see [Add a trigger to start your workflow](../logic-apps/add-trigger-action-workflow.md?tabs=consumption#add-trigger).
87
+
1. Add the **HTTP**built-in trigger to your workflow by following the [general steps to add a trigger](../logic-apps/add-trigger-action-workflow.md?tabs=consumption#add-trigger).
77
88
78
-
This example renames the trigger to **HTTP trigger - Call endpoint URL** so that the trigger has a more descriptive name. Also, the example later adds an HTTP action, and operation names in your workflow must be unique.
89
+
This example renames the trigger to **HTTP trigger - Call endpoint URL** so that the trigger has a more descriptive name. Also, the example later adds an **HTTP** action, and operation names in your workflow must be unique.
79
90
80
91
1. Provide the values for the [HTTP trigger parameters](../logic-apps/logic-apps-workflow-actions-triggers.md#http-trigger) that you want to include in the call to the destination endpoint. Set up the recurrence for how often you want the trigger to check the destination endpoint.
81
92
82
-
1.Select the **Advanced parameters**dropdown, and choose**Authentication**.
93
+
1.From the **Advanced parameters**list, select**Authentication**.
83
94
84
95
If you select an authentication type other than **None**, the authentication settings differ based on your selection. For more information about authentication types available for HTTP, see the following articles:
85
96
@@ -96,21 +107,25 @@ This built-in trigger makes an HTTP call to the specified URL for an endpoint an
96
107
97
108
## Add an HTTP action
98
109
99
-
This built-in action makes an HTTP call to the specified URL for an endpoint and returns a response.
110
+
This built-in action sends an HTTPS or HTTP call to the specified URL for an endpoint and returns with a response.
100
111
101
112
### [Standard](#tab/standard)
102
113
103
-
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app and workflow in the designer.
114
+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
104
115
105
-
This example uses the HTTP trigger added in the previous section as the first step.
116
+
1. On the resource sidebar menu, under **Workflows**, select **Workflows**, and then select your workflow.
117
+
118
+
1. On the workflow sidebar menu, under **Tools**, select the designer to open the workflow.
119
+
120
+
This example uses the **HTTP** trigger added in the previous section.
106
121
107
-
1. Add the built-in action named **HTTP** to your workflow. For detailed steps, see [Add an action to run a task](../logic-apps/add-trigger-action-workflow.md?tabs=standard#add-action).
122
+
1. Add the **HTTP**built-in action to your workflow by following the [general steps to add a action](../logic-apps/add-trigger-action-workflow.md?tabs=standard#add-action).
108
123
109
-
This example renames the action to **HTTP action - Call endpoint URL** so that the step has a more descriptive name. Also, operation names in your workflow must be unique.
124
+
This example renames the action to **HTTP action - Call endpoint URL** so that the action has a more descriptive name. Also, operation names in your workflow must be unique.
110
125
111
126
1. Provide the values for the [HTTP action parameters](../logic-apps/logic-apps-workflow-actions-triggers.md#http-action) that you want to include in the call to the destination endpoint.
112
127
113
-
1.Select the **Advanced parameters**dropdown, and choose**Authentication**.
128
+
1.From the **Advanced parameters**list, select**Authentication**.
114
129
115
130
If you select an authentication type other than **None**, the authentication settings differ based on your selection. For more information about authentication types available for HTTP, see the following articles:
116
131
@@ -127,13 +142,13 @@ This built-in action makes an HTTP call to the specified URL for an endpoint and
127
142
128
143
This example uses the HTTP trigger added in the previous section as the first step.
129
144
130
-
1. Add the built-in action named **HTTP** to your workflow. For detailed steps, see [Add an action to run a task](../logic-apps/add-trigger-action-workflow.md?tabs=consumption#add-action).
145
+
1. Add the **HTTP**built-in action to your workflow by following the [general steps to add an action](../logic-apps/add-trigger-action-workflow.md?tabs=consumption#add-action).
131
146
132
-
This example renames the action to **HTTP action - Call endpoint URL** so that the step has a more descriptive name. Also, operation names in your workflow must be unique.
147
+
This example renames the action to **HTTP action - Call endpoint URL** so that the action has a more descriptive name. Also, operation names in your workflow must be unique.
133
148
134
149
1. Provide the values for the [HTTP action parameters](../logic-apps/logic-apps-workflow-actions-triggers.md#http-action) that you want to include in the call to the destination endpoint.
135
150
136
-
1.Select the **Advanced parameters**dropdown, and choose**Authentication**.
151
+
1.From the **Advanced parameters**list, select**Authentication**.
137
152
138
153
If you select an authentication type other than **None**, the authentication settings differ based on your selection. For more information about authentication types available for HTTP, see the following articles:
139
154
@@ -319,7 +334,7 @@ For *stateless* workflows in single-tenant Azure Logic Apps, HTTP-based actions
319
334
320
335
To find the **Asynchronous pattern** setting:
321
336
322
-
1. In the workflow designer, select the HTTP action.
337
+
1. In the workflow designer, select the **HTTP** action.
323
338
1. On the information pane that opens, select **Settings**.
324
339
1. Under **Networking**, find the **Asynchronous pattern** setting.
325
340
@@ -373,7 +388,7 @@ Here's the same example that shows the HTTP action response that contains `Retry
373
388
374
389
## Pagination support
375
390
376
-
Sometimes, the destination service responds by returning the results one page at a time. If the response specifies the next page with the `nextLink` or `@odata.nextLink` property, you can turn on the **Pagination** setting on the HTTP action. This setting causes the HTTP action to automatically follow these links and get the next page. However, if the response specifies the next page with any other tag, you might have to add a loop to your workflow. Make this loop follow that tag and manually get each page until the tag is null.
391
+
Sometimes, the destination service responds by returning the results one page at a time. If the response specifies the next page with the `nextLink` or `@odata.nextLink` property, you can turn on the **Pagination** setting in the **HTTP** action. This setting causes the **HTTP** action to automatically follow these links and get the next page. However, if the response specifies the next page with any other tag, you might have to add a loop to your workflow. Make this loop follow that tag and manually get each page until the tag is null.
377
392
378
393
<aid="disable-location-header-check"></a>
379
394
@@ -414,5 +429,5 @@ The HTTP action throws a **BadRequest** error if the HTTP action calls the backe
414
429
415
430
## Related content
416
431
417
-
*[List of all Logic Apps connectors](/connectors/connector-reference/connector-reference-logicapps-connectors)
432
+
*[Managed connectors for Azure Logic Apps connectors](/connectors/connector-reference/connector-reference-logicapps-connectors)
418
433
*[Built-in connectors for Azure Logic Apps](built-in.md)
0 commit comments