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-reqres.md
+22-20Lines changed: 22 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ This how-to guide shows create a logic app workflow that can receive and handle
16
16
17
17
> [!NOTE]
18
18
>
19
-
> The Response action works only when you use the Request trigger.
19
+
> The Response action works only when you use the **Request** trigger.
20
20
21
-
For example, this list describes some tasks that your workflow can perform when you use the Request trigger and Response action:
21
+
For example, this list describes some tasks that your workflow can perform when you use the **Request** trigger and Response action:
22
22
23
23
* Receive and respond to an HTTPS request for data in an on-premises database.
24
24
@@ -32,13 +32,15 @@ To run your workflow by sending an outgoing or outbound request instead, use the
32
32
33
33
* An Azure account and subscription. If you don't have a subscription, you can [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
34
34
35
-
* The logic app workflow where you want to receive the inbound HTTPS request. To start your workflow with a Request trigger, you have to start with a blank workflow. To use the Response action, your workflow must start with the Request trigger.
35
+
* The logic app workflow where you want to receive the inbound HTTPS request. To start your workflow with a **Request** trigger, you have to start with a blank workflow. To use the Response action, your workflow must start with the **Request** trigger.
The Request trigger creates a manually callable endpoint that handles *only* inbound requests over HTTPS. When the caller sends a request to this endpoint, the Request trigger fires and runs the workflow. For information about how to call this trigger, review [Call, trigger, or nest workflows with HTTPS endpoints in Azure Logic Apps](../logic-apps/logic-apps-http-endpoint.md).
43
+
The **Request** trigger creates a manually callable endpoint that handles *only* inbound requests over HTTPS. When the caller sends a request to this endpoint, the **Request** trigger fires and runs the workflow. For information about how to call this trigger, review [Call, trigger, or nest workflows with HTTPS endpoints in Azure Logic Apps](../logic-apps/logic-apps-http-endpoint.md).
42
44
43
45
## [Consumption](#tab/consumption)
44
46
@@ -51,7 +53,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
51
53
| Property name | JSON property name | Required | Description |
|**HTTP POST URL**| {none} | Yes | The endpoint URL that's generated after you save your workflow and is used for sending a request that triggers your workflow. |
54
-
|**Request Body JSON Schema**|`schema`| No | The JSON schema that describes the properties and values in the incoming request body. The designer uses this schema to generate tokens for the properties in the request. That way, your workflow can parse, consume, and pass along outputs from the Request trigger into your workflow. <br><br>If you don't have a JSON schema, you can generate the schema from a sample payload by using the **Use sample payload to generate schema** capability. |
56
+
|**Request Body JSON Schema**|`schema`| No | The JSON schema that describes the properties and values in the incoming request body. The designer uses this schema to generate tokens for the properties in the request. That way, your workflow can parse, consume, and pass along outputs from the **Request** trigger into your workflow. <br><br>If you don't have a JSON schema, you can generate the schema from a sample payload by using the **Use sample payload to generate schema** capability. |
55
57
56
58
The following example shows a sample JSON schema:
57
59
@@ -115,7 +117,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
115
117
116
118
To generate a JSON schema that's based on the expected payload (data), you can use a tool such as [JSONSchema.net](https://jsonschema.net), or you can follow these steps:
117
119
118
-
1. In the Request trigger, select **Use sample payload to generate schema**.
120
+
1. In the **Request** trigger, select **Use sample payload to generate schema**.
119
121
120
122

