Workflows Ai By Zapier 标志

Workflows Ai By Zapier

组织
zapier
workflows-ai-by-zapier

配置基础的 AI by Zapier 步骤,支持运行时上下文、输出、类型化集成工具、公开网络搜索和失败退出。当工作流需要语言推理或由 AI 执行应用/网页查询时使用,包括无法发现嵌套架构的情况。

概览

发布者zapier
代码仓库agent-skills
技能名称workflows-ai-by-zapier
星标数
24
复刻数
5
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Workflows Ai By Zapier。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

AI by Zapier Workflow Steps

Use this companion with workflows-create or workflows-modify; it sets up the bounded AI step but does not replace the workflow lifecycle. If the request involves creating, testing, publishing, or enabling a complete workflow and neither lifecycle skill is loaded, load the appropriate one first.

SDK CLI discovery

Use the public SDK CLI's live catalog before writing the AI step:

  • Find the current implementation: zapier-sdk list-apps --search "AI by Zapier" --json.
  • Inspect actions: zapier-sdk list-actions <appKey> --json.
  • Inspect editable fields: zapier-sdk list-action-input-fields <appKey> <actionType> <actionKey> --json.
  • Prefer the complete contract: zapier-sdk get-action-input-fields-schema <appKey> <actionType> <actionKey> --json; retain the whole data schema, including nested contentSchema and root references. If that discovery is unavailable, use the version-scoped basic fallback below, not an invented nested contract.
  • Resolve dependent choices: zapier-sdk list-action-input-field-choices with the settled parent inputs.
  • Resolve an embedded app's connection: zapier-sdk list-connections <appKey> --owner me --json. Match the intended account by its returned name/label, paginate as needed, and ask when ambiguous. If none is usable, use the installed SDK's supported connect/reconnect flow and rediscover after the user finishes; never ask for raw credentials.

Keep three namespaces separate:

  • Managed model credentials: inputs.authentication_id: "0"; no outer connection lookup is needed for this selector.
  • Model BYOK: use the authentication_id field choice's returned value after settling its provider dependencies, not a UUID from list-connections.
  • Embedded app tools: copy the selected connection's public UUID id from list-connections unchanged into tools[].connection_id. Use a version whose live contract or the validated fallback supports this field. A legacy numeric auth_id is usable only when discovery supplies that format; never decode or coerce a UUID. For connectionless tools, omit both references.

Outer SDK connection aliases do not populate these action inputs. For an embedded tool, put the UUID in that tool object, not in the outer AbZ call's connection. Use the same chosen connection and settled parent values for the target action's field/choice discovery. If the selected version does not accept the reference, report that version/contract mismatch instead of inventing another identifier.

Use the exact command signatures shown by the installed CLI's --help; command flags may evolve. Record the discovered implementation, action, fields, choices, defaults, and connection metadata so you do not repeat calls or fall back on remembered values.

Configure a basic AI by Zapier step: instructions, runtime context, outputs, integration actions, and public web research. Use the live action schema when available; the shapes below are a bounded fallback for callers whose field discovery omits the nested contract.

Discover and choose the scope

  1. Discover AI by Zapier and its normal get_completion action (write). Use it for both supplied-context and tool-enabled work, not get_completion_agentic.
  2. Read editable fields, defaults, and dependent choices using your surface's discovery instructions. If a complete schema is available, retain its contentSchema, definitions, references, and annotations; prefer it over these examples.
  3. This fallback was checked against AICLIAPI@4.0.27. Public UUID tool connections are supported from 4.0.26. It documents the basic shapes below, not every possible capability or every future version. Do not extrapolate an unsupported shape or override conflicting live metadata.
  4. Use the live model default unless the user requests a different supported model. All examples use authentication_id: "0"; the tool-enabled examples use premium/auto, the checked version's managed default, and the prompt-only example uses standard/auto. standard/auto is prompt-only and cannot carry tools. For other models, resolve provider, authentication, and model choices in their dependency order; a visible model is not proof of tool support or managed-credential eligibility.

Use language reasoning on supplied data without external lookups when it is sufficient. Add integration tools when the AI needs to choose an action or adapt a lookup. Keep predetermined searches and known final side effects as ordinary durable workflow steps; an embedded write needs an explicitly approved, bounded decision loop. Adding a tool enables a capability; it does not call it.

For this basic recipe, consider only integration actions and the three builtins fail, web_search, and web_scrape. Do not add other builtins, knowledge-source configuration, prompt-scoring helpers, or tier-classification calls. Those are not required to configure this step.

Typed tool contract

These types describe the decoded entries in AbZ's inputs.tools array, not MCP tool definitions. Do not send this TypeScript or a JSON Schema as the value of tools.

typescript
type ToolInput =
  | { type: "guess" | "default" | "ignore" }
  | { type: "locked"; value: string | string[] | Record<string, string> }
  | { type: "guess-locked"; value: string[] };

