Interface StepHookCalled
interface StepHookCalled {
journeyId: JourneyId;
kind: "hook_called";
lifecycle?: Lifecycle;
sequence: number;
source: StepHookSource;
timestamp: Timestamp;
workflow: WorkflowName;
}
journeyId: JourneyId;
kind: "hook_called";
lifecycle?: Lifecycle;
sequence: number;
source: StepHookSource;
timestamp: Timestamp;
workflow: WorkflowName;
}
Hierarchy (View Summary)
- FixedFields<"hook_called">
- StepHookCalled
Properties
Readonlyjourney Id
The journey's ID.
Readonlykind
kind: "hook_called"
The event's kind, which tells what else it carries.
Optional Readonlylifecycle
The lifecycle it returned; none when it kept the default.
Readonlysequence
sequence: number
The event's position in its journey's event stream, from 1.
Readonlysource
The hook, with the step and attempt that triggered it.
Readonlytimestamp
When the event was emitted.
Readonlyworkflow
The workflow's name.
A hook of a step policy returned without failing.