Agent setup guide
Deal Won → BoldSign Agreement
When a HubSpot deal reaches your agreement stage, a BoldSign signature request from your template goes to the deal's contact once a person approves.
What it does
When a HubSpot deal reaches your agreement stage, a BoldSign signature request from your template goes to the deal's contact once a person approves.
- Starts when a HubSpot deal moves into the stage you pick.
- Lists the deal's contacts; AI picks the signer by your rules and writes the title and message.
- A person approves every request in Reviews and can correct any of it; nothing reaches BoldSign before that.
- Code checks there is exactly one valid signer email and no placeholders left; anything else is held.
- BoldSign sends your template (labelled with the HubSpot deal id) and the request is noted on the deal.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- HubSpot, connected in Settings → Integrations.
- BoldSign with API access in your plan (BoldSign sells API plans separately), connected with an API key from API → API Key.
- A BoldSign template whose first role is the client.
What it doesn't do
- It doesn't write or change agreement text or prices: BoldSign sends your template as it is.
- It fills one role (the client); other parties are set up in the BoldSign template.
- It doesn't revoke requests or send reminders (see BoldSign Unsigned Reminder).
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: HubSpot and BoldSign.
- The app it watches, connected in Settings → Integrations (the agent starts from an app event).
- About 15 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 HubSpot
Connect the HubSpot account your deals live in (Settings → Integrations → HubSpot).
3. Connect BoldSign
Connect BoldSign with your region and API key (Settings → Integrations → BoldSign).
4. Pick the agreement stage
Open the trigger and pick your HubSpot account, the pipeline and the stage that means “send the agreement”.
| Setting | What to enter | In step |
|---|---|---|
| HubSpot account (deal trigger) | The HubSpot account whose deals start the agent. Pick your connected HubSpot account. | “Deal reached your agreement stage” |
| Deal pipeline | The HubSpot pipeline your deals move through. | “Deal reached your agreement stage” |
| Agreement stage | The stage that means “send the agreement”, e.g. Closed won or Contract. | “Deal reached your agreement stage” |
5. Describe your agreements
Open “Find the deal's contacts” and pick your HubSpot account, then replace the placeholder in “Prepare the signature request” with your rules.
| Setting | What to enter | In step |
|---|---|---|
| HubSpot account (contacts) | The same HubSpot account, to read the deal's contacts. Pick your connected HubSpot account. | “Find the deal's contacts” |
| Your agreement rules | Replace the placeholder with who signs your agreements, your title format, your message and sign-off, and what must be true before sending. It starts as “[WHO SIGNS YOUR AGREEMENTS (E.G. THE CONTACT WITH A DIRECTOR OR C-LEVEL TITLE), YOUR DOCUMENT TITLE FORMAT, YOUR MESSAGE TO THE SIGNER, YOUR SIGN-OFF AND WHAT MUST BE TRUE BEFORE SENDING]” until you replace it. | “Prepare the signature request” |
6. Pick your BoldSign template
Open “Send it from BoldSign” and pick your account and the template.
| Setting | What to enter | In step |
|---|---|---|
| BoldSign account | The BoldSign account the template is in. Pick your connected BoldSign account. | “Send it from BoldSign” |
| BoldSign template | Pick the template to send (its first role is the client). | “Send it from BoldSign” |
7. Note it in HubSpot
Open “Note it on the deal” and pick your HubSpot account.
| Setting | What to enter | In step |
|---|---|---|
| HubSpot account (note) | The same HubSpot account, to note the request on the deal. Pick your connected HubSpot account. | “Note it on the deal” |
8. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
9. Switch the trigger on
Open the trigger and click “Activate app trigger”: deals that move into the stage from now on start the agent.
How it works
The agent is a normal workflow with 11 steps (1 AI step, with a person approving in Reviews). You can open, edit and monitor it like any other workflow.
- Deal reached your agreement stage — Starts on “Deal entered a stage” in HubSpot (an app event). Starts when a HubSpot deal moves into the stage you pick (e.g. “Closed won” or “Contract”), with the deal's name, amount and close date.
- Find the deal's contacts — HubSpot: Find records. Lists the HubSpot contacts linked to the deal: name, email, job title and company.
- Prepare the signature request — AI step (runs on your AI provider key). AI picks the signer from the deal's contacts using your rules and writes the document title and the message. Nothing is sent before your approval.
- Approve the signature request — A person approves or rejects it in Reviews (the run waits). A person checks the signer, the title and the message in Reviews, corrects them if needed and approves. Nothing reaches BoldSign without this approval.
- Not approved — Kept in the run history. Branch: Rejected. Rejected: nothing was sent from BoldSign.
- Check before sending — Step. Branch: Approved. In code, after approval: exactly one valid signer email, a signer name and a title, and no placeholders left in the title or message.
- Passes the checks? — Decision: picks the branch to follow. Requests that pass go to BoldSign; the rest are held for a person.
- Held: nothing sent — Kept in the run history. Branch: Held. The approved request failed a check (signer email, name, title or a placeholder). The reason is in the run history.
- Send it from BoldSign — BoldSign: Send a document for signature (emails the signer). Branch: Passes. SIGNER IS EMAILED: BoldSign sends your template to the approved signer (the template's first role) with the approved title and message, labelled with the HubSpot deal id so BoldSign Signed → Team Handoff can find the deal. The confirm tick is set here because a person approved.
- Note it on the deal — HubSpot: Add a note. Logs the signature request, the signer and the BoldSign document id on the HubSpot deal's timeline.
- Sent — Kept in the run history. The run history keeps the deal, the approved request and BoldSign's document id.
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. The sample has the same shape as a real event from the app.
Sample data fields
id, dealname, amount, pipeline, dealstage, closedate, owner_id, createdate, properties.
- Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
- Approval steps use the Dry Run decision you pick in the step's settings (approved, rejected or timeout), so you can try each branch.
Go live
- Open the trigger and click “Activate app trigger”: deals that move into the stage from now on start the agent.
- Activating the app trigger needs the trigger's connected account. The first check only remembers what's already there, so older items don't start runs; the same item never starts two runs.
- 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
Does it write the agreement?
No. BoldSign sends your own template; the AI only picks the signer and writes the title and a short message.
Can it send without me?
No. Every request waits for a person's approval in Reviews, and code checks the signer's email before BoldSign sends anything.
Who signs on our side?
Set up any countersigner as another role in the BoldSign template; the agent fills in the template's first role with the client.
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.
- No runs start: activate the app trigger with a connected account. Only items created after activation start runs.
- A run shows as paused: it's waiting for someone in Reviews to approve or reject it.
- 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 .