> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/document-field/text-in-field.md).

# 字段中的文本

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-d9301678dc3490655b43d17d4b763faf2913171f%2Fimage%20(52).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

## **用途：**

此工作流卡用于根据指定文档字段中是否存在特定文本来自动执行操作。它可确保工作流根据文档内容动态调整，从而支持高效处理和准确决策。

## **卡片组件：**

1. **文本**
   * **描述：** 指定要在字段中检查的文本字符串。
   * **详情：** 可以是与工作流相关的单词、短语或字符序列。
2. **运算符**
   * **描述：** 定义字段中是否存在文本的条件。
   * **选项：**
     * **是：** 如果字段中存在指定文本，则触发工作流。
     * **不是：** 如果字段中不存在指定文本，则触发工作流。
3. **字段名称**
   * **描述：** 指定要评估的文档字段名称。
   * **详情：** 必须与文档中该字段的确切标识符一致。

## **功能：**

1. **条件评估：** 系统根据所选运算符（是或不是）检查字段中是否存在指定文本。
2. **执行操作：**
   * **条件为真：**\
     如果字段中文本的存在情况符合指定条件，系统将启动相关操作。这些操作可以包括触发提醒、推进工作流或更新记录。
   * **条件为假：**\
     如果字段中文本的存在情况不符合指定条件，则可能执行替代操作，也可能不执行任何操作，具体取决于工作流配置。

## **设置与配置：**

* 用户输入要检查的文本，然后选择相关文档的字段名称。

## **结论：**

“字段中的文本”工作流卡是用于分析文档内容的简单而强大的工具。通过根据文本检测结果自动执行操作，此卡可支持更智能的工作流，提高文档处理准确性并减少人工工作。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/document-field/text-in-field.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
