Outreach drafts
The messages drafted to a person, one card each: the channel, where the draft stands, and approve, dismiss, copy and mark sent.
What it shows
Messages drafted, then approved before sending.
Props
| Prop | Type | What it does |
|---|---|---|
drafts (required) | readonly TDraft[] | The drafts, newest first or in whatever order you choose. |
loading | boolean | A skeleton row while there are no drafts to show yet, and no count. |
title | ReactNode | The section heading. Defaults to "Outreach drafts". |
empty | CandidateEmptyCopy | The blank slate's wording. Defaults to "No outreach drafts yet". |
onApprove | CandidateOutreachDraftCallback<TDraft> | Adds Approve to each draft that offers it (by default, one that is still a draft). A returned promise disables the row until it settles, as it does for each callback. |
onDismiss | CandidateOutreachDraftCallback<TDraft> | Adds Dismiss to each draft that offers it (by default, one that is still a draft). |
onMarkSent | CandidateOutreachDraftCallback<TDraft> | Adds Mark sent to each draft that offers it (by default, an approved one). |
availableActions | (draft: TDraft) => readonly CandidateOutreachDraftStatusAction[] | Which of Approve, Dismiss and Mark sent each draft offers, as your workflow decides; a button shows only when its callback is given too. Defaults to defaultOutreachDraftActions, an approve-then-send workflow. |
copyText | (draft: TDraft) => string | What Copy puts on the clipboard. Defaults to outreachDraftCopyText. |
border | "none" | "top" | "bottom" | The kit PanelSection's divider. Defaults to bottom. |
labels | Partial<CandidateOutreachDraftListLabels> |
Data it needs
On the Kith data layer, drafts and their status are kept with the candidate. Writing and sending the messages stay with you.
It shows OutreachDraft from the Kith ATS API.
Copy to your agent
Install RecruiterOS/recruit-ui and add a list of outreach drafts with approve and mark sent to the profile.