Execute Request
Use the Execute Request action to execute a Swagger API.
Complete the following steps to use the Execute Request action in your workflow:
1. Drag the
Execute Request action under
Swagger to the canvas, place the pointer on the action, and then click
or double-click the action. The Execute Request window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click
MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the
Runtime Connector field, provide a valid Swagger connector name. For more information about
MAP CONNECTOR, see
Using Map Connector.
If you selected Connector Type as None, the MAP CONNECTOR option is not available.
6. In the API Request list, select the Swagger API that you want to execute.
The fields in the input form change dynamically based on the Swagger API that you select.
7. Select Form to provide inputs for individual properties listed in the form, or select Assign JSON to specify a single JSON with all required properties.
8. Click Show additional fields.
9. Under the Headers group, click Add to add a custom header to the request. Provide a Key and Value pair.
Click
Add to add multiple key-value pairs. Click
to delete any custom header that you added.
10. Click Done.
Output schema
Based on the operation that you select, the Execute Request action returns a dynamic output schema.