# Use the Workato Connector SDK

Workato's Connector SDK has numerous features that enable you to build, test, develop, and share your custom connector. This article covers the platform's basic functionalities and discusses how you can leverage different functionalities to make your connector development process smoother.

# Before you begin

1

Sign in to your Workato account and navigate to the workspace in which you plan to build your custom connector.

2

Click Tools > Connector SDK to view the registry of custom connectors you have built or cloned from others. If you are signed in, visit the Custom Adapters page (opens new window) to access this directly.

# Create a new custom connector

You can create a new custom connector from the Connector SDK main screen.

In the top right corner of the page, you'll see a button to create a new custom connector. Clicking this takes you to your new custom connector's home page. This page allows you to begin writing custom connector code and find useful information like its share link and version history.

1

Click Tools > Connector SDK.

2

Click New connector.

3

Select Get guided from a Workato template or Import OpenAPI specification as your starting point, then click Next. Note that OpenAPI is in beta and must be provided in OpenAPI 3.0 specification. Learn more about OpenAPI specification.

Create a new connectorSelect the icon logo to upload an icon from your local machine

4

Provide a description and logo for your connector, then click Go to editor.

Add connector detailsProvide a description and logo

5

Add your source code, configure your connection, and test your connector before you release and share it.

Your custom connector is automatically given a default title, logo, and empty description when you create it. You should populate these fields to make it easier to search for your custom connector within your personal registry.

Complete the following steps to change the title of your custom connector:

1

Click the pencil icon next to the custom connector.

2

Edit the connector name in the box that appears.

3

Click the green checkmark to save your changes.

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

Complete the following steps to change the logo for your custom connector:

1

Click the existing logo image to open a system upload window.

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

2

Select the logo you plan to upload. This logo represents your custom connector in your registry and is displayed when using it in recipes.

Complete the following steps to change the description of your custom connector:

1

Navigate to the Settings tab in your custom connector home page.

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

2

Update the description of your custom connector and then click Save. This description lets others learn about your custom connector before cloning it.

# Use the Workato code editor

The Workato SDK platform uses CodeMirror (opens new window) for editing connector code, allowing you to see syntax and code errors in real time. Workato provides a set of allow-listed Ruby methods (opens new window) for use in the code editor. Ruby methods not included in this allowlist are highlighted as errors.

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

Function Hot-key
Persistent Search Ctrl-F / Cmd-F
Replace Shift-Ctrl-F / Cmd-Option-F
Replace all Shift-Ctrl-R / Shift-Cmd-Option-F
Auto-indent current line/selection Shift-Tab
Save Ctrl-S / Cmd-S

# Delete a custom connector

You cannot delete a custom connector if it is active in a running recipe. A pop-up notice displays if the custom connector you plan to delete is active in a running recipe.

DELETED CUSTOM CONNECTORS CANNOT BE RECOVERED

Deletion is permanent. You cannot recover a deleted custom connector. Custom connectors cloned from the deleted connector are not deleted.

Complete the following steps to delete a custom connector:

1

Click the custom connector you plan to delete.

2

Click the delete (trash) icon. A pop-up notice displays if the custom connector you plan to delete is active in a running recipe.

Delete prevention popupStop or edit these recipes to delete a custom connector

3

Select the checkbox to confirm your decision to delete the connector when prompted and then click Yes, delete connector.

Delete popup warningYou cannot recover a deleted custom connector


Last updated: 8/8/2024, 10:33:18 PM