Agent setup guide
Attio Deal Stage Nudger
Every weekday, the Attio deals stuck in one stage for 14+ days, listed in code with a suggested next step for each.
What it does
Every weekday, the Attio deals stuck in one stage for 14+ days, listed in code with a suggested next step for each.
- Every weekday, reads up to 500 Attio deals; Won and Lost are left out in code.
- Finds in code the deals that have been in their current stage 14 days or more and lists the 20 longest with stage, value and time in stage.
- AI suggests one concrete next step per deal from its own fields and your sales steps.
- Emails you the list; nothing is changed in Attio.
- 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).
- Attio with the Deals object turned on, connected with a workspace access token that can read records.
What it doesn't do
- It doesn't read emails, meetings or notes: “stuck” means the deal's stage didn't change.
- It doesn't move, close or reassign deals.
- Up to 500 deals are read per run (newest first).
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: Attio.
- Nothing to send: the agent runs on a schedule.
- About 6 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 Attio
Connect Attio with a workspace access token (Settings → Integrations → Attio).
3. Pick your Attio workspace
Open “Read your deals” and pick your Attio connection.
| Setting | What to enter | In step |
|---|---|---|
| Attio workspace | The Attio workspace whose deals are checked. Pick your connected Attio account. | “Read your deals” |
4. Describe your sales steps
Open “Suggest next steps” and replace the placeholder.
| Setting | What to enter | In step |
|---|---|---|
| Your sales steps | Replace the placeholder with what you sell, your deal stages and a good next step at each. It starts as “[WHAT YOU SELL, YOUR DEAL STAGES AND WHAT A GOOD NEXT STEP LOOKS LIKE AT EACH ONE (E.G. PROPOSAL SENT: CALL TO WALK THROUGH IT)]” until you replace it. | “Suggest next steps” |
5. Where to send it
Open “Email the nudge” and enter the email address.
| Setting | What to enter | In step |
|---|---|---|
| Send the nudge to | You or your sales team. Replace the example address. It starts as “you@your-company.example” until you replace it. | “Email the nudge” |
6. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
7. 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 your deals — Attio: List records. Reads up to 500 Attio deals with their stage and when they moved into it; deals in Won and Lost are left out in code (change the stage names on this step).
- In their stage 14+ days — Step. In code, not AI: keeps the deals that moved into their current stage 14 days ago or more (change the number in this step's settings).
- The 20 longest — Step. In code: the 20 deals that have been in their stage the longest.
- Anything stuck? — Decision: picks the branch to follow. Nothing stuck: the run ends quietly.
- All moving — Kept in the run history. Branch: All moving. No open deal sat 14 days in one stage.
- Each stuck deal — Repeats the steps below for each item (up to 20 per run). Branch: Stuck ones. Lists each one with its stage, value and how long it has been there (computed in code).
- [For each item — “Each stuck deal”] Listed — Kept in the run history. Nothing is changed in Attio.
- List the stuck deals — Step. In code: one line per deal with its stage, value and time in stage.
- Suggest next steps — AI step (runs on your AI provider key). AI suggests one concrete next step per deal from its name, stage and your sales steps, using the dates computed in code.
- Email the nudge — Sends an email from your workspace's sender. Emails the list (from code) and the next-step ideas.
- Nudge sent — Kept in the run history. The run history keeps every list.
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 how long a deal has been in its stage?
From Attio's own stage history: the date the deal moved into its current stage, counted in code.
Does it change my deals?
No. It only reads them and emails the list.
My closed stages aren't called Won and Lost.
Change the stage names in “Read your deals” (Leave out stages).
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 .