Chat Trigger
System-initiated event that triggers a chatbot response without entering the conversation. The prompt reaches the LLM but is never stored as a visible message.
Use cases:
Welcome greetings:
ChatTrigger("Greet new user jasper", onBehalfOf = listOf(jasper))Daily briefings:
ChatTrigger("Give morning briefing", onBehalfOf = listOf(subscriber))Group notifications:
ChatTrigger("Surf is up at North Beach", onBehalfOf = surfers)
Parameters
prompt
the prompt to send to the LLM (not stored in conversation)
on Behalf Of
the users this trigger is for — single for personalized, multiple for group