Hook
A script, API request, or launch configuration used to prepare or support a test.
Updated
What it means
Hooks connect the test journey to setup, runtime actions, and cleanup. In Autosana, scripts run in sandboxed environments using built-in libraries. Hook output can provide the agent with context such as a generated user or a verification code.
In practice
Create a fresh test user before a flow, retrieve a sign-in code during the journey, and remove the test data afterward.
Key takeaway
Put environment preparation in hooks so the journey can stay focused on behavior.
With Autosana
Describe the journey in natural language, make the expected outcome explicit, and verify the result. The documentation covers the configuration and execution details for this workflow.