Skip to main content

Scenario

Some offers get accepted instantly; others languish and decline. The reasons are rarely captured in structured data — they live in recruiter notes and candidate conversations. You pull accepted and declined offers from Lever, build personas for each group, then run a Focus Group asking “What factors drove your decision?” with ranking and open-ended questions. The result tells you what to fix in your offer process. Flow: Lever GET /opportunities (offer stage) → Separate accepted vs declined → Mavera POST /personasPOST /focus-groups (Ranking + open-ended) → Decision factor analysis

Architecture

Code

Example Output

Error Handling

Lever’s archivedReason is a free-text string that varies by org. Common values: "Offer declined", "Candidate rejected offer", "Withdrew". Normalize with case-insensitive matching.
Lever doesn’t have a standalone Offers endpoint in v1. Offer data lives on the Opportunity as stage + archive reason. Use GET /opportunities/{id}/offers for detailed offer fields if available.
If fewer than 10 declined offers, Focus Group results are directional but not statistically meaningful. Note this in your report.