InfoGrab DocsInfoGrab Docs

Root

$() 설명: 지정한 노드의 데이터를 반환합니다 구문: $(nodeName) 반환값: NodeData 출처: n8n 자체 기능 매개변수: nodeName (String) - 데이터를 가져올 노드의 이름 $binary # 설명: 현재 노드의 현재 아이템에 대한 바이너리 입력 데이터를 반환합니다. $input.item.binary 의 축약형입니다. 구문: $binary 반환값: Array 출처: n8n 자체 기능 $execution # 설명: 현재 실행에 대한 메타데이터를 가져오거나 설정합니다 구문: $execution 반환값: ExecData 출처: n8n 자체 기능 $fromAI() # 설명: 대규모 언어 모델이 노드 매개변수의 값을 제공해야 할 때 사용합니다. 더 나은 결과를 위해 설명을 제공하는 것이 좋습니다. 구문: $fromAI(key, description?, type?, defaultValue?) 반환값: any 출처: n8n 자체 기능 매개변수: key (String) - 가져올 필드의 이름. 문자, 숫자, 밑줄, 하이픈만 포함할 수 있습니다. description (String) - 선택 사항 - 모델이 정확히 무엇을 반환해야 하는지에 대한 추가 맥락을 제공할 때 사용합니다 type (String) - 선택 사항 - 반환할 값의 유형. string , number , boolean , json , date , datetime 중 하나입니다. 기본값은 string 입니다. defaultValue (any) - 선택 사항 - 모델이 키를 반환하지 않을 경우 사용할 값 예시: // Ask the model to provide a name, and use it here $fromAI( 'name' ) // Ask the model to provide the age of the person (as a number with a default value of 18), and use it here $fromAI( 'age' , 'The age of the person' , 'number' , 18 ) // Ask the model to provide a boolean signifying whether the person is a student (with default value false), and use it here $fromAI( 'isStudent' , 'Is the person a student' , 'boolean' , false ) $if() # 설명: condition 에 따라 두 값 중 하나를 반환합니다. JavaScript의 ? 연산자와 유사합니다. 구문: $if(condition, valueIfTrue, valueIfFalse) 반환값: any 출처: n8n 자체 기능 매개변수: condition (Boolean) - 확인할 조건. true 또는 false 로 평가되어야 합니다 valueIfTrue (any) - 조건이 참일 때 반환할 값 valueIfFalse (any) - 조건이 거짓일 때 반환할 값 예시: //