> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/solution-editor/triggers/triggers-conditions.md).

# トリガー条件

## **概要**

トリガー条件とは、どのようなトリガーイベントを選択して処理するかを定義する追加のルールです。\
例えば、GoogleDriveの `フォルダにファイル/フォルダが新規作成された際に実行` トリガーで、フォルダが作成された際にはトリガーさせない、といった追加のルールを設定することができます。

<figure><img src="https://files.readme.io/2b951bd-trigger_rule.png" alt="674" width="563"><figcaption><p>is folder が Falseと等しい（ファイルである）場合、トリガーしない設定の例</p></figcaption></figure>

トリガー条件は、トリガーイベントが取得された後にAnyflowによって評価されます。\
トリガー条件に合致する場合のみ、ソリューションが実行されます。トリガー条件に合致しない場合はソリューションは実行されません。

## **トリガー条件の追加**

トリガー条件を追加するには、右ペインのトリガー条件の「+」ボタンを押下し、AND か OR で条件を追加することができます。

<figure><img src="https://files.readme.io/a2b4086-add_trigger_rule.png" alt="" width="563"><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-embed.anyflow.jp/solution-editor/triggers/triggers-conditions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