type IntegrationTool = {
  type: "integration";
  id: string;
  selected_api: string;
  action_key: string;
  action_type: "read" | "search" | "write";
  display_name: string;
  description: string;
  app_needs_auth: boolean | null;
  connection_id?: string | null;
  auth_id?: number | null;
  inputs?: Record<string, ToolInput> | null;
  input_labels?: Record<string, string | string[]> | null;
  approval_policy?: "always_allow" | "require_approval" | "deny" | "auto";
};

type BuiltinTool = {
  type: "builtin";
  id: string;
  builtin_tool_name: "fail" | "web_search" | "web_scrape";
};

type BasicTool = IntegrationTool | BuiltinTool;
  • Generate id locally, unique across the entire tools list, and keep it stable when editing. It is not a connection UUID, app/action identifier, or MCP tool_name.
  • Copy selected_api, action_key, and action_type from discovery, retaining an app version when supplied. Do not substitute display names, an MCP wrapper name, or a synthetic trigger alias. Use the discovered capability for display_name and description.
  • app_needs_auth describes the target app: true for an authenticated app, false only when known to be connectionless, null if unspecified. Null does not remove an authentication requirement.
  • For authenticated tools, copy a discovered public connection UUID unchanged into connection_id. A discovered legacy numeric auth_id remains supported; at most one reference may be non-null. For a connectionless action, omit both. Never invent an ID, decode a UUID, substitute an account/user ID, or put an outer connection alias here.
  • input_labels is optional display metadata, not a substitute for the values in inputs.

Tool input policies

Discover the target action's fields and choices with the selected connection. Settle parent values before discovering dependent fields, and refresh affected discovery when a parent changes. Respect configured locks and restrictions. Store policies under the actual app field keys, not under MCP's params or dynamic_properties wrapper.

IntentEntry in the integration tool's inputs
Determine a value from instructions/context at execution time{"type":"guess"}
Pin a fixed value{"type":"locked","value":"<actual value or choice ID>"}
Let the agent choose among discovered candidates{"type":"guess-locked","value":["<choice ID 1>","<choice ID 2>"]}
Leave normal field/default resolution in control{"type":"default"}
Intentionally exclude a field when omission is valid{"type":"ignore"}

Do not use bare values such as "channel": "C123". A fixed value belongs inside a locked entry. Scalar values use strings, including the selected action's numeric/boolean representations; dictionaries contain string values. Include value even when it is "". An omitted entry is unpinned, not ignored; default neither forces a particular default nor prevents runtime resolution.

Array values in both locked and guess-locked are candidates, not literal multi-value app inputs: one item is locked, multiple items guide selection, and an empty array allows guessing. Use nonempty candidate lists for new configurations. Candidate lists guide resolution; they are not an authorization boundary. Do not infer support for arbitrary nested objects or literal line-item arrays from these types.

Approval policy

Choose the policy deliberately. require_approval is the default when omitted; always_allow permits execution without per-tool approval; deny excludes the tool; auto follows runtime policy and becomes require_approval during step tests. Omit rather than send null.

Only use always_allow after the user authorizes the bounded behavior, especially writes. If review is required, confirm the execution surface supports that review/resume flow before running. Do not silently change the policy to get past a halt. Permissions and other execution limits still apply.

Include fail in tool-enabled configs

A prompt-only step omits tools entirely. Adding fail alone makes the step tool-enabled and requires a tool-capable model, so do not add it just to create a failure path; AbZ manages the failure channel at execution.

Every tool-enabled configuration includes exactly one explicit failure exit in its tools list:

json
{
  "type": "builtin",
  "id": "tool_fail",
  "builtin_tool_name": "fail"
}

Tell the step to use it when required external work cannot be completed rather than fabricate a result or claim success. AbZ also adds this builtin automatically and deduplicates builtin names; one explicit entry makes the intended failure path visible in the authored configuration. Tool availability still depends on the model and account.

Complete basic step

These are decoded get_completion inputs: put them in sdk.runAction(...).inputs, or the selected step-authoring interface's equivalent. Supply native object/array literals where supported; serialize only when the interface requires it, not again inside each tool. Do not invent platform-owned Zap/run IDs.

json
{
  "model_id": "standard/auto",
  "authentication_id": "0",
  "instructions": "Summarize the supplied note in one sentence. Do not claim to read external data or send any messages. If the task cannot be completed, return a clear failure rather than inventing a result.",
  "inputFields": {
    "note": "The launch moved to Friday after final testing."
  },
  "includeWorkflowData": false,
  "outputFields": [
    { "name": "summary", "type": "text", "isRequired": true }
  ]
}

This example is prompt-only: it has no tools, so no tool-capable model is needed. Add tools only when the step must choose an action or run external work, as in the integration and web examples below.

Replace sample context with runtime values from the trigger or prior steps; JSON-stringify structured context into a named inputFields string when needed. includeWorkflowData: false keeps this example independent of automatic Zap history; it does not remove the explicit inputs.

