Creating a custom REST connector from a file

Learn how to create a custom REST connector from a file.

Before you begin

  • Make sure that automatic custom REST connector creation is enabled for your tenant.
  • You have the file that has connector details. The file must be either in JSON, YAML or YML formats.

Procedure

  1. Go to the Add REST Connector wizard.
  2. In the select source page, select Import from File. The fields to configure the connector details appear.
  3. Enter the details as mentioned here:
    • Upload File: Browse and select the file that contains the connector details.
    • API Type: Framework used to define and describe the structure, behavior and interactions of an API. For example, swagger or OpenSpec.
    • API server URL: The base URL of the server hosting the API, automatically generated from the API URL field. For example, https://rest.example.com/.
  4. Click Next. The connector configuration page appears.
  5. Configure the connector details:
    • Name: Name for your connector, for example, MyCustomAPI.
    • Icon: Browse and select an icon for the connector, if necessary, by clicking Update.
    • Authentication type: Choose the appropriate authentication type for the connector.
    • Description: A short description for the connector.
  6. Follow the instructions from step 6 mentioned in Creating custom REST connector from a URL.

Results

After verifying the test results, your connector is ready to be used in workflows or flow services.