Lifecycle hooks
Trigger general actions at the start, end, or escalation point of your NLX conversations
Last updated
Trigger general actions at the start, end, or escalation point of your NLX conversations
Last updated
This feature is currently available to enterprise tiers only.
Lifecycle hooks allow you to send or receive data or trigger an event at particular stages (lifecycles) in a conversation session. They are also useful in receiving data from another system and setting at 'start' of a session.
Lifecycle hooks are only executed during specific points in a conversation: at the start of a conversation, at an escalation point within the conversation, at the end of a conversation, or to stream state modifications made to . Data requests and , on the other hand, allow you to be granular about when and where to trigger the operation within a flow
Lifecycles are attached to an application rather than referenced in a flow, which is why you don't encounter them when building flows in
To access, click Resources in your workspace menu and choose Lifecycle hooks:
Need more context? See
A Lifecycle hook must always employ the following to function:
A Lifecycle hook's Settings tab provides a few options:
Description: Enter or modify an explanation of the resource for better filing and organization in the workspace
Tags: Add or remove for better filing and organization in the workspace
To delete a Lifecycle hook, select the Delete option under Danger zone. If the Lifecycle hook is assigned with an application(s), remove the , and create a to experience the change.