Agent setup guide
Capsule Weekly Opportunity Summary
Every Monday, your Capsule opportunities counted and added up per milestone and currency in code, with a short note.
What it does
Every Monday, your Capsule opportunities counted and added up per milestone and currency in code, with a short note.
- Every Monday, reads up to 100 Capsule opportunities.
- Counts them per milestone and currency and adds up their values in code, as Capsule gives them.
- AI writes a headline and what needs attention, without typing numbers; the summary is emailed to you.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- Capsule CRM, connected with a personal access token (My Preferences → API Authentication Tokens).
What it doesn't do
- It never changes opportunities.
- Up to 100 opportunities are read per run.
- It doesn't convert currencies: totals are per currency.
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: Capsule CRM.
- 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 Capsule CRM
Connect Capsule CRM with a personal access token (Settings → Integrations → Capsule CRM).
3. Pick your Capsule account
Open “Read your opportunities” and pick your Capsule connection.
| Setting | What to enter | In step |
|---|---|---|
| Capsule account | The Capsule account whose opportunities are summarised. Pick your connected Capsule CRM account. | “Read your opportunities” |
4. Your summary
Open “Note what stands out” and replace the placeholder, then enter the email on “Email the summary”.
| Setting | What to enter | In step |
|---|---|---|
| About your business | Replace the placeholder with your business, who reads the summary and what should be pointed out. It starts as “[YOUR BUSINESS, WHO READS THIS BRIEF AND WHAT SHOULD BE POINTED OUT (E.G. A STAGE WHERE DEALS PILE UP, BIG DEALS STILL EARLY)]” until you replace it. | “Note what stands out” |
| Send the summary to | You or your team (up to 5, comma-separated). Replace the example address. It starts as “you@your-company.example” until you replace it. | “Email the summary” |
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 Monday at 7:30.
How it works
The agent is a normal workflow with 6 steps (1 AI step). You can open, edit and monitor it like any other workflow.
- Mondays at 7:30 — Runs on a schedule (cron 30 7 * * 1, UTC — change it in the trigger's settings). Runs every Monday morning. Set your time zone on the trigger.
- Read your opportunities — Capsule CRM: List opportunities. Reads up to 100 Capsule opportunities with their milestone and value.
- Count and add up per milestone — Step. In code, not AI: opportunities per milestone and currency, with their values added up as Capsule gives them.
- Note what stands out — AI step (runs on your AI provider key). AI reads the counted lines and writes a headline and what needs attention, without typing numbers.
- Email the summary — Sends an email from your workspace's sender. Emails the counted lines and the note.
- Summary sent — Kept in the run history. The run history keeps every summary.
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.
Go live
- Open the trigger, set your time zone and switch the schedule on. It runs every Monday at 7:30.
- 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
Can the AI get the totals wrong?
The AI doesn't handle the numbers: counts and totals are made in code from Capsule's own values, and the AI is told not to restate them.
Are won and lost opportunities included?
Yes, each in its own milestone line, so you see the whole picture.
Does it change anything in Capsule?
No. It only reads opportunities.
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 .