> 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
