Camunda Connectors 标志

Camunda Connectors

组织
camunda
camunda-connectors

Use this skill when a process step should call a common service without custom code — REST, Slack, email, Kafka, AWS, Salesforce, and similar — even if connectors aren't mentioned. Finds, configures, and applies Camunda 8's pre-built connector templates to BPMN elements with c8ctl. Not for building new connectors; use camunda-connectors-development. Covers c8ctl template discovery, configuration, application, and updates.

Add to TypingMind

概览

发布者camunda
代码仓库skills
技能名称camunda-connectors
星标数
26
复刻数
5
附带文件
2
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 camunda 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Camunda Connectors AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/camunda/skills/tree/main/skills/camunda-connectors
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/camunda/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/camunda-connectors .claude/skills/camunda-connectors
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Camunda Connectors,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Camunda Connectors。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Camunda Connectors 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Camunda Connectors

Browse and configure pre-built Camunda connectors using element templates. Apply connector configurations to BPMN service tasks and event elements for integrations with external systems (REST APIs, Slack, Kafka, AWS, email, databases, etc.).

Prerequisites

  • c8ctl CLI installed and configured (c8ctl add profile) — provides c8ctl element-template commands
  • Local OOTB catalog synced — run c8ctl element-template sync once before using search, info, get-properties, get, or apply with an OOTB template ID. Re-run (optionally with --prune) to pick up upstream changes. Applying a template from a local file path or https:// URL bypasses the cache and does not require sync.
  • c8ctl ≥ 4.6.1 for element-template update.
  • c8ctl ≥ 3.2.0 for --engine-version on discovery commands and --set FEEL auto-=. If a command or flag is unavailable, ask the user to upgrade: npm install -g @camunda8/cli

Cross-References

  • camunda-bpmn: Use for creating the BPMN process structure (service tasks and event elements that host connectors)
  • camunda-feel: Use for FEEL expressions in connector input/output mappings
  • camunda-process-mgmt: Use for deploying the configured process to a cluster

Instructions

Element Templates

