Docusign Manage · Bengaluru Meetup

Hands-on Lab (WIP)

CLI login & upload → extraction in Agreement Manager → MCP via Copilot Studio → Agent Studio

Before you begin Start here

0.1 · The Scenario

The scenario

At Fontara, procurement is buried in vendor contracts and PDFs and you're here to change that.

Today, the procurement team owns thousands of vendor agreements, MSAs, SOWs, and NDAs, all stored as flat PDFs across shared drives and inboxes. The documents are signed and safe, but the agreement data the business cares about is locked inside.

That means nobody can answer the questions leaders actually ask: Which contracts auto‑renew next quarter? Which vendors are on payment terms longer than 45 days? Where are we missing a price‑increase cap? What is our total committed spend with this supplier? Today, every question means a human opening files one by one and reading them manually.

Over the next hour, you are going to change that with Docusign, AI, and MCP. You will treat agreements as data, not just documents, and you will do it the way developers fix things: automated, repeatable, and scalable - not by hand.

What you are building - and why it matters
  1. Stage 1 · Docusign CLI + Agreement CLI: define Fontara's pharma/medtech agreement types and fields as code, then bulk-ingest the legacy contract repository - all from the terminal. One-time setup that makes everything else possible.
  2. Stage 2 · Extraction surfaces in Agreement Manager: Iris AI reads every ingested contract and populates structured fields - batch size, CRO budget, FDA classification, renewal dates, payment terms. Static files become queryable data.
  3. Stage 3 · MCP via Microsoft Copilot Studio: create a blank agent in Copilot Studio, connect the Docusign MCP Demo connector to it, and query Fontara's whole vendor corpus in plain English - renewals, obligations, risk scan, workflow trigger, signature status. Deploy to Teams and M365 Copilot.
  4. Stage 4 · Agent Studio, quick demo: ship the prebuilt Procurement agent in Agent Studio so Fontara's team gets answers about vendor risk and renewals without opening a single file.

The pattern: ingest once → extract with AI → expose via MCP → deploy agents everywhere.

0.2 · Learning Objectives

Objective 1
Standardize and ingest agreements in bulk

Use the Docusign CLI and Agreement CLI to model procurement agreement types and fields (MSAs, SOWs, NDAs) and bulk-ingest a legacy vendor repository - all from the CLI.

Objective 2
Unlock contract intelligence on demand

Let Iris extract the terms procurement cares about - supplier, renewal dates, payment terms, liability caps, and clauses - turning static PDFs into structured, queryable data.

Objective 3
Build and test an agent in Copilot Studio with Docusign MCP

Connect the Docusign MCP Server to Microsoft Copilot Studio, then query your whole vendor corpus in natural language - "which agreements auto-renew in the next 90 days?"

Objective 4
Operationalize agreement intelligence where teams work

Ship a prebuilt Agent Studio agent that surfaces renewals, off-standard terms, and obligations.

0.3 · How to Use This Handbook

Self-paced and self-contained - follow it in a facilitated session or work through it independently.

ElementWhat it means
SetupOne-time configuration steps, do these before the scenarios.
ScenarioA hands-on exercise. Read the story, then run the prompts in order.
Prompt blockCopy-paste-ready prompt. Click the Copy button in the top-right.
Step checkboxSmall checkbox at the start of each section heading (1.1, 1.2 … 3.9). Tick it when you complete the step.
Progress ringThe circular ring next to stages 1, 2, and 3 in the left sidebar fills as you tick steps. It turns green and shows ✓ when every step in that stage is done.
Stage lockStages 1–4 are locked until you tick all three prerequisite sections below and click Mark prerequisites complete.

0.4 · Prerequisites - set up before the session

Get every developer's machine ready before Stage 1 so the 15-minute CLI slot is spent on the workflow, not on installs. Everything here uses the demo environment and synthetic data only, no production accounts or real vendor data.

Running the terminal commands below: on Mac, use the Terminal app (find it in Applications → Utilities, or search with Spotlight). On Windows, use Command Prompt or PowerShell (search for either in the Start menu). Both work for the npm and docusign commands in this lab.

Tick each section as you complete it. Once all four are checked the lab stages unlock automatically.