121
123
@@ -161,7 +163,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
161
163
}
162
164
```
163
165
164
-
1. In the Request trigger's title bar, select the ellipses button (**...**).
166
+
1. In the **Request** trigger's title bar, select the ellipses button (**...**).
165
167
166
168
1. In the trigger's settings, turn on **Schema Validation**, and select **Done**.
167
169
@@ -193,7 +195,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
193
195
> [!NOTE]
194
196
>
195
197
> If you want to include the hash or pound symbol (**#**) in the URI
196
-
> when making a call to the Request trigger, use this encoded version instead: `%25%23`
198
+
> when making a call to the **Request** trigger, use this encoded version instead: `%25%23`
197
199
198
200
## [Standard](#tab/standard)
199
201
@@ -206,7 +208,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
206
208
| Property name | JSON property name | Required | Description |
| **HTTP POST URL** | {none} | Yes | The endpoint URL that's generated after you save your workflow and is used for sending a request that triggers your workflow. |
209
-
| **Request Body JSON Schema** | `schema` | No | The JSON schema that describes the properties and values in the incoming request body. The designer uses this schema to generate tokens for the properties in the request. That way, your workflow can parse, consume, and pass along outputs from the Request trigger into your workflow. <br><br>If you don't have a JSON schema, you can generate the schema from a sample payload by using the **Use sample payload to generate schema** capability. |
211
+
| **Request Body JSON Schema** | `schema` | No | The JSON schema that describes the properties and values in the incoming request body. The designer uses this schema to generate tokens for the properties in the request. That way, your workflow can parse, consume, and pass along outputs from the **Request** trigger into your workflow. <br><br>If you don't have a JSON schema, you can generate the schema from a sample payload by using the **Use sample payload to generate schema** capability. |
210
212
211
213
The following example shows a sample JSON schema:
212
214
@@ -270,7 +272,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
270
272
271
273
To generate a JSON schema that's based on the expected payload (data), you can use a tool such as [JSONSchema.net](https://jsonschema.net), or you can follow these steps:
272
274
273
-
1. In the Request trigger, select **Use sample payload to generate schema**.
275
+
1. In the **Request** trigger, select **Use sample payload to generate schema**.
274
276
275
277

276
278
@@ -316,7 +318,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
316
318
}
317
319
```
318
320
319
-
1. On the designer, select the Request trigger. On the information pane that opens, select the **Settings** tab.
321
+
1. On the designer, select the **Request** trigger. On the information pane that opens, select the **Settings** tab.
320
322
321
323
1. Expand **Data Handling**, and set **Schema Validation** to **On**.
322
324
@@ -348,12 +350,12 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
348
350
> [!NOTE]
349
351
>
350
352
> If you want to include the hash or pound symbol (**#**) in the URI
351
-
> when making a call to the Request trigger, use this encoded version instead: `%25%23`
353
+
> when making a call to the **Request** trigger, use this encoded version instead: `%25%23`
352
354
>
353
-
> The URL for the Request trigger is associated with your workflow's storage account. This URL
355
+
> The URL for the **Request** trigger is associated with your workflow's storage account. This URL
354
356
> changes if the storage account changes. For example, with Standard logic apps, if you manually
355
357
> change your storage account and copy your workflow to the new storage account, the URL for
356
-
> the Request trigger also changes to reflect the new storage account. The same workflow has a different URL.
358
+
> the **Request** trigger also changes to reflect the new storage account. The same workflow has a different URL.
357
359
358
360
---
359
361
@@ -370,7 +372,7 @@ For information about security, authorization, and encryption for inbound calls
370
372
371
373
## Trigger outputs
372
374
373
-
The following table lists the outputs from the Request trigger:
375
+
The following table lists the outputs from the **Request** trigger:
374
376
375
377
| JSON property name | Data type | Description |
376
378
|--------------------|-----------|-------------|
@@ -381,7 +383,7 @@ The following table lists the outputs from the Request trigger:
381
383
382
384
## Add a Response action
383
385
384
-
When you use the Request trigger to receive inbound requests, you can model the response and send the payload results back to the caller by using the Response built-in action, which works *only* with the Request trigger. This combination with the Request trigger and Response action creates the [request-response pattern](https://en.wikipedia.org/wiki/Request%E2%80%93response). Except for inside Foreach loops and Until loops, and parallel branches, you can add the Response action anywhere in your workflow.
386
+
When you use the **Request** trigger to receive inbound requests, you can model the response and send the payload results back to the caller by using the Response built-in action, which works *only* with the **Request** trigger. This combination with the **Request** trigger and Response action creates the [request-response pattern](https://en.wikipedia.org/wiki/Request%E2%80%93response). Except for inside Foreach loops and Until loops, and parallel branches, you can add the Response action anywhere in your workflow.
385
387
386
388
> [!IMPORTANT]
387
389
>
@@ -409,7 +411,7 @@ When you use the Request trigger to receive inbound requests, you can model the
409
411
410
412
1. On the workflow designer, [follow these general steps to find and add the Response built-in action named **Response**](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=consumption#add-action).
411
413
412
-
For simplicity, the following examples show a collapsed Request trigger.
414
+
For simplicity, the following examples show a collapsed **Request** trigger.
413
415
414
416
1. In the action information box, add the required values for the response message.
415
417
@@ -463,13 +465,13 @@ When you use the Request trigger to receive inbound requests, you can model the
463
465
464
466
## Test your workflow
465
467
466
-
To test your workflow, send an HTTP request to the generated URL. For example, you can use local tools or apps such as [Insomnia](https://insomnia.rest/) or [Bruno](https://www.usebruno.com/) to send the HTTP request.
468
+
To trigger your workflow, send an HTTP request to the URL generated for the **Request** trigger, including the method that the **Request** trigger expects, by using your HTTP request tool and its instructions.
467
469
468
-
For more information about the trigger's underlying JSON definition and how to call this trigger, see these topics, [Request trigger type](../logic-apps/logic-apps-workflow-actions-triggers.md#request-trigger) and [Call, trigger, or nest workflows with HTTP endpoints in Azure Logic Apps](../logic-apps/logic-apps-http-endpoint.md).
470
+
For more information about the trigger's underlying JSON definition and how to call this trigger, see these topics, [**Request** trigger type](../logic-apps/logic-apps-workflow-actions-triggers.md#request-trigger) and [Call, trigger, or nest workflows with HTTP endpoints in Azure Logic Apps](../logic-apps/logic-apps-http-endpoint.md).
469
471
470
472
## Security and authentication
471
473
472
-
In a Standard logic app workflow that starts with the Request trigger (but not a webhook trigger), you can use the Azure Functions provision for authenticating inbound calls sent to the endpoint created by that trigger by using a managed identity. This provision is also known as "**Easy Auth**". For more information, review [Trigger workflows in Standard logic apps with Easy Auth](https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/trigger-workflows-in-standard-logic-apps-with-easy-auth/ba-p/3207378).
474
+
In a Standard logic app workflow that starts with the **Request** trigger (but not a webhook trigger), you can use the Azure Functions provision for authenticating inbound calls sent to the endpoint created by that trigger by using a managed identity. This provision is also known as "**Easy Auth**". For more information, review [Trigger workflows in Standard logic apps with Easy Auth](https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/trigger-workflows-in-standard-logic-apps-with-easy-auth/ba-p/3207378).
473
475
474
476
For more information about security, authorization, and encryption for inbound calls to your logic app workflow, such as [Transport Layer Security (TLS)](https://en.wikipedia.org/wiki/Transport_Layer_Security), previously known as Secure Sockets Layer (SSL), [Microsoft Entra ID Open Authentication (Microsoft Entra ID OAuth)](../active-directory/develop/index.yml), exposing your logic app with Azure API Management, or restricting the IP addresses that originate inbound calls, see [Secure access and data - Access for inbound calls to request-based triggers](../logic-apps/logic-apps-securing-a-logic-app.md#secure-inbound-requests).
0 commit comments