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
- Go to the Postman tool and go to the Collections section. The list
of existing collections appears.
- 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.
- Specify the location where you want to save the exported collection.
Remember: Save the collection inside the app directory for ease of use.
- 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.