outputFields entries use name, optional description, type, and isRequired. For an enum, use type: "category_single" or "category_multi" with nonempty options, not text plus options.

  • Single object (isOutputArray false or omitted): Use when the step returns one item, classification, or unified summary. With the example above, read result.data[0].summary in the SDK. With no configured output fields (or outputFields: [], which overrides legacy outputSchema), read result.data[0].output.
  • List of objects ("isOutputArray": true): Use whenever the step finds, extracts, or generates multiple distinct items or records (such as line items, search matches, or a list of ideas). Define per-item outputFields for each record (do not serialize a JSON array into a single *_json text field or create numbered fields like item_1, item_2), set "isOutputArray": true, and read the returned array at result.data[0].result.items in the SDK. Verify the actual result wrapper on your surface.

Complete integration-tool example

This example is for a user who explicitly wants the AI to decide whether an urgent note warrants a Slack notification and has approved that bounded send without per-call review. Otherwise, return the decision/message as output and let a normal workflow step send it.

The Slack identifiers, connection UUID, and channel ID are illustrative. Replace them with authorized discovery results before saving or running; never copy the example UUID into a real configuration. The channel is locked, while the runtime agent composes the text.

json
{
  "model_id": "premium/auto",
  "authentication_id": "0",
  "instructions": "Read the note. Only if it describes an urgent launch blocker, use the configured Slack tool to send one concise notification to its locked channel. Prefix the notification with :robot:. Otherwise, send nothing. Return what actually happened. If a required send fails, use fail rather than claim it was sent.",
  "inputFields": {
    "note": "Launch is blocked: the production health checks are failing."
  },
  "includeWorkflowData": false,
  "outputFields": [
    { "name": "outcome", "type": "text", "isRequired": true }
  ],
  "tools": [
    {
      "type": "integration",
      "id": "tool_notify",
      "selected_api": "SlackCLIAPI",
      "action_key": "channel_message",
      "action_type": "write",
      "display_name": "Slack: Send Channel Message",
      "description": "Send a notification to the configured Slack channel.",
      "app_needs_auth": true,
      "connection_id": "00000000-0000-4000-8000-000000000002",
      "inputs": {
        "channel": { "type": "locked", "value": "C0123456789" },
        "text": { "type": "guess" }
      },
      "approval_policy": "always_allow"
    },
    { "type": "builtin", "id": "tool_fail", "builtin_tool_name": "fail" }
  ]
}

Use the same shape for a discovered integration read/search action, with its own action type, field keys, choices, and connection. Do not configure the AI to search or send through a tool whose discovered capability does something else.

Web requests: include both web tools

When the user asks the step to search the public web or research/read public pages, include both web_search and web_scrape, plus fail. web_search finds results and links; web_scrape retrieves page content. These are builtin tools, not integration actions: no app identifier, connection, or integration input policies belong on them. The runtime agent supplies queries and URLs from the instructions/context.

json
{
  "model_id": "premium/auto",
  "authentication_id": "0",
  "instructions": "Search the public web for the requested topic, read relevant pages, and summarize the findings with source URLs. Search snippets alone are not proof that a page was read. If required evidence cannot be retrieved, use fail rather than inventing it.",
  "inputFields": {
    "topic": "Recent public announcements about the user's named company"
  },
  "includeWorkflowData": false,
  "outputFields": [
    { "name": "research", "type": "text", "isRequired": true }
  ],
  "tools": [
    { "type": "builtin", "id": "tool_web_search", "builtin_tool_name": "web_search" },
    { "type": "builtin", "id": "tool_web_scrape", "builtin_tool_name": "web_scrape" },
    { "type": "builtin", "id": "tool_fail", "builtin_tool_name": "fail" }
  ]
}

The two explicit web entries are the underlying pair represented by the web-browsing shortcut; do not add a second shorthand entry or other builtins. When combining web and integration actions, merge their arrays with unique IDs and keep only one fail. These web tools do not access private app data or replace an authenticated integration tool. Do not add them for ordinary summarization of data already supplied.

Verify and return

Return to the workflow lifecycle after configuring the AbZ step. Confirm real side effects before tests, use only advertised test/run capabilities, and inspect the actual returned fields and tool outcomes. A processing response, pending approval, or failed tool call is not success. Never claim a message was sent or a page read without execution evidence.

If discovery cannot supply a required authorized app connection, action key, field, or choice, report that specific limitation. This fallback fills in the basic AbZ object contract; it does not grant access, create connections, provide interactive execution controls, or guarantee model quality.

Return to the workflow lifecycle

After the AI step is configured, return to the loaded workflow skill. Test it inside the complete durable source so runtime inputFields, embedded tools, output shape, deterministic continuation, and side effects are exercised together.

常见问题

Workflows Ai By Zapier AI 技能有什么作用?

配置基础的 AI by Zapier 步骤,支持运行时上下文、输出、类型化集成工具、公开网络搜索和失败退出。当工作流需要语言推理或由 AI 执行应用/网页查询时使用,包括无法发现嵌套架构的情况。

为什么在 TypingMind 中使用 Workflows Ai By Zapier?

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

如何在 TypingMind 中安装 Workflows Ai By Zapier?

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

哪些 AI 模型可以使用 Workflows Ai By Zapier?

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

Workflows Ai By Zapier 可以搭配多少个 AI 模型使用?

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

Workflows Ai By Zapier AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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