Element templates (also called connector templates — the terms are used interchangeably in Camunda's docs and tooling) are JSON files that encapsulate connector configuration. Each template defines:

  • The task type identifying which connector runtime handles the job
  • Properties with bindings that map to BPMN XML (input mappings, task headers, etc.)
  • Conditions controlling which properties are active based on user choices
  • Constraints validating user input (required fields, URL patterns, etc.)
  • Groups organizing properties into logical sections (authentication, endpoint, output, error handling)

Read references/element-template-schema.md for the reader's guide to property fields and the binding → BPMN XML mapping. The full authoring schema lives in camunda-connectors-development.

Discovering Connectors via Search

Always discover the template ID via c8ctl element-template search rather than guessing or recalling an ID from memory. Template IDs and versions evolve — the search command reflects what's actually available in the local OOTB catalog.

bash
c8ctl element-template search "REST"                              # find HTTP/REST connectors
c8ctl element-template search "slack"                             # find Slack connectors
c8ctl element-template search "kafka"                             # find Kafka connectors
c8ctl element-template search "connector" --limit 5              # cap results (default 20)
c8ctl element-template search "REST" --engine-version 8.8.0      # latest version compatible with 8.8.0

Each result shows the template name, ID (e.g. io.camunda.connectors.HttpJson.v2), version, appliesTo, engine constraint, and description. The header reads Showing N of M matches for '<query>' — if M > N, narrow the query or raise --limit. Pick the ID that matches your use case.

Inbound integrations typically ship as a family of templates — one per BPMN element type the inbound event can attach to (message-start event, intermediate-catch event, boundary event, receive task, …). search returns each variant; pick the one that matches the BPMN shape you're modelling.

Inspecting a Template

Two commands cover the questions you'll ask before applying:

  • c8ctl element-template info <id> [--engine-version <x.y.z>] — metadata card (applies-to, engine constraint, description, docs link). Pass --engine-version to resolve the latest version compatible with that engine. Useful when the connector is unfamiliar.
  • c8ctl element-template get-properties <id> [<name>...] [--engine-version <x.y.z>] — settable properties (condensed: name + description, grouped). Accepts positional names (shell-style globs work, quote them) and --group <id> to narrow. Pass --engine-version to resolve the latest version compatible with that engine. Add --detailed for per-property cards showing Required, FEEL, Active when, Pattern, Default, Choices — reach for --detailed when an apply --set call fails or when you need to know whether to prefix a value with =.
bash
c8ctl element-template get-properties io.camunda.connectors.HttpJson.v2 url method
c8ctl element-template get-properties io.camunda.connectors.HttpJson.v2 --group endpoint
c8ctl element-template get-properties io.camunda.connectors.HttpJson.v2 --detailed authentication.token

If a property's internal id differs from its binding name (the name --set matches), the condensed view annotates it as [id: <internal>] on a continuation line — always use the top-line name with --set.

Applying a Template to a BPMN Element

Apply a template to a service task (or other supported element) — one call produces a fully-configured connector:

bash
c8ctl element-template apply -i io.camunda.connectors.HttpJson.v2 Task_FetchUser process.bpmn

The <template> argument can be:

  • An OOTB template ID (with optional @<version>, e.g. io.camunda.connectors.HttpJson.v2@13). Without @<version>, the highest version compatible with the BPMN's executionPlatformVersion is auto-resolved. Requires c8ctl element-template sync to have run at least once.
  • A local file path (e.g. ./my-custom-template.json) — no sync required
  • An https:// URL (GitHub blob URLs are auto-rewritten to raw content) — no sync required

-i modifies the BPMN file in place. Without -i, the modified XML is printed to stdout — useful for previews, redirected output, or composing with other tooling:

bash
c8ctl element-template apply <id> <element> process.bpmn | diff process.bpmn -    # preview the diff
c8ctl element-template apply <id> <element> process.bpmn > new-process.bpmn       # write to a different file
c8ctl element-template apply <id> <element> process.bpmn | c8ctl bpmn lint        # quick preview lint — not the lint loop

Apply writes zeebe:modelerTemplate, zeebe:modelerTemplateVersion, zeebe:modelerTemplateIcon, zeebe:taskDefinition, the entire zeebe:ioMapping block (inputs and outputs), and the zeebe:taskHeaders onto the element. All of those must stay consistent — apply owns them. In particular, custom <zeebe:output> mappings hand-added to a connector element will be wiped on the next apply — put downstream extraction on a separate activity, or on the next flow element's <zeebe:ioMapping> (end events accept it too).

apply auto-resolves the latest OOTB template version compatible with the BPMN's executionPlatformVersion. Pass --engine-version <x.y.z> to search, info, or get-properties to apply the same engine-compatibility filter during discovery — search returns the latest compatible version per template, and info / get-properties resolve via the same check. A pinned @<version> (e.g. io.camunda.connectors.HttpJson.v2@12) always takes precedence over --engine-version and produces a warning when the two differ.

Setting Property Values at Apply Time

Set every value via repeated --set key=value flags on the same apply call:

bash
c8ctl element-template apply -i io.camunda.connectors.HttpJson.v2 Task_FetchUser process.bpmn \
  --set method=GET \
  --set url='="https://api.example.com/users/" + string(userId)' \
  --set authentication.type=bearer \
  --set authentication.token='{{secrets.API_TOKEN}}' \
  --set resultExpression='={user: response.body}'

Note the string(userId) wrapper — userId is a number and FEEL does not auto-coerce in string concatenation. Without string(), the expression silently evaluates to null (the connector then issues a request to null). See camunda-feel for FEEL type coercion details.

key matches the template's property binding names — discover them with get-properties. When the same name appears on multiple binding types, prefix with input:, output:, header:, property:, or taskDefinition::

bash
--set input:correlationKey='=order.id'
--set header:correlationKey=staticHeaderValue

apply errors with a helpful list of valid names if you pass an unknown property, and with the qualified-name list if a bare key is ambiguous.

FEEL value syntax. feel: required values must start with =. The canonical form is --set key='=value'; --set 'key==value' (compact) also works. For feel: required properties, c8ctl auto-prepends = when the value doesn't start with one, so --set key=expression stores =expression; value-side whitespace is trimmed. Check get-properties --detailed <name> when unsure about the feel setting for a property.

Defaults bake in. apply materializes every active property with a default into the BPMN — <zeebe:input>, <zeebe:output>, <zeebe:taskHeaders>, and <zeebe:property> entries — not just the keys you --set. The defaults are captured at apply time — if the template later ships a new default, this BPMN keeps the old value.

Re-apply. Omitted --set keys keep their current XML value, so single-property re-applies don't disturb the rest. Exception: dropdowns reset to the template default on every re-apply.

Updating Elements to a Newer Template — update (c8ctl 4.6.1+)

update moves elements that already carry a template to a newer version of it (or to another template via --to <id>[@<n>], path, or URL), carrying values across and reporting each change. Prefer it over re-running apply on a new catalog version — apply resets dropdowns.

bash
c8ctl element-template update <template-id> process.bpmn --dry-run             # preview, writes nothing
c8ctl element-template update <template-id> [<element-id>] process.bpmn -i     # write: all matching elements, or one
  • Selection. <template-id> is the template in use today; one ID per command. Without an element ID, every element on it (any version) is updated; with one, only that element, and it must use <template-id>.
  • Target. Default: latest version compatible with the BPMN's executionPlatformVersion; sync first.
  • Values. Same-key values carry over. A value the target binds under another key moves only via a migration recipe in the target (metadata.migratesFrom), --recipe <file>, or --map <from>=<to>; the rest is reported.
  • Report. Markers: + new, ~ changed, > moved, - dropped, plus recipe notes. --json gives the structured form; prefer it for agents.
  • Safety. The file is written once, only if every selected element migrates. --dry-run exits 1 if one would fail or the write needs --allow-lossy — pass it only after reading every dropped value.

Per-connector recipes are not covered here yet; for the AI Agent v1 → v2 move, see camunda-ai-agents.

Result Mapping — resultVariable and resultExpression

Connectors expose two properties under the Output mapping group that control what gets written back into the process scope when the connector completes:

  • resultVariable — name of a single process variable that receives the raw response. Plain string, no = prefix. Use when downstream tasks just need the whole response under one name.
  • resultExpression — FEEL expression evaluated against the response, with its result merged into the process scope. Requires the = prefix. Use to extract specific fields, rename them, or compute derived values.

Both can be set together — resultVariable captures the raw response, resultExpression shapes named variables alongside it. If neither is set, the response is discarded and downstream tasks see no new variables from this connector.

bash
--set resultVariable=apiResponse \
--set resultExpression='={user: response.body.user, status: response.statusCode}'

The same mechanism applies to inbound connectors — e.g. the Slack inbound connector surfaces resultVariable + resultExpression under the same Output mapping group. The engine writes the incoming event payload into the process scope when the trigger fires, identically to how outbound writes the response when the service task completes.

When a connector is used as an AI-Agent tool, its output must surface under a toolCallResult variable (see camunda-ai-agents for the concept). REST connectors typically use resultExpression='={toolCallResult: response.body}'; other connectors apply the same resultExpression/resultVariable mechanics shaped to their own response.

Example — HTTP REST Connector

bash
# 1. Discover the template
c8ctl element-template search "REST"
# → io.camunda.connectors.HttpJson.v2 (REST Outbound Connector)

# 2. Apply with all values in one call
c8ctl element-template apply -i io.camunda.connectors.HttpJson.v2 Task_FetchUser process.bpmn \
  --set authentication.type=bearer \
  --set authentication.token='{{secrets.API_TOKEN}}' \
  --set method=GET \
  --set url='="https://api.example.com/users/" + string(userId)' \
  --set resultVariable=apiResponse \
  --set resultExpression='={user: response.body}' \
  --set errorExpression='=if response.statusCode >= 400 then bpmnError("HTTP_ERROR", string(response.statusCode)) else null'

Resulting BPMN (the data:image/svg+xml;base64,... icon blob is elided here for readability — leave it in place in the real file):

xml
<bpmn:serviceTask id="Task_FetchUser" name="Fetch user data"
  zeebe:modelerTemplate="io.camunda.connectors.HttpJson.v2"
  zeebe:modelerTemplateVersion="13"
  zeebe:modelerTemplateIcon="data:image/svg+xml;base64,...">
  <bpmn:extensionElements>
    <zeebe:taskDefinition type="io.camunda:http-json:1" retries="3" />
    <zeebe:ioMapping>
      <zeebe:input source="bearer" target="authentication.type" />
      <zeebe:input source="{{secrets.API_TOKEN}}" target="authentication.token" />
      <zeebe:input source="GET" target="method" />
      <zeebe:input source="=&quot;https://api.example.com/users/&quot; + string(userId)" target="url" />
    </zeebe:ioMapping>
    <zeebe:taskHeaders>
      <zeebe:header key="resultVariable" value="apiResponse" />
      <zeebe:header key="resultExpression" value="={user: response.body}" />
      <zeebe:header key="errorExpression" value="=if response.statusCode &gt;= 400 then bpmnError(&quot;HTTP_ERROR&quot;, string(response.statusCode)) else null" />
    </zeebe:taskHeaders>
  </bpmn:extensionElements>
</bpmn:serviceTask>

After applying, run the BPMN lint loop (see camunda-bpmn) until the BPMN is lint-clean. apply succeeding is not evidence the BPMN is clean.

bash
# One command: lints only once the Camunda ruleset is confirmed. Fix and re-run until errorCount and warningCount are 0.
if c8ctl --dry-run bpmn lint --json process.bpmn | grep -q 'camunda-compat/camunda-cloud-'; then c8ctl bpmn lint --json process.bpmn; else echo "Camunda ruleset not applied: set modeler:executionPlatformVersion, or upgrade c8ctl to >= 3.1.0"; false; fi

Common Pitfalls

  • <bpmn:documentation> is not settable via --set. It's a separate BPMN child element, not a template property — hand-edit it in after apply. Matters most when a connector is used as a camunda-ai-agents tool.
  • Set only active properties. Conditional properties (e.g. authentication.token only applies when authentication.type=bearer) are silently skipped if their gating property isn't set in the same call. Decide the parent value first, then set the children.
  • Outbound and inbound connectors both need resultVariable and/or resultExpression. Omitting both means the connector's response is discarded.
  • Use {{secrets.NAME}} for credentials. Never hardcode tokens, API keys, or webhook URLs in --set. See camunda-c8ctl for the secrets bootstrap on local clusters.
  • For values that are not yet known, use a clear placeholder like TODO_REPLACE_WITH_API_URL or PLACEHOLDER_SLACK_CHANNEL. Avoid "", "test", or "xxx" — those can be mistaken for intended values.

References

For detailed reference material, read from references/:

  • element-template-schema.md — reader's guide for configuring OOTB templates via apply --set: property-reading checklist, binding → BPMN XML mapping table, HTTP worked example. For the full authoring schema, see camunda-connectors-development

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Camunda Connectors AI 技能有什么作用?

Use this skill when a process step should call a common service without custom code — REST, Slack, email, Kafka, AWS, Salesforce, and similar — even if connectors aren't mentioned. Finds, configures, and applies Camunda 8's pre-built connector templates to BPMN elements with c8ctl. Not for building new connectors; use camunda-connectors-development. Covers c8ctl template discovery, configuration, application, and updates.

为什么在 TypingMind 中使用 Camunda Connectors?

因为您只需安装一次,就能搭配任何模型使用。Camunda Connectors 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Camunda Connectors?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/camunda/skills/tree/main/skills/camunda-connectors。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Camunda Connectors?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Camunda Connectors 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Camunda Connectors 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Camunda Connectors AI 技能免费吗?

是的。camunda 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