Once you have decided what your methods should be, and have tested them in Postman, you can start building them in your Connector in Cyclr. To get started, at Connector-level, go to the Methods tab.
Click ‘Add Method’ to create your first method. This will open a popup that prompts you to give your method a name. Name the method according to what it does, and click ‘Create’.
You will then be taken directly to the Method’s Settings.
Fill in the Basics
In a Method’s ‘Settings’ tab, you should always complete the following information:
- Description: Add a simple explanation of what this method does.
- Method Type: There are four different method types available
- Action – This means the method is a standard HTTP request.
- Webhook
- WebhookResponse
- Script
- HTTP Type: For Action and Script Method types, you will need to determine the HTTP action type that corresponds with what the method will do, e.g. Get, Post, Put, Patch, or Delete.
- EndPoint: The URL that the Connector makes requests to. This includes the Domain.
Other available fields include ‘Category’, which allows you to group different methods together. This ensures that you can find all your similar methods under the same umbrella in the Connector.
For example, you might have several methods relating to Contacts that you want to group together for clarity, or several webhook methods that you want to be found under the same heading.
If you have a category, you can also add ‘Subcategories’ for further grouping under categories.
Once you’ve filled out the Settings Tab, remember to click the ‘Save’ button to save your progress!
