Agent setup guide
PandaDoc Signed → Onboarding
When a PandaDoc document is signed, the HubSpot deal is marked won, a note and an onboarding task are added, and Slack hears about it.
What it does
When a PandaDoc document is signed, the HubSpot deal is marked won, a note and an onboarding task are added, and Slack hears about it.
- Starts when a PandaDoc document is completed (everyone signed).
- Reads its details and finds the HubSpot deal from the document's metadata.
- Marks the deal won, adds a note (who signed, the total as PandaDoc shows it) and creates an onboarding task from your checklist.
- 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.
- Announces it in Slack, or flags a signed document that isn't linked to a deal without touching HubSpot.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- A PandaDoc API key (production keys come with PandaDoc's Enterprise plan; sandbox keys work for testing).
- HubSpot and Slack, connected in Settings → Integrations.
What it doesn't do
- It doesn't save the signed PDF or read the document text: PandaDoc keeps the signed copy.
- It finds the deal only through the document's metadata (hubspot_deal_id); it never guesses a deal by name.
- It creates one onboarding task with your checklist, not a project in another tool.
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: PandaDoc, HubSpot and Slack.
- 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 PandaDoc
Connect PandaDoc with an API key (Settings → Integrations → PandaDoc).
3. Connect HubSpot
Connect the HubSpot account your deals live in.
4. Connect Slack
Connect your Slack workspace.
5. Pick your PandaDoc account
Open the trigger and “Read the document” and pick your PandaDoc account.
| Setting | What to enter | In step |
|---|---|---|
| PandaDoc account (completed documents) | The PandaDoc account whose completed documents start the agent. Pick your connected PandaDoc account. | “Document completed” |
| PandaDoc account (details) | The same PandaDoc account, to read the document's details. Pick your connected PandaDoc account. | “Read the document” |
6. Paste your onboarding checklist
Open “Prepare the onboarding” and replace the placeholder with your checklist.
| Setting | What to enter | In step |
|---|---|---|
| Your onboarding checklist | Replace the placeholder with your company, what happens after a client signs (the checklist and who owns each item) and how the announcement should sound. It starts as “[YOUR COMPANY NAME, WHAT HAPPENS AFTER A CLIENT SIGNS (THE ONBOARDING CHECKLIST: KICKOFF CALL, ACCOUNTS, FIRST DELIVERABLES), WHO OWNS IT, AND HOW THE SLACK ANNOUNCEMENT SHOULD SOUND]” until you replace it. | “Prepare the onboarding” |
7. Pick your won stage
Open “Mark the deal won” and pick your account, pipeline and won stage, then the account on the note and task steps.
| Setting | What to enter | In step |
|---|---|---|
| HubSpot account (deal won) | The HubSpot account your deals live in. Pick your connected HubSpot account. | “Mark the deal won” |
| Deal pipeline | The HubSpot pipeline of the deals you send documents for. | “Mark the deal won” |
| Won stage | The stage that means the deal is won (Closed won in HubSpot's default pipeline). | “Mark the deal won” |
| HubSpot account (note) | The same HubSpot account. Pick your connected HubSpot account. | “Add a note to the deal” |
| HubSpot account (task) | The same HubSpot account. Pick your connected HubSpot account. | “Create the onboarding task” |
8. Pick the Slack channels
Open “Announce it in Slack” and “Flag it in Slack” and pick your account and channels.
| Setting | What to enter | In step |
|---|---|---|
| Slack account | The Slack workspace the signing is announced in. Pick your connected Slack account. | “Announce it in Slack” |
| Channel for signed documents | Pick the channel that should hear about signed documents, e.g. #wins. | “Announce it in Slack” |
| Slack account (unlinked documents) | The same Slack workspace. Pick your connected Slack account. | “Flag it in Slack” |
| Channel for unlinked documents | Pick the channel for signed documents that aren't linked to a deal (can be the same one). | “Flag it in Slack” |
9. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
10. Switch the trigger on
Open the trigger, set your time zone and click “Activate app trigger”: documents completed from now on start the agent.
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.
- Document completed — Starts on “Document completed” in PandaDoc (an app event). Starts when a PandaDoc document is completed (everyone has signed). PandaDoc is checked every few minutes.
- Read the document — PandaDoc: Get a document. Reads the document's details from PandaDoc: recipients, variables, total as PandaDoc shows it and the metadata (with the HubSpot deal id when Won Deal → PandaDoc Proposal sent it).
- Work out the kickoff date — Step. In code, not AI: the signing date in words and the onboarding task's due date, 2 business days from today at 10:00 (your trigger's time zone).
- Prepare the onboarding — AI step (runs on your AI provider key). AI reads the signed document's details and your onboarding rules and prepares the deal note, the onboarding task and the announcement.
- Linked to a deal? — Decision: picks the branch to follow. In code, from the AI's reading of the metadata: documents with a HubSpot deal id update HubSpot; others are flagged in Slack without touching HubSpot.
- Mark the deal won — HubSpot: Update a deal. Branch: Linked. Moves the HubSpot deal to your won stage.
- Add a note to the deal — HubSpot: Add a note. Logs the signing on the deal's timeline: date, document, who signed and the total as PandaDoc shows it.
- Create the onboarding task — HubSpot: Create a task. Creates a HubSpot task on the deal with your onboarding checklist, due 2 business days from today.
- Announce it in Slack — Slack: Post a message. Posts the signing and the onboarding task to your channel.
- Done — Kept in the run history. The run history keeps the document, the records and what was updated.
- Flag it in Slack — Slack: Post a message. Branch: Not linked. Tells your channel a document was signed that isn't linked to a HubSpot deal.
- Flagged — Kept in the run history. Not linked to a deal: nothing was changed in HubSpot.
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, name, status, date_created, date_modified, date_sent, date_completed, expiration_date, document.
- 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 click “Activate app trigger”: documents completed 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
How does it know which deal was signed?
From the document's metadata: Won Deal → PandaDoc Proposal saves the HubSpot deal id there. For documents you create yourself, add a metadata field hubspot_deal_id in PandaDoc.
Does it save the signed PDF?
No. Runs can't carry PDF files; PandaDoc keeps the signed document and emails it to the signers.
How quickly does it react?
PandaDoc is checked every few minutes, so it usually follows within a few minutes of the last signature.
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.
- Slack says the app isn't in the channel: in Slack, type /invite @Fluxo Flow in that channel (always needed for private channels).
- No runs start: activate the app trigger with a connected account. Only items created after activation start runs.
- 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 .