Skip to main content

Function: reviewAndAddInboxItem()

reviewAndAddInboxItem(_prev, formData): Promise<CandidateCreatedState>

Defined in: src/server/actions/recruiting.ts:591

Review & add an Inbox row: create the person (deduped on email) and an applied application from the confirmed fields, optionally recording consent, then mark the raw row added + linked. Auto-enrolls into the nurture cadence (the applied path), mirroring createApplication.

Parameters

_prev

CandidateCreatedState

formData

FormData

Returns

Promise<CandidateCreatedState>