Objectives are goal-oriented instructions to define the desired outcomes and flow of your conversations.
objective_name
"check_patient_status"
objective_prompt
"Ask the patient if they are new or are returning."
confirmation_mode
auto
, the LLM makes this decision.manual
, the participant must manually confirm that the objective was completed by the platform triggering an app message (conversation.objective.pending
) and the participant having the ability to send one back called conversation.objective.confirm
. This can include having the participant review the collected values for accuracy.confirmation_mode
is auto
.output_variables
(optional)["patient_status", "patient_group"]
modality
modality
is "verbal"
.next_conditional_objectives
objective_name
), to conditions that must be satisfied for that objective to be triggered.
Example:
next_required_objectives
objective_name
) that should be triggered once the current objective is completed.
Example: ["get_patient_name"]
callback_url
(optional)"https://your-server.com/objectives-webhook"