Agent setup guide
Lever Stale Pipeline Digest
Every weekday, the active Lever candidates in one stage for 10+ days, listed in code with a next step for your team.
What it does
Every weekday, the active Lever candidates in one stage for 10+ days, listed in code with a next step for your team.
- Every weekday, reads up to 100 active Lever opportunities changed in the last 90 days.
- Finds in code the candidates in their current stage 10+ days and lists the 20 waiting longest.
- AI suggests one next step for your team per candidate; never a rejection.
- Emails your hiring team; nothing changes in Lever.
- Dates are worked out in code, never by the AI: days until or since each date, the window and business days are computed in your workflow's time zone, and records outside the window are skipped before the AI sees them.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- Lever, connected with an API key (Settings → Integrations and API → API Credentials) allowed opportunities, postings, stages and users.
What it doesn't do
- It doesn't contact, move or archive candidates.
- “Stuck” means the stage didn't change; it doesn't read emails, interviews or feedback.
Availability and plans
Available
Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.
Included free on the Enterprise plan; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.
Before you start
- A paid plan: agents run live, and the Free plan only runs Dry Runs.
- An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
- These apps, connected in Settings → Integrations: Lever.
- Nothing to send: the agent runs on a schedule.
- About 5 minutes.
Set it up step by step
Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.
1. Connect your AI provider
The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.
2. Connect Lever
Connect Lever with an API key (Settings → Integrations → Lever).
3. Pick Lever
Open “Read active candidates” and pick your Lever connection.
| Setting | What to enter | In step |
|---|---|---|
| Lever account | The Lever account whose pipeline is checked. Pick your connected Lever account. | “Read active candidates” |
4. Describe your stages
Open “Suggest next steps” and replace the placeholder, then enter your email on “Email the digest”.
| Setting | What to enter | In step |
|---|---|---|
| Your roles and stages | Replace the placeholder with your open roles, who reads the digest and a good next step at each stage. It starts as “[YOUR OPEN ROLES, WHO READS THIS DIGEST AND WHAT A GOOD NEXT STEP LOOKS LIKE AT EACH STAGE (E.G. PHONE SCREEN: BOOK THE INTERVIEW WITHIN 3 DAYS)]” until you replace it. | “Suggest next steps” |
| Send the digest to | You or your hiring team. Replace the example address. It starts as “hiring-manager@your-company.example” until you replace it. | “Email the digest” |
5. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
6. Switch the trigger on
Open the trigger, set your time zone and switch the schedule on. It runs every weekday at 8:00.
How it works
The agent is a normal workflow with 12 steps (1 AI step). You can open, edit and monitor it like any other workflow.
- Weekdays at 8:00 — Runs on a schedule (cron 0 8 * * 1-5, UTC — change it in the trigger's settings). Runs Monday to Friday. Set your time zone on the trigger.
- Read active candidates — Lever: Find opportunities. Reads up to 100 active (not archived) Lever opportunities changed in the last 90 days, with their stage.
- Quiet for 10+ days — Step. In code, not AI: keeps the candidates whose moved into their stage 10 days ago or more (change the number in this step's settings).
- The 20 longest — Step. In code: the 20 candidates waiting the longest.
- Anyone waiting? — Decision: picks the branch to follow. Nobody waiting: the run ends quietly.
- Pipeline moving — Kept in the run history. Branch: All moving. No active candidate waited 10+ days.
- Each waiting candidate — Repeats the steps below for each item (up to 20 per run). Branch: Waiting. Lists each one with their stage and how long they've waited (computed in code).
- [For each item — “Each waiting candidate”] Listed — Kept in the run history. Nothing is changed in Lever.
- List the waiting candidates — Step. In code: one line per candidate with their stage and days waiting.
- Suggest next steps — AI step (runs on your AI provider key). AI suggests one next step per candidate for your team (book the interview, send feedback, decide), using the days computed in code.
- Email the digest — Sends an email from your workspace's sender. Emails the list (from code) and the next-step ideas to your hiring team.
- Digest sent — Kept in the run history. The run history keeps every digest.
Test it with Dry Run
Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live.
- Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
- For-each loops repeat only the first 3 items.
Go live
- Open the trigger, set your time zone and switch the schedule on. It runs every weekday at 8:00.
- Scheduled runs start only once the schedule is activated, and can't repeat faster than your plan's minimum interval.
- The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
- When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.
Questions
How does it know a candidate is stuck?
From Lever's own date for when the candidate moved into their current stage, counted in code.
Does it contact or archive anyone?
No. It only reads opportunities and emails your team.
How many candidates are read?
Up to 100 active opportunities changed in the last 90 days.
Troubleshooting
- “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
- A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
- An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
- It didn't run at the expected time: the schedule must be activated, and its time is in the trigger's timezone.
- A step failed: open the run in History and check that step in the Trace tab for the error and what it received.
Generated from the agent's own workflow, so it always matches what the agent does. Last updated .