# Using the Workato Connector SDK

Workato's Connector SDK has many features that enable you to build, test, develop, and share your custom connector. In this article, we will describe the basic functionalities of the platform, and how you can leverage different Workato features to simplify your connector development process.

# Before you begin

In the main Workato recipes page, on the Tools tab, select Connector SDK. Your registry of custom connectors appears, and you can now see all custom connectors that you built yourself, or cloned from you colleagues. If you're signed in, click here (opens new window) to be taken to that page.

Navigating to SDK Located in the top navigation bar in Workato. This may appear differently on your screen, depending on your subscription plan.

# Creating a new custom connector

Start creating a new connector on the main SDK tool home page. All your connectors appear in your workspace, including the connectors you built yourself and the conenctors you installed from the community.

SDK Homepage

Clicking the New connector button, which begins and interaction that leads you to create a connector from two optional starting points:

  1. Using our sample connector code
  2. By importing an OpenAPI specification

SDK Homepage

# Creating a connector using sample code

Provide a suitable name for your connector. This is often the name of the application you are connecting to. You can also provide a logo for your connector. Ensure that this logo corresponds to the logo of the application you are connecting. We recommend that you populate these fields to make it easier to search your personal registry for the custom connector.

Workato then supplies a sample connector for Calendly (opens new window). Calendly is a free scheduling software that you can use on a trial basis, to begin developing and using the connector. Notice the comments in the connector code that direct you further on how to build authentication, actions, and triggers.

# Creating a connector by importing an OpenAPI specification

Creating a connector from an OpenAPI specification allows you to automatically generate most dependent assets like authentication, schema and actions. Learn more

You can change the custom connector title by clicking the pencil (edit) icon next to the custom connector, and changing the name. You can then save your changes by clicking the green tick icon (confirmation).

Changing title input field Select the green tick or blur out of the field to save

To change the logo of the custom connector, click the logo image. This prompts your browser to open a system upload window so you can select a new logo to upload. This logo represents your custom connector in your registry, and appears when you use this custom connector in recipes.

Changing logo Select the icon logo to upload an icon from your local machine

Change your connector description by navigating to the Settings tab in the custom connector home page. This tab contains information that includes a text input field for the description of your connector. The description lets other users know more about your connector when they see it in the community library.

Changing description in settings tab Use the Settings tab to change your description

# Using the Workato Code editor

The Workato SDK platform uses the Code Mirror (opens new window) for editing your connector code. When writing your connector code, you can see all syntax or code errors in real time. Workato has a set of allowed ruby methods that we allow for use in the code editor. This means that any ruby method not on our allowed list results in highlighted errors if called by the code inside your connector.

Note that the code editor has a set of basic hotkeys that make your experience easier.

Persistent Search
PC: Ctrl-F
MacOS: Cmd-F
Replace
PC: Shift-Ctrl-F
MacOS: Cmd-Option-F
Replace all
PC: Shift-Ctrl-R
MacOS: Shift-Cmd-Option-F

# Deleting a custom connector

A Workato account can have any number of custom connectors in its registry. However, if you have to delete a custom connector, you cannot do that if it is part of active running recipes. You must first stop the listed recipes, and then proceed to deleting the connector.

Delete prevention popup Stop or edit these recipes to delete a custom connector

Workato reminds you again of any stopped recipes that the deletion of this custom connector affects. Note that deleting a custom connectors does not delete its clones; they are separate copies, not dependents.

Delete popup warning When you delete a custom connector, you cannot recover it