0.4.1 · Tooling on each machine

  1. Check if Node.js + npm are already installed - open your terminal and run:
    node -v && npm -v

    If you see two version numbers (e.g. v20.x.x and 10.x.x), Node and npm are installed - skip to step 2. If you get "command not found", install Node.js LTS from the terminal:

    Mac: brew install node
    Windows: winget install OpenJS.NodeJS.LTS

    Then re-run the check before continuing.

  2. Docusign Agreement CLI installed globally:
    npm i -g @docusign/agreement-cli@1.1.0-beta
  3. Confirm the docusign command is on the PATH, running it with no arguments prints the help / command list:
    docusign

0.4.2 · Accounts & access

  • A Docusign developer / demo account with Docusign CLI (open beta) access enabled.
  • Permissions to configure Agreement Manager (agreement types, fields, ingestion) in that account.
  • For Stage 3: a Microsoft 365 / Copilot Studio environment where you can create agents and add Model Context Protocol tools. We have provisioned lab accounts for this session - use the number on the paper provided by a volunteer and replace X with your assigned number:
    • account:
    • password:
    • use your existing environment, or provision a trial environment via Trial Environment Setup, Steps 1–4:
        https://microsoft.github.io/agent-academy/recruit/00-course-setup/
    If you have your own Microsoft 365 / Copilot Studio environment, you can use that instead.

    0.4.3 · Download the workshop resources

    The workshop resource bundle ships the Pharma/Medtech procurement manifest, training documents, and ingest contracts ready to use. All data is synthetic.

    Download the ZIP and unzip it into the root of your working directory:

    ⬇ Download workshop-resources.zip
    • Manifest: Bengaluru-meetup/workshop-resources/agreement-manager-manifest.json
    • Training docs (7 sample agreements): Bengaluru-meetup/workshop-resources/files/train/
    • Ingest contracts (4 contracts): Bengaluru-meetup/workshop-resources/files/ingest/
    Ground rule: use synthetic / non-production data only.

    0.4.4 · Import the Workflow

    The workshop kit includes a pre-built Workflow Builder workflow for the Stage 3 renewal exercise. Import it now so it is ready before you reach Stage 3.

    1. In your Docusign demo account (apps-d.docusign.com), go to the Agreements tab and click Workflows in the left navigation.
    2. Click Import and upload Fontara Renewal Order Form.zip from workshop-resources/workflow/ in the workshop kit.
    3. Click Save, then Review, then Publish.
    Must be Published, not Draft. The MCP agent in Stage 3 can only trigger Published workflows. If the workflow shows as Draft when you reach Stage 3, go back here and click Publish before running Scenario B.

    Stage 1 · Docusign CLI + Agreement CLI 15 min

    This is where you start Fontara's build. You log in with the Docusign Agreement CLI, define Fontara's procurement agreement types & fields as code, then bulk-ingest their sample repository. The pattern to emphasize: export legacy repository → standardize via Docusign CLI → ingest via API at scale.

    Why Docusign CLI, the developer value story. The Docusign CLI lets implementation partners and enterprise developers configure, test, and deploy Docusign Agreement Manager, the searchable, AI-powered agreement repository, programmatically, accelerating time-to-value. Talking points to land in this stage:
    • Faster deployments, reduces implementation time by over 40% vs. manual configuration.
    • Higher extraction accuracy, define AI training datasets as code and validate them programmatically.
    • Multi-account portability, deploy validated configs dev → prod, or replicate across accounts.
    • Scalable, partner-led implementations, a repeatable, version-controlled asset developers hand to each client.
    Running terminal commands in this stage: on Mac, use the Terminal app (Applications → Utilities, or Spotlight). On Windows, use Command Prompt or PowerShell (search in the Start menu).

    1.1 · Authenticate

    Browser-based OAuth (PKCE). Each developer logs in with their own Docusign developer account - no shared or production credentials. On a headless machine add --no-browser to get a printed URL.

    docusign auth login

    Expect: a browser tab opens, you grant access, CLI prints the authenticated account ID. Then verify:

    docusign auth test

    Expect: Authentication is valid - confirms the token is live before continuing.

    1.2 · Scaffold the workspace & project

    Before scaffolding, create a dedicated working folder so all CLI output lands in one place. Pick either option below - you only need one.

    Option A - Terminal (recommended):

    mkdir ~/docusign-workshop && cd ~/docusign-workshop

    Option B - Manually:

    • Create a new folder anywhere on your machine (e.g. docusign-workshop on your Desktop).
    • Open a terminal window and cd into it:
      cd ~/Desktop/docusign-workshop
    Why this matters: docusign scaffold creates the demo-workspace/ folder inside whatever directory your terminal is currently in. If you skip this step, it will land in your home directory or wherever you last navigated.

    Now scaffold the project structure. Use lowercase agreement-manager (PascalCase breaks the directory layout in v1.0.7+).

    docusign scaffold -w demo-workspace -p demo-project -f agreement-manager

    Creates: demo-workspace/demo-project/agreement-manager/ with configs/, files/train/, files/test/, tests/, and more.

    1.3 · Drop in the Pharma/Medtech procurement manifest

    The workshop resources ship a pre-built manifest - 3 custom agreement types (Clinical Trial Supply, CRO Services, Medical Device Supply) and 9 custom pharma fields.

    💡 Before running the commands below: download the workshop resources ZIP and unzip it into your working folder (~/docusign-workshop). This creates a workshop-resources/ folder right next to demo-workspace/.

    ⬇ Download workshop-resources.zip

    Terminal shortcut - download & unzip in one step (run from ~/docusign-workshop):
    curl -L https://github.com/docusign/PSA/raw/main/Bengaluru-meetup/workshop-resources.zip -o workshop-resources.zip && unzip -q workshop-resources.zip && rm workshop-resources.zip

    Copy the manifest into your workspace configs folder:

    cp workshop-resources/agreement-manager-manifest.json \ demo-workspace/demo-project/agreement-manager/configs/agreement-manager-manifest.json

    Copy the 7 training documents (sample agreements the AI learns from) into the workspace train folder:

    cp workshop-resources/files/train/* \ demo-workspace/demo-project/agreement-manager/files/train/

    Pull your account's current catalog - agm upload needs this to know which standard fields and agreement types already exist before it can add your custom ones:

    cd demo-workspace && docusign agm get catalog

    Creates: standard-catalog.json (Docusign's built-in types/fields) and custom-catalog.json (any existing customizations in your account). The upload step reads both to avoid conflicts.

    Upload the manifest - creates all fields, creates all agreement types, maps fields to types, uploads training docs, and triggers AI training in one command:

    docusign agm upload --bypass

    Expect: CLI walks through each step and confirms fields created, types created, training uploaded. AI training runs asynchronously - extraction results appear in the UI after a few minutes.

    1.5 · Test the customizations Informational

    Generate a test template pre-filled with what Iris actually extracted, then compare against known ground-truth values to validate extraction accuracy before promoting to production.

    docusign agm test generate-test-template --prefill-extractions

    Edit the generated template to set expected (ground-truth) values, then score accuracy:

    docusign agm test run

    Expect: a pass/fail comparison of extracted vs. expected values per field. Use this to tune your manifest before promoting to production.

    1.4 · Bulk-ingest the Pharma/Medtech contract set

    Ingest 4 real-world-style pharma contracts at once - the "entire legacy repository, not one file at a time" moment. Go back to the repo root first.

    cd ..

    Preview what will be uploaded without ingesting:

    docusign agm ingest \ --directory workshop-resources/files/ingest \ --dry-run

    When ready, ingest for real:

    echo "y" | docusign agm ingest --bypass \ --directory workshop-resources/files/ingest

    Expect: CLI confirms 4 files uploaded. Documents appear in Agreement Manager within a few minutes as Navigator indexes them asynchronously.

    1.6 · Deploy to production Informational

    The same validated config promotes demo → production (or replicates across client accounts) - just re-auth and re-upload. The manifest is the portable asset you hand to each client.

    docusign auth login -e production
    cd demo-workspace && docusign agm upload --bypass
    Developer takeaway: everything in 1.2–1.6 is config-as-code + CLI. A client's entire repository can be standardized, trained, tested, ingested, and promoted to production: repeatable, version-controlled, and partner-deliverable.

    Stage 2 · Extraction surfaces in Agreement Manager

    Now Fontara's agreements stop being flat documents. Once the corpus is ingested, Docusign's AI (Iris) reads each one and populates the fields you defined in Stage 1. This is where the "static file → structured data" moment lands for the room - procurement sees answers instead of files.

    2.1 · Open Agreement Manager and confirm the corpus

    1. Go to apps-d.docusign.comAgreementsCompleted.
    2. Confirm all 4 ingested contracts appear with their agreement type auto-applied:
      • 3 × Clinical Trial Supply Agreement
      • 2 × CRO Services Agreement
      • 2 × Medical Device Supply Agreement
    3. Open one document and show the auto-extracted fields panel side-by-side with the source PDF - this is the "Iris read the contract" moment.

    Expect: each document lands in the correct custom type (not Miscellaneous or generic). If a document lands in the wrong type, the manifest's aiDefinition is the tuning lever.

    2.2 · Pharma/Medtech fields to highlight on screen

    These are the 9 custom fields defined in the manifest. Walk through each type and show at least one extracted value per group.

    TypeCustom field extractedWhy procurement cares
    Clinical Trial Supply Pharma - Clinical Batch Size (units) Batch volume commitments: spot under- or over-supply risk at a glance.
    Pharma - Cost Per Unit (USD) Unit economics across suppliers: flag off-market pricing instantly.
    Pharma - Required Shelf Life (months) Delivery quality gate: contracts with short shelf life create distribution risk.
    CRO Services Pharma - Total Study Budget (USD) Full CRO spend visibility in one view: no more digging through Exhibit B.
    Pharma - Number of Clinical Sites Site count commitments: CRO accountability and capacity planning.
    Pharma - Patient Enrollment Target Enrollment obligations: know which CRO is behind on commitments.
    Medical Device Supply Pharma - Annual Device Purchase Value (USD) Annual spend commitments: track vs. actuals for preferred pricing triggers.
    Pharma - FDA Device Classification Regulatory classification (Class I / II / III): surface compliance gaps across the device portfolio.
    Pharma - Consignment Inventory Period (days) Consignment window: flag devices close to the purchase-or-return deadline.

    2.3 · Standard fields that also fire on these types

    In addition to the 9 custom fields above, the manifest enables standard fields for each type. These surface automatically alongside the custom extractions.

    Agreement typeStandard fields enabled
    Clinical Trial Supply AgreementPayment Terms, Governing Law
    CRO Services AgreementPayment Terms, Termination for Cause – Notice Period
    Medical Device Supply AgreementPayment Terms, Renewal
    Where to find standard fields in the UI: open an agreement → in the right-hand details panel, scroll down past the custom fields section. Standard fields appear under a separate "Standard Fields" heading. If you don't see them, click Re-analyze and wait ~5 min for extraction to complete.

    Talking point: procurement now has payment terms, governing law, termination notice, and renewal dates extracted automatically - without any manual review - across the entire corpus. This is what feeds the AI agent in Stage 3.

    Stage 3 · MCP via Microsoft Copilot Studio 30 min

    Now the payoff for Fontara's procurement team: they stop hunting through files and just ask. You'll connect the Docusign MCP server to Copilot Studio and query Fontara's corpus in plain English, including agreements with vendors like MarketPulse Dynamics and Momentum Driver from the sample set.

    Prerequisites: a Microsoft 365 / Copilot Studio environment; a Docusign developer account; the demo environment at apps-d.docusign.com; and the workshop kit (sample agreements + workflow) from the GitHub repo. Use synthetic data only, no production accounts.

    3.1 · Create & configure the agent

    1. Sign in at copilotstudio.microsoft.com.
    2. Create a blank agent and name it "Procurement Agent".
    3. Enable generative orchestration: Settings → Generative AI → set to "Yes".
    4. Add an agent description, e.g.:
    Agent description - paste into the Description fieldProcurement agent that uses the Docusign MCP Demo connector to act on agreements, envelopes, templates, and workflows, for procurement teams managing vendor contracts, renewals, and obligations.
    1. Add system instructions: click Edit on Instructions and paste the block below - these ensure the agent always calls Docusign tools for live data and never fabricates agreement state.
    System instructions - paste into the Instructions fieldYou are the Procurement Agent for Fontara, a B2B company. The procurement team manages a portfolio of vendor contracts - MSAs, SOWs, NDAs, supply agreements, and device contracts. You help procurement teams complete all agreement tasks - getting insights from agreements, tracking envelopes and recipient information, sending reminders, using templates to create agreements, triggering workflows, etc. - using the Docusign MCP Demo connector. Treat Docusign as the source of truth for any live agreement, envelope, renewal, pricing, or clause question. Behavior rules 1. Prefer Docusign MCP tools. For any question about envelopes, recipients, templates, signers, agreements, renewals, clauses, or signing status, call the Docusign MCP Demo tool. Never answer from training data or prior chat context for live Docusign state. 2. Use Docusign default account unless otherwise specified. 3. Workflow Builder before eSign. When sending an agreement, always check for an available published Workflow Builder workflow first and use it if one applies. 4. Always call the getWorkflowTriggerRequirements tool before initiating the triggerWorkflow tool. Call List workflows if required to fetch the correct workflow id. Ask the user for all inputs before triggering the workflow. 5. Never fabricate data. If a field is not returned by a Docusign MCP tool, say so explicitly. Do not invent envelope IDs, recipient emails, statuses, dates, dollar amounts, or clause text. 6. Ask one clarifying question when required parameters are missing. 7. Response format. Keep responses brief, accurate, and visually scannable: lead with a one-line summary, then the detail. Use visual indicators - ✅ in place · ⚠️ at-risk · 🔴 missing · 🕐 pending. Use HTML formatting to make responses easy to read.

    3.2 · Add the Docusign MCP Demo connector

    1. Open the Tools tab → + Add a toolModel Context Protocol.
    2. Search for and select "Docusign MCP Demo".
    3. Create a new connection - when prompted for authentication, select OAuth 2.0 and sign in with your Docusign demo account credentials (apps-d.docusign.com). Allow the requested access. Do not use NoAuth or API key - the connector requires OAuth.
    4. Add and configure the tool, then review the available tools (all enabled by default).
    5. Publish the agent.
    Connection tip: if the connection fails, confirm you are signing into the demo (sandbox) environment, not production. The connector is scoped to apps-d.docusign.com. If you see a permissions error, disconnect and reconnect from the Connections page in Power Apps (make.powerapps.com).

    3.3 · Verify the connection

    Each prompt should trigger a tools/call in the activity map.

    Verify P1List all my Docusign accounts.
    Verify P2List all my agreements.
    Verify P3List available Workflow Builder workflows.

    3.4 · Scenario A - Vendor Agreement Insights

    Agreement Manager · Iris

    The story

    You're the procurement manager at Fontara. A key vendor - MarketPulse Dynamics - has proposed a 10% price increase on the Clinical Trial Supply Agreement renewal. Before you respond, you need to know what's already in place, what obligations exist, and whether any other vendor agreement constrains what you can accept.

    What you'll demonstrate
    1. Portfolio-wide renewal view - surface every vendor agreement approaching expiry across Fontara's procurement corpus
    2. Agreement Manager + Iris - extracting party names, dates, obligations, payment terms, and clauses from ingested contracts
    3. Payment terms & renewal risk scan - pull payment terms and renewal notice periods across active agreements; flag anything outside standard before accepting a price increase
    4. MarketPulse Dynamics vs Momentum Driver contrast - one vendor with a price-protection clause in place, one without - a natural compliance comparison

    Run these prompts in order

    A1 · Portfolio renewal view - Agreement Manager · IrisShow me all upcoming renewals across my vendor agreements in the next 180 days.
    A2 · Vendor account overview - Agreement Manager · IrisFor MarketPulse Dynamics, which agreements are active and in place today? List key details - value, renewal date, payment terms, and notice period.
    A3 · Payment terms & renewal risk scan - Agreement Manager · IrisMarketPulse Dynamics is proposing a 10% price increase on renewal. Pull the payment terms, renewal notice period, and termination-for-cause notice period from all active MarketPulse Dynamics agreements. Flag anything that is outside standard - payment terms beyond 30 days, or a renewal notice window under 90 days.
    A4 · Cross-vendor compliance comparison - Agreement Manager · IrisCompare MarketPulse Dynamics and Momentum Driver side-by-side on compliance posture and obligations. Show me what MarketPulse Dynamics is missing that Momentum Driver has in place.
    Verify in the activity map: each prompt should produce one or more tools/call entries against the Docusign MCP Demo connector in the activity map. If you don't see them, the agent is re-using context or hallucinating - re-run asking it to refresh from Docusign, or tighten the Instructions and republish.

    Scenario A demonstrates: portfolio-wide renewal visibility · Agreement Manager + Iris extracting parties, dates, payment terms, and renewal notice periods · off-standard terms detection · vendor-to-vendor compliance contrast.

    3.5 · Scenario B - Workflow Builder Orchestration

    Workflow Builder · Agreement Prep · eSign

    The story

    Procurement has reviewed the clause analysis. The team is cleared to proceed with renewal - at the current price, rejecting the proposed increase. MarketPulse Dynamics needs to sign a renewed Clinical Trial Supply Agreement for an expanded batch size of 50,000 units. Time to trigger the Workflow Builder renewal workflow and get the order form in front of the vendor signer - all from the agent.

    Run these prompts in order

    B1 · Build the deal math - CalculationWork out the renewal deal math: 50,000 unit batch size at $45 per unit with a 10% volume discount.
    B2 · Initiate the renewal - Workflow Builder (core prompt)Initiate a renewal for the Clinical Trial Supply Agreement with MarketPulse Dynamics for 50,000 units at $45 per unit with 10% discount for a 1-year term starting August 1, 2026. Route it to [recipient email] at the vendor.
    If you see a Responsible AI content-filter error: some recipient addresses can trip Copilot Studio's content filter. Re-run prompt B2 with a different recipient email (e.g. a personal alias or another mailbox in your demo tenant), then continue.

    Scenario B demonstrates: agent calling getWorkflowTriggerRequirements before triggering · Workflow Builder routing logic · human-in-the-loop approval for high-value renewals · Agreement Prep generating the order form for vendor signature.

    3.6 · Scenario C - Track Workflow & Agreement Status

    Workflow Builder · Agreement Desk · eSign

    The story

    The order form was sent to the vendor. A few minutes later, procurement checks in - where does the workflow stand, has the vendor signed, and is anything blocked? All from the agent in chat, without logging into Docusign.

    Run these prompts in order

    C1 · Workflow status - Workflow BuilderWhat's the status of the MarketPulse Dynamics renewal workflow instance? Which step is it on, who needs to act next, and is anything blocked?
    C2 · Signature status on the vendor envelope - eSignHas the recipient at MarketPulse Dynamics signed the renewal order form yet? When was it sent and has it been opened?
    C3 · Send a reminder - eSignSend the MarketPulse Dynamics recipient a signing reminder through Docusign - use the existing envelope, don't create a new one. Then tell me when the envelope expires and what happens if it's not signed by then.
    Human in the Loop: the workflow has deterministic routing - if the discount exceeds the threshold, it routes to Agreement Desk for a manual review and approval before proceeding to vendor signature. The Agreement Desk process can be customised to match Fontara's internal approval structure.

    Scenario C demonstrates: in-flight workflow monitoring · eSign envelope status check · nudging stalled vendor signers without leaving chat · expiry and escalation awareness.

    3.7 · Publish to Microsoft Teams & M365 Copilot

    Always test in Copilot Studio before publishing to channels. Use the Test your agent pane with the activity map turned on for every iteration. Verify each prompt produces a tools/call against the Docusign MCP Demo connector and that the response is grounded. Only then publish.

    1. Open the Channels tab in your agent.
    2. Select Microsoft 365 and Microsoft Teams. Tick Make agent available in Microsoft 365 Copilot, then click Add channel.
    3. Click Availability OptionsShow to everyone in my org.
    4. From Agent Preview, edit icon, short and long description, then click Save.
    5. Click Publish (top-right) and confirm. Wait for publish to complete.
    6. From the channel panel, click See Agent in Teams or See Agent in Microsoft 365 and test from that surface.
    Tenant & propagation note: publishing channels typically requires tenant admin approval and may depend on Power Platform / Microsoft 365 admin policies. If you are not a tenant admin, work with IT to approve the app. Teams and M365 Copilot channel approvals can take time - allow propagation time after publish. Re-publish after every change to instructions, knowledge, or tools. Reference: Microsoft Learn - Add a Copilot Studio agent to Microsoft Teams.

    3.8 · Sample prompt library

    A portable library of prompts to extend the demo beyond the three core scenarios. Replace anything in [BRACKETS] with data from your demo account - vendor names, emails, and contract values.

    For reference only: some prompts require relevant agreements, workflows, templates, and/or envelopes to be in place to function as intended.
    #PromptPurpose
    1. Agreement insights - discovery
    1.1Show me all upcoming renewals across my vendor agreements in the next 90 days.Surface the renewal pipeline
    1.2What's renewing for [VENDOR] in the next 6 months?Vendor-level renewal view
    1.3List all active agreements with [VENDOR]: group by document type.Full vendor footprint
    1.4For [VENDOR], which documents are in place today? MSA, NDA, Supply Agreement, DPA: show status and dates.Doc coverage check
    1.5Highlight key terms and clauses from the agreements with [VENDOR].Pull key terms across docs
    1.6Categorise contracts based on highest contract value in 2026.Rank by value
    1.7How many contracts were signed last quarter?Period-over-period volume
    2. Clause & risk analysis
    2.1Pull the payment terms, renewal notice period, and termination-for-cause notice from all active [VENDOR] agreements. Flag anything outside standard: payment terms beyond 30 days or renewal notice under 90 days.Payment terms & renewal risk scan
    2.2Scan all active vendor MSAs for MFN, price-protection, or non-discrimination clauses.Portfolio-wide risk scan
    2.3What is the highest liability coverage across our vendor portfolio? Rank in order.Liability coverage ranking
    2.4Are there any uplift caps, auto-renewal commitments, or related provisions in [VENDOR]'s MSA?Vendor-specific guardrails
    2.5Which of my vendors are missing a DPA or AI Use Addendum? Order by contract value.Compliance gap report
    2.6Which agreements have non-standard terms that expose Fontara to risk?Surface risk across portfolio
    3. Workflow Builder orchestration
    3.1List available workflows for renewals.Confirm workflow exists before triggering
    3.2Initiate a renewal for [VENDOR] for [N] units at $[PRICE] per unit with [X]% discount, 1-year term starting [DATE]. Route it to [EMAIL] at the vendor.Core renewal trigger
    3.3Generate a new MSA with DPA addendum for [VENDOR].Generate net-new agreement
    3.4Status check on the [VENDOR] renewal workflow: where is it?In-flight monitoring
    3.5Identify workflows that have not been triggered even once in the past 30 days.Workflow usage audit
    4. eSign envelopes & templates
    4.1Which vendor contracts are pending signature for more than 7 days?Spot stalled signatures
    4.2Has [VENDOR] signed the latest supply agreement, and if not, who is it currently pending with?Signature status by recipient
    4.3Send a reminder to any [VENDOR] recipient who hasn't signed in 3+ days.Nudge stalled signers
    4.4Update the envelope sent to [VENDOR] this week by replacing recipient [NAME/EMAIL] with [NEW NAME/EMAIL].Swap recipient on in-flight envelope

    3.9 · Troubleshooting

    IssueLikely causeFix
    I don't see any agreements in your accountConnected to production instead of sandbox, or Agreement Manager extraction not completeReconnect the Docusign MCP Demo connector with sandbox credentials. Ask the agent: What Docusign account am I connected to?
    Agreement Manager fields are blank or partialExtraction still running, or unsupported file formatClick Re-analyze. Wait 5 minutes.
    Workflow Builder workflow doesn't appear when agent queriesWorkflow is in Draft, not PublishedGo to Agreements → Workflows → open the workflow → click Publish. Wait 60 seconds.
    Envelope send fails with an errorRequired template fields not populated, or sandbox email restrictionsTry with a different email. Try sending manually with the same values.
    Agent cannot find or list clauses or termsAgreement not fully processed, or clause not in Agreement ManagerValidate the agreement and extraction in Agreement Manager. Create a custom extraction if needed.
    Workflow errors out in the "Set up an Invite" stepInvalid or mistyped recipient emailConfirm the recipient email is correct and valid, then retry.
    Latest agreements not visible (account is correct)Agent is referencing previously fetched data from earlier in the chatAsk the agent to refresh: Refresh the list of agreements from Docusign.
    No tools/call appears in the activity mapGenerative orchestration is off, or instructions allow answering from training dataConfirm Generative orchestration is On. Tighten instructions to require an MCP tool call for any live Docusign state. Republish.
    Agent not appearing in Teams or M365 CopilotChannel not enabled, agent not published, or tenant admin approval pendingIn Channels, confirm Microsoft Teams / Extend Microsoft 365 Copilot is On and submitted. Confirm tenant admin approval. Re-publish.

    Stage 4 · Agent Studio - Procurement Agent 10 min

    ⚠️ Agent Studio is coming soon. This feature is on the Docusign product roadmap and is not yet available in developer / demo accounts. The steps below show what the experience will look like once it is enabled.

    Agent Studio is Docusign's native agent builder - an alternative path to Stage 3's Copilot Studio approach. Instead of connecting an external AI platform via MCP, you build the Procurement agent directly inside Docusign, grounded on the same Agreement Manager corpus. The result: Fontara's team gets contract intelligence without leaving the Docusign platform.

    Stage 3 vs Stage 4 - two paths, same outcome. Stage 3 (MCP + Copilot Studio) is the integration story: bring Docusign intelligence into Microsoft 365, Teams, and any MCP-compatible AI client. Stage 4 (Agent Studio) is the native story: build and deploy directly inside Docusign, no external platform required. Both approaches query the same Agreement Manager corpus built in Stages 1 & 2.

    4.1 · Create the Procurement Agent

    1. In your Docusign developer account, navigate to Agent Studio.
    2. Click Create a draft agent.
    3. In the description box, paste the following and click Create Agent:
    Agent description - paste into the draft agent boxProcurement agent for Fontara that answers questions about vendor agreements, surfaces renewal risks, flags off-standard payment terms and liability gaps, and triggers renewal workflows. Uses Docusign Agreement Manager as the source of truth for all contract data.

    4.2 · Name & configure the agent

    1. Set the agent name to Fontara Procurement Agent.
    2. Under Define what starts this agent, confirm both In chat and In a workflow are enabled.
    3. Paste the instructions below into the Instructions field:
    Agent instructions - paste into the Instructions fieldYou are the Procurement Agent for Fontara, a B2B company. The procurement team manages a portfolio of vendor contracts - MSAs, SOWs, NDAs, supply agreements, and device contracts. You help procurement teams: 1. Surface upcoming renewals and expiring agreements across the vendor portfolio 2. Extract and summarize key terms - payment terms, renewal notice periods, liability caps, termination clauses 3. Flag off-standard terms (payment terms beyond 30 days, renewal notice under 90 days, missing price-protection clauses) 4. Compare vendors side-by-side on compliance posture and obligations 5. Identify agreements missing standard documents (DPA, AI Use Addendum, MFN clause) 6. Rank contracts by value and surface the highest-risk agreements first Behavior rules: - Always use Docusign Agreement Manager as the source of truth. Never fabricate agreement data, dates, dollar amounts, or clause text. - Lead responses with a one-line summary, then the detail. - Use visual indicators: ✅ in place · ⚠️ at-risk · 🔴 missing · 🕐 pending - If a field is not in the data, say so explicitly - do not guess.

    4.4 · Test the agent

    Click Test (top right) and run these prompts in order. Each should return grounded data from your Agreement Manager corpus.

    T1 · Portfolio overviewWhat vendor agreements does Fontara have in place? Summarise by agreement type and supplier.
    T2 · Renewal riskWhich agreements are coming up for renewal in the next 180 days? Flag anything with a renewal notice period under 90 days.
    T3 · Off-standard termsPull the payment terms across all active vendor agreements. Flag any that are beyond 30 days and show the supplier name alongside.
    T4 · Vendor risk comparisonCompare MarketPulse Dynamics and Momentum Driver on compliance posture - payment terms, renewal notice, and any price-protection or MFN clauses. What does MarketPulse Dynamics have that Momentum Driver is missing?
    T5 · Missing coverage gapsWhich vendors are missing a DPA or AI Use Addendum? Order by contract value.
    The one-line message: Docusign CLI standardized and ingested the corpus → Iris AI extracted structured fields → MCP + Copilot Studio (Stage 3) and Agent Studio (Stage 4) turn that intelligence into answers, wherever the procurement team already works.
    Page 2 of 2, Hands-on Flow. Prerequisites and Stage 1 use the official Docusign Agreement CLI (docusign command, npm: @docusign/agreement-cli@1.1.0-beta). Stage 2 extraction steps follow the current Agreement Manager UI - confirm exact labels against your account.
    For questions or feedback: amrit.prakash@docusign.com