workflows-discover-actions

Clay 工作流 — 发现工作流节点可用的操作并检查其输入输出架构:用于列出节点支持的操作类型(例如电子邮件查找、公司信息丰富化、电话号码查找等)并查看每个操作的输入与输出结构,便于构建工作流时选择与连接节点。

仓库最近推送
GitHub Stars
158
Forks
27
Issues / PRs
10

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "workflows-discover-actions":https://skillpi.com/zh/skills/deepskill-ffdad15cd92727c158d53cfcd1ac51203acdee1746be5d3a80fc6d2b7e9f570a。安装前核对上游来源和版本:https://github.com/clay-run/agent-plugins。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

Clay 工作流 — 发现工作流节点可用的操作并检查其输入输出架构:用于列出节点支持的操作类型(例如电子邮件查找、公司信息丰富化、电话号码查找等)并查看每个操作的输入与输出结构,便于构建工作流时选择与连接节点。

0 下载

介绍来源: third_party · clay-run · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: workflows-discover-actions
description: Clay workflows — discover available actions for workflow nodes (email lookup, company enrichment, phone finders, etc.) and inspect their input and output schemas. Use while building a workflow.
allowed-tools: Bash(clay *), Bash(grep *), Bash(cat *), Bash(wc *), Bash(jq *), Read, Grep

Discovering Clay actions

This skill helps you find available Clay actions for use in Clay workflow nodes, via the clay CLI. If clay isn't on PATH, run the setup skill.

Not to be confused with clay routines — that lists saved function/workflow routines in the workspace, a different concept from workflow actions. For workflow building blocks, use clay workflows actions.

Actions catalog

The catalog is fetched live from the workspace's action catalog API. It includes all available actions with workspace-specific configuration (configured tools, app accounts, credit costs).

Each catalog entry has:

  • actionKey — unique identifier for the action
  • packageId — the package this action belongs to
  • displayName / name — human-readable names
  • description — what the action does
  • outputParameters — what data the action returns
  • creditCost — catalog base data-credit price for the workspace's billing plan, not a quote for the selected inputs and credentials. usesPrivateKeyCost is a separate private-key base price. Missing prices do not mean free. These fields alone cannot establish a configured action's cost or a workflow total.
  • dataStrengths — what this action is best at (editorial metadata)
  • whyUseful — when to use this action
  • configuredTools — existing tool instances in this workspace, each with:
    • toolId — identifies an already-configured instance of the action. Passing it when creating or updating a node does not share that instance: unless the node already uses it, the edit creates a new tool with the same action and credentials
    • appAccountId / appAccountName — bound credentials
    • appAccountAbilities — your abilities on those credentials (null when the tool binds none). appAccountAbilities.canAccess: false means the workspace has withheld this connection from you: binding it will be rejected, so pick another tool or another account rather than retrying
  • availableAppAccounts — app accounts connected in this workspace for the action's provider, each with id, name, and abilities (canAccess / canUpdate / canDelete). This is every account the workspace has, not only yours: abilities.canAccess: false entries exist and cannot be bound. Present only when the action needs an API key and no usable configured tool exists
  • priorityTier — lower is better (0 = functions, 1 = Clay first-party, 2 = has app account, 3 = Clay credits, 4 = requires key)
  • packageDisplayName — human-readable provider name (e.g. "Salesforce"); absent on workspace-function entries (priorityTier: 0), so guard for it in jq (.packageDisplayName // "")
  • actionLabels.type — the action's capability type (e.g. "Send Data"); can be a single string or an array of strings, so match with both shapes in mind

The catalog has no input field names. Before wiring any input, fetch the real names with clay workflows actions schema (see below) — never guess them, or the node will silently fail to bind. schema also returns the same outputParameters the catalog entry above carries, so once you've picked an action, one schema call covers both directions instead of returning to the catalog for outputs.

Using catalog data when adding tools

Every tool node gets its own tool instance — input mappings live on the tool, so a shared instance would make one node's mappings overwrite another's (including nodes in other workflows). Node edits enforce this: they only keep a tool the node already has, and otherwise create a new one.

  1. Add the action — pass actionKey + actionPackageId:
    {
      "toolType": "clay_action",
      "actionKey": "find-email-from-name",
      "actionPackageId": "..."
    }
  2. Bind specific credentials — pass appAccountId from availableAppAccounts, choosing one whose abilities.canAccess is true. Otherwise the new tool binds a private workspace account for that provider when one exists, and falls back to Clay's own credentials (which cost credits) when it doesn't:
    {
      "toolType": "clay_action",
      "actionKey": "...",
      "actionPackageId": "...",
      "appAccountId": "app_xyz"
    }

Fetch the catalog with the command below. If it fails (e.g. missing credentials), run the setup skill first.

clay workflows actions list > /tmp/clay-actions-catalog.json

How to search

The catalog is one big JSON object ({ "data": [...] }), kept fully greppable. Search it for actions matching the user's request ($ARGUMENTS) with grep, or filter structurally with jq:

grep -i "email" /tmp/clay-actions-catalog.json
jq -r '.data[] | select(.name | test("email";"i")) | "\(.priorityTier) \(.packageId) \(.actionKey) — \(.displayName)"' /tmp/clay-actions-catalog.json | sort

Prefer actions with lower priorityTier values and existing configuredTools — an action that already has a configured tool usually has working credentials, which the new tool inherits. Skip configured tools whose appAccountAbilities.canAccess is false: priorityTier does not account for your access, so a tier-2 entry can still be one you are not allowed to bind.

Never tell the user a capability is missing without searching for it first

The catalog is the source of truth for this workspace. Before you say something like "there's no native Salesforce write action" or "you'll have to do that with a raw API call", you MUST actually search the catalog for it — do not answer from memory or from the user's phrasing. Provider write actions are the most commonly missed, because their displayNames are generic ("Create Record", "Upsert Object") and their descriptions rarely contain words like "write" or "sync", so a naive keyword grep misses them. Search two ways before concluding anything:

  1. By provider, using packageDisplayName (absent on workspace-function entries — guard it with // "" or the test() call throws on the first function and aborts before printing any real matches):
    jq -r '.data[] | select((.packageDisplayName // "") | test("salesforce";"i")) | "\(.packageId) \(.actionKey) — \(.displayName) [\(.actionLabels.type // "")]"' /tmp/clay-actions-catalog.json | sort
  2. By capability (see the write-action note below).

Only after both searches genuinely come up empty may you say the capability is unavailable — and phrase it as "I don't see it in this workspace's catalog", not "it doesn't exist" or "it isn't supported". When it's absent, give the user a next step: suggest confirming the app/action is connected and enabled for the workspace, and offer a concrete workaround rather than a flat no.

Finding write / "send data" actions (CRM upserts, etc.)

Writing back to a CRM or other destination ("write to Salesforce", "create a HubSpot contact", "update the record") is a native action — not something to hand-roll with an HTTP call. These actions carry "Send Data" in actionLabels.type (their tags usually include CRM and EXPORT). type can be a single string or an array of strings — don't rely on actionKey naming to spot them; each provider names its write actions differently (e.g. Salesforce's create-object/update-object/upsert-object, HubSpot's hubspot-create-object, Clay Labs' upsert-audiences-record). List every write action available in the workspace with:

jq -r '.data[] | select(([.actionLabels.type] | flatten | index("Send Data"))) | "\(.packageDisplayName // ""): \(.actionKey) — \(.displayName)"' /tmp/clay-actions-catalog.json | sort

For Salesforce specifically the package is "Salesforce" and the write actions are create-object, update-object, and upsert-object; upsert-object is usually the right choice for "write back onto the record" (it needs an external ID field). Confirm these are absent from the catalog before telling the user to pick some other write-back mechanism.

When several actions fit, recommend a default

The catalog almost always has multiple actions that do roughly the same job (several email finders, several company-enrichment providers, waterfalls vs. single providers, etc.). Use the request, priorityTier, configured credentials, coverage, and supported pricing internally to recommend and wire the best-supported default when the choice is reversible and low-risk. Follow the shared cost policy in workflows-discover-actions/cost-and-budget.md for cost disclosure and spending confirmation. Ask about consequential coverage, credentials, destination, or semantics trade-offs that the request does not resolve.

  • Refer to each option by its human-readable displayName (e.g. "Find Work Email (Clay)"), never the internal actionKey.
  • For each option, explain its relevant strengths and whether a usable connection exists. Discuss pricing only under the shared cost policy in workflows-discover-actions/cost-and-budget.md; keep catalog ranking and routine price comparisons internal.
  • When every account for a provider has abilities.canAccess: false, say so plainly and tell the user to ask a workspace admin to grant them access to the connection — don't report the provider as unconnected, and don't try to bind it anyway.
  • Name the default you chose (usually the lowest priorityTier with an existing configured tool) and let the user override it as the build evolves.

Getting action input and output schemas

Run this for any action whose inputs you'll bind or whose results a downstream node will address, and use the exact name / outputPath values it returns:

clay workflows actions schema <packageId> <actionKey>

Example:

clay workflows actions schema 56058efe-4757-4fe7-a44b-39c2d730c47a find-email-from-name

This returns the action's packageId, actionKey, displayName, inputParameters (the input parameter schema), and outputParameters (the declared output fields, flattened to leaf paths — available before the node has ever run). Pipe to jq '.inputParameters' or jq '.outputParameters' to see just one side. An enrich (tool) node stores the action payload under result, so an output's wiring path is $.result.<outputPath> — see the workflows entry-point skill's data-passing.md ("Output structure of enrich (tool) nodes") for the full addressing rules. outputParameters comes back empty for actions that declare no output schema; in that case, run the action once and read the paths off its result — clay workflows actions test (Sculptor: execute_clay_action).

Dynamic (input-dependent) fields

Some actions expose extra parameters only after an earlier input is chosen — e.g. a CRM "create object" reveals a different field set per object type, and dependent dropdowns whose options depend on a parent value. These are not in schema's inputParameters; resolve them with:

clay workflows actions dynamic-fields <packageId> <actionKey> <parameterPath> \
  --type select|input --account <appAccountId> --inputs '{"<driver>":"<value>"}'

--type select resolves a dependent dropdown's values; --type input resolves a revealed field set (names come back pipe-namespaced, e.g. fields|name). It's iterative — fill one input, re-run with it in --inputs for the next. See the workflows entry-point skill's data-passing.md ("Discovering an action's dynamic fields") for the full flow and how the results map into inputMappingConfig.

版本历史

  1. clay-cli-v1.22.0 GitHub ↗
    原版更新说明

    Standalone Clay CLI 1.22.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay ad-syncs trigger <adSyncId>` starts an export of an ad sync’s audience to its destinations: a draft’s first trigger starts the sync, later triggers run it again, and a paused sync resumes. - When a command fails because of a plan limit, the agent shows the upgrade link from the error and offers a way to continue without the gated feature. - Various bug fixes and stability improvements.

  2. clay-cli-v1.21.0 GitHub ↗
    原版更新说明

    Standalone Clay CLI 1.21.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay knowledge-hub skills create` saves agent skills to the workspace and resolves duplicate names without overwriting existing skills. - Various bug fixes and stability improvements.

  3. clay-cli-v1.20.0 GitHub ↗
    原版更新说明

    Standalone Clay CLI 1.20.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows runs bulk pause`, `resume`, and `stop` control many runs; `clay workflows triggers list` lists assignments and schedules, and `update --resume-paused-runs` resumes paused runs with a trigger. - `clay workflows groups publish-as-function` creates reusable functions; the Workflows and Enhanced Match skills guide Classify routing and hashed-email enrichment, and `clay workflows runs get` shows waterfall provider names. - `clay audiences activities` reads and summarizes record activities, retrieves Gong transcripts, and searches call content; `clay audiences records get` includes related-record references. - `clay searches query-mode reference --sections` retrieves selected reference sections. - Various bug fixes and stability improvements.

  4. clay-cli-v1.19.0 GitHub ↗
    原版更新说明

    Standalone Clay CLI 1.19.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows nodes insert --help` describes the Classify step: a Use AI step that sorts each record into one of a fixed set of categories with GPT 6 Luna or Jev, ready to branch on the chosen category. - `clay ad-syncs destinations delete` removes a destination from a paused or failed ad sync, not only a draft. - `clay searches preview` output includes `preview.isCurrent`, which says whether the stored preview still matches the search's current configuration. - Various bug fixes and stability improvements.

  5. clay-cli-v1.18.0 GitHub ↗
    原版更新说明

    Standalone Clay CLI 1.18.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows runs steps` accepts `--omit-payloads` to list steps without their input and output data, and `--step-ids s1,s2` to fetch selected steps using comma-separated IDs, up to 50 per request. - Various bug fixes and stability improvements.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 精准定位 Clay 工作流开发场景,解决输入输出架构发现的核心痛点
  • 提供完整 CLI 命令和 jq 查询模板,实用性强
  • 明确区分 workflow actions 与 routines,避免用户混淆
触发精准90/100

亮点

  • description 清晰完整,触发词覆盖全面
  • 边界定义明确,不易误触或漏触
结构规范95/100

亮点

  • 章节划分清晰,逻辑连贯
  • 包含丰富示例和关键警告
  • frontmatter 完整,符合规范
执行可靠90/100

亮点

  • 全部使用官方 clay CLI 命令,来源可靠
  • 覆盖凭证权限、动态字段、空值处理等关键异常场景
  • 强调必须通过 catalog 搜索确认能力存在性,避免错误引导
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。