> For the complete documentation index, see [llms.txt](https://docs.ohmyapp.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ohmyapp.io/main/guide/develop_app/command-execute-function/create-logic/conditions/detailed-processing-conditions.md).

# New data query

[API 요청](/main/guide/develop_app/command-execute-function/create-logic/conditions/detailed-processing-conditions/api.md), [예외 처리](/main/guide/develop_app/command-execute-function/create-logic/conditions/detailed-processing-conditions/returnexception.md), [데이터 가져오기](/main/guide/develop_app/command-execute-function/create-logic/conditions/detailed-processing-conditions/query.md), [새로운 로직 발생](/main/guide/develop_app/command-execute-function/create-logic/conditions/detailed-processing-conditions/afteraction.md) 등을 할 때 사용해요.

<figure><img src="/files/CJv9rHIYoGza1FYnfZq2" alt=""><figcaption></figcaption></figure>

* 관리자 웹 ➡︎ 로직 설정 ➡︎ '+'버튼 또는 수정할 로직 선택 ➡︎ Condition ➡︎ New data query를 클릭해서 설정할 수 있어요.
* 위 이미지의 flows 폴더 안에 Event 중 하나를 드래그앤드롭으로 넣어서 사용할 수 있어요.
* Condition은 Event [@if](/main/guide/develop_app/command-execute-function/create-logic/conditions/detailed-processing-conditions/if.md)의 condition안에 드래그앤드롭으로 넣어서 사용할 수 있어요.

> \#Newdataquery, #API 요청, #예외 처리, #데이터 가져오기, #새로운 로직 발생, #flows, #@if, #condition

2024.01.03 Jinny


---

# 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:

```
GET https://docs.ohmyapp.io/main/guide/develop_app/command-execute-function/create-logic/conditions/detailed-processing-conditions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
