一键导入
create-connector
Scaffold a Workato custom connector (Connector SDK) project and generate its connector.rb. Japanese prompts are also supported.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scaffold a Workato custom connector (Connector SDK) project and generate its connector.rb. Japanese prompts are also supported.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Push local project changes to the Workato remote. Runs validation, pushes connections first, and guides the deploy end-to-end.
Push local project changes to the Workato remote. Runs validation, pushes connections first, and guides the deploy end-to-end.
Push local project changes to the Workato remote. Runs validation, pushes connections first, and guides the deploy end-to-end.
Validate the structure of Workato recipe / Genie JSON and report issues. Takes a file path or a project name as argument.
Validate the structure of Workato recipe / Genie JSON and report issues. Takes a file path or a project name as argument.
Build a Workato Workflow App (approval workflows, etc.). The only UI action is enabling the App. Everything else (Data Table, stages, pages, recipes) is generated as JSON and pushed. Japanese prompts are also supported.
| name | create-connector |
| description | Scaffold a Workato custom connector (Connector SDK) project and generate its connector.rb. Japanese prompts are also supported. |
Interactively generate a Workato Connector SDK custom-connector project.
/create-connector <api-name> — create a connector for the given API (preferred; how /implement invokes it)/create-connector — create a new custom connector interactively (fallback)Note: connectors live under
connectors/<name>/and are not tied to a single project (they're shared assets reused across projects). That's why this skill does not take a<project>/<NNN>-<slug>argument. When/implementdispatches a[connector]task, pass the API documentation URL and the auth-method hints from the calling project'splan.md## New Components### Connectionssection as arguments, or confirm them interactively.
Interview the user:
Read the references:
docs/connector-sdk/overview.md — SDK overview and setup pitfalls.docs/connector-sdk/connector-rb.md — connector.rb reference (HTTP method return types, base_uri conventions, normalization helper templates)..cursor/rules/workato-connector-sdk.mdc — format rules.If the API docs are provided:
Generate files under connectors/<name>/:
Dispatch the generation.
connector.rbruns to hundreds of lines. Hand the generation to theworkato-buildersubagent (asset typeconnector) — every supported editor ships it; invoke it through your editor's subagent mechanism. Pass the design from steps 1–3, the connector.rb conventions in "Rules for generating connector.rb" below, and the target paths. The subagent generates + runsruby -c+ writes the files and returns a short summary, keeping the Ruby source out of the main context. (Only if your editor has no subagent support, generate inline.)
connectors/
├── .gitignore # shared (copy from templates/gitignore/connectors.gitignore on first run only)
└── <name>/
├── connector.rb # the connector itself
├── settings.yaml # credentials template
├── Gemfile # Ruby dependencies
└── README.md # connection setup instructions
connection blockauthorization.type to match the API's auth method.base_uri to the API's base URL.fields.test block/me, /user, /account, etc.).actions blockexecute, input_fields, and output_fields on every action.object_definitions and reuse across actions.triggers blockpoll, dedup, input_fields, output_fields.
poll returns { events:, can_poll_more:, next_poll: }.dedup returns the record's unique key.webhook_subscribe, webhook_unsubscribe, webhook_notification.object_definitions block# Credentials (replace with real values)
api_key: YOUR_API_KEY
# domain: YOUR_DOMAIN
source 'https://rubygems.org'
gem 'workato-connector-sdk'
# Stdlib gems that were removed from default gems in Ruby 3.4+.
# Declare them explicitly to avoid `LoadError: cannot load such file -- csv` etc.
# See docs/connector-sdk/overview.md "Default gems removed in Ruby 4.0".
gem 'csv'
gem 'base64'
gem 'bigdecimal'
gem 'logger'
gem 'drb'
gem 'ostruct'
gem 'mutex_m'
group :test do
gem 'rspec'
gem 'vcr'
gem 'webmock'
end
Copy templates/gitignore/connectors.gitignore directly into the org's connectors/ repository root as .gitignore (single source):
cp templates/gitignore/connectors.gitignore connectors/.gitignore
If a per-connector directory (connectors/<name>/) needs additional excludes, add a separate .gitignore in that subdirectory.
After generation, display:
settings.yaml (for local testing).cd connectors/<name>
bundle install # first run only
bundle exec workato exec connector.rb test # test (needs real credentials in settings.yaml)
Note: use
bundle exec workatobecause the Connector SDK'sworkatocommand collides with the Platform CLI.
# The same command works for both the first push and subsequent updates.
# On the first push it creates a new connector and saves the returned connector_id
# to the YAML frontmatter in connectors/docs/<name>.md.
# Subsequent pushes read the connector_id from the frontmatter and auto-update.
python3 scripts/workato-api.py sdk push --connector connectors/<name>/connector.rb
--title "<Title>" (only when frontmatter has no ID).--connector-id <id> (overrides frontmatter)./sync-connectors --custom <name>
After the first push, connectors/docs/<name>.md is just frontmatter + a stub.
/sync-connectors parses connector.rb and fills in the body (the frontmatter is preserved).Generated files (connector.rb, Gemfile, settings.yaml, README.md) live under connectors/<name>/. Commit them in the workspace repository:
git add connectors/<name>/
git commit -m "Add connector: <name>"
git push origin
settings.yaml is already excluded in the workspace .gitignore (it contains credentials). sdk push is the deploy to the Workato API, separate from git.