AI를 사용하여 표현식 생성 generate-expression
여정 고급 표현식 편집기에 내장된 이 AI 기반 기능은 일반 언어 프롬프트에서 유효한 표현식을 생성하는 데 도움이 됩니다.
여정 고급 표현식 편집기가 열리는 모든 곳에서 사용할 수 있습니다. 예를 들어 활동 최적화 내에서 조건 및 라우팅을 구성하거나 사용자 지정 날짜를 사용하는 대기활동을 구성할 때 dateTimeOnly 식이 필요합니다.
표현식 생성 generate
AI로 표현식을 생성하려면 다음을 수행합니다.
-
분기 조건, 최적화 활동 또는 사용자 지정 날짜가 포함된 대기 활동 등을 사용하여 여정에서 고급 표현식 편집기를 엽니다.
-
텍스트 필드에 생성할 표현식을 일반 언어로 설명합니다. 예:
- “미국 사용자 및 18” 이상
- “지난 30일 동안 구매한 고객”
아이디어는 이 페이지 끝에 있는 예제 프롬프트를 참조하십시오.
-
프롬프트를 제출하려면 생성을 클릭하세요.
도우미는 해당 표현식의 생성을 시작하고 생성이 진행되는 동안 진행 상태 메시지를 표시합니다.
note NOTE 도우미가 유효한 표현식을 생성할 수 없는 경우(예: 프롬프트가 사용 가능한 데이터 소스에 없는 필드를 참조하는 경우) 오류 메시지가 나타납니다. 이런 경우 여정 구성에서 사용할 수 있는 필드 이름 및 데이터 소스를 사용하도록 프롬프트를 수정한 다음 다시 생성합니다. -
표현식이 준비되면 패널에서 결과를 검토합니다.
-
지원자가 요청한 시나리오에 대한 지원 도우미의 출력을 검토하려면 적용하기 전에
아이콘을 클릭하십시오. -
생성된 표현식을 고급 표현식 편집기에 직접 삽입하려면 적용을 클릭합니다(수동으로 붙여넣는 것과 동일한 배치).
-
복사 컨트롤을 사용하여 제안된 표현식 텍스트를 선택하고 필요한 경우 다른 곳에 붙여넣습니다.
-
프롬프트 예 example-prompts
아래 목록은 신속한 아이디어일 뿐입니다. 생성된 표현식 구문은 표시되지 않으며 정확한 출력은 여정에 정의된 필드 및 활동에 따라 다릅니다.
여정 이벤트 및 사용자 지정 작업 example-prompts-event-action
- 주문 가격 합계가 100"보다 큰"이벤트
- “주문이 지난 7일 동안 만들어진 이벤트”
- “이벤트 유형이 상거래 구매인 이벤트”
- “지난 시간에 만들어진 순서가 있는 이벤트”
- 주문 가격 합계가 200을 초과하는 이벤트 및 작업 응답에 상태 코드가 있는 "
대기 활동 표현식 example-prompts-datetime
대기 활동에서 사용자 지정 날짜를 사용하는 경우 고급 표현식 편집기에서 dateTimeOnly 표현식을 만들어 프로필을 계속할 시기를 정의합니다. 예를 들어 프로필 속성, 이벤트 타임스탬프, 세그먼트 자격 데이터 또는 현재 시간으로부터 계산된 오프셋에서 가져온 데이터가 있습니다. 사용자 지정 대기 및 적용 가능한 제한을 구성하는 방법은 사용자 지정 대기를 참조하십시오.
- “고객의 마지막 주문 날짜를 날짜 시간으로만 사용”
- “동의 전자 메일 시간을 날짜 시간으로만 사용”
- “세그먼트 멤버십 마지막 자격 시간을 날짜 시간으로만 변환”
- “대기 노드: 2024년 크리스마스부터 1주일 후에 날짜 시간으로만”
- “대기 노드: 지금부터 30일 후 오후 10시 이후에만 날짜 시간으로”
- “UTC 시간대로 오늘 오전 9시까지 기다린 후 날짜 시간으로만 반환”
대상자 멤버십 프롬프트 example-prompts-audience
일반 언어로 만들려는 대상 멤버십 검사에 대해 설명합니다. 예:
- “Gold Loyalty 대상에 프로필이 있는지 확인”
관련 리소스 related
- 고급 표현식 편집기 작업 — 표현식 편집기 인터페이스와 지원되는 구문에 대한 개요입니다.
- Journey Optimizer에서 콘텐츠 생성 시작 - 일반 보호, 액세스 및 생성 AI 기능 설정.
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: This page explains how to use AI in the Journey advanced expression editor to generate valid journey expressions from plain language prompts.
Intents:
- Generate a journey expression from a natural language description using AI
- Apply a generated expression directly into the advanced expression editor with the Apply button
- Use AI-based expression generation inside Optimize activities, Condition activities, and custom-date Wait activities
- Provide example prompts for event-based conditions and
dateTimeOnlywait expressions - Check audience membership using a natural language prompt, such as asking whether a profile is in the Gold Loyalty audience
- Troubleshoot failed generation by revising prompts to reference valid field names and data sources
Glossary:
- Generate expressions with AI: An AI-powered generative capability embedded in the Journey advanced expression editor that converts plain language prompts into valid journey expressions (product-specific)
- Advanced expression editor: The Journey Optimizer interface for writing complex expressions in conditions, Wait activities, and action parameter mapping (product-specific)
- dateTimeOnly: A date-time expression type without timezone, required for custom-date Wait activities (product-specific)
- Optimize activity: A journey activity that supports branching conditions configurable via the advanced expression editor (product-specific)
Guardrails:
- Generative AI guardrails and limitations from the main Generate Content documentation apply to this feature
- If the assistant references fields not present in your journey’s data sources, it returns an error — revise the prompt to use available field names
- The exact generated expression syntax depends on the fields and activities configured in your specific journey
Terminology:
- Canonical name: Generate expressions with AI — Acronym: none — variants: AI expression generation, journey expression generator
- Synonyms: “Generate expressions with AI” = “AI expression generator”
- Do not confuse: Generate expressions with AI (AI-powered generator) ≠ Advanced expression editor (the manual code editor itself)
FAQ:
- Q: Where is Generate expressions with AI available? — It is available wherever the Journey advanced expression editor opens, including Condition activities, Optimize activities, and Wait activities with a custom date.
- Q: What happens if AI cannot generate a valid expression? — An error message appears; you should revise your prompt to use field names and data sources that exist in your journey configuration.
- Q: How do I insert a generated expression into the editor? — Click the Apply button in the assistant panel to insert it directly at the current cursor position in the advanced expression editor.
- Q: Can Generate expressions with AI create
dateTimeOnlyexpressions for Wait activities? — Yes; for example prompting “30 days from now at 10 PM as date time only” generates the appropriatedateTimeOnlyexpression.