Skip to content

TaskTemplateContactHooks

Source code in docs_src/capo_connect/types/task_template_contact_hooks.py
class TaskTemplateContactHooks(TypedDict, closed=True):
    wrap_up_flow_id: NotRequired[
        "capo_connect.types.contact_flow_module_id.ContactFlowModuleId"
    ]
    """<p>The identifier of the flow module that runs when an agent attempts to disconnect from a task created by referencing this template. If no agent ever connects to the task, the flow module runs when the task is terminated.</p>"""

wrap_up_flow_id instance-attribute

wrap_up_flow_id: NotRequired[ContactFlowModuleId]

The identifier of the flow module that runs when an agent attempts to disconnect from a task created by referencing this template. If no agent ever connects to the task, the flow module runs when the task is terminated.