Creating custom connectors using Postman collections

Collections in the Postman tool, house a set of similar API requests as a group. These existing collections or set of APIs can be used to create custom connectors through the connector builder.

Procedure

  1. Go to the Postman tool and go to the Collections section. The list of existing collections appears.
  2. Locate the collection for which you want to create custom actions. Click the ellipsis icon (three tiny dots) given beside its name and click Export.

    You are prompted to specify the collection version.

  3. Specify the location where you want to save the exported collection.
    Remember: Save the collection inside the app directory for ease of use.
  4. Open the command prompt, go to your app directory, and enter this command:

    wmio postman <collection_file_name.json>

Results

This command creates an action file for each API call that is included in the specified collection. You can then redeploy your app to start using these apps like any other connector in Connectors.