Skip to main content

Pipedrive Integration Template

Integrate Pipedrive CRM into your mid-call actions and enable your AI assistant to automatically update deal statuses, manage pipeline stages, and optimize sales processes during customer conversations.

Overview & Features

Deal Management

  • Real-time deal status updates during calls
  • Pipeline stage management and progression
  • Deal value adjustments based on negotiations
  • Automatic activity logging

Sales Pipeline Optimization

  • Intelligent stage progression based on call content
  • Win/loss tracking with reasons
  • Improved sales velocity through immediate updates
  • Team performance analytics and forecasting

Pipedrive API Setup

1. Obtain Pipedrive API Token

1

Generate API Token

  • Log in to Pipedrive
  • Navigate to “Settings” → “Personal preferences” → “API”
  • Click on “Generate new token”
  • Token name: “Famulor Mid-Call Integration”
2

Identify Pipeline and Stages

Pipeline Configuration:
  1. Go to "Settings" → "Pipeline Settings"
  2. Note down Pipeline IDs and Stage IDs:
     - Lead Pipeline: ID 1
     - Sales Pipeline: ID 2
     - Enterprise Pipeline: ID 3
  
Document Stage IDs:
  - Qualification: Stage ID 1
  - Demo Scheduled: Stage ID 2
  - Proposal Made: Stage ID 3
  - Negotiation: Stage ID 4

Configure Deal Update Tool

Configuration in the Famulor Interface

FieldValue
Name*Pipedrive Deal aktualisieren
Description”Updates deal status, pipeline stage, and values in Pipedrive based on call progression”
Function Name*update_pipedrive_deal
Function Description*“Updates a deal in Pipedrive. Use this to change deal status, document pipeline progress, or adjust values after negotiations.”
HTTP MethodPUT
Timeout (ms)5000
Endpoint*https://api.pipedrive.com/v1/deals/{deal_id}

Parameter Schema

{
  "type": "object",
  "properties": {
    "deal_id": {
      "type": "integer",
      "description": "Pipedrive deal ID (from previous search or known)"
    },
    "title": {
      "type": "string",
      "description": "New deal title (optional)"
    },
    "value": {
      "type": "number",
      "description": "Deal value in Euro"
    },
    "status": {
      "type": "string",
      "enum": ["open", "won", "lost"],
      "description": "Deal status"
    },
    "stage_id": {
      "type": "integer",
      "description": "Pipeline stage ID for deal progression"
    },
    "probability": {
      "type": "integer",
      "description": "Closing probability in percent (0-100)",
      "minimum": 0,
      "maximum": 100
    },
    "close_date": {
      "type": "string",
      "format": "date",
      "description": "Expected close date (YYYY-MM-DD)"
    },
    "lost_reason": {
      "type": "string",
      "description": "Reason for lost deal (only if status='lost')"
    },
    "next_activity": {
      "type": "string",
      "description": "Next planned activity"
    },
    "call_notes": {
      "type": "string",
      "description": "Notes from the current call"
    }
  },
  "required": ["deal_id"]
}

Practical Use Cases

Scenario 1: Deal Progression During Sales Call

1

Pipeline Advancement

Call Context:
  Customer: "The demo was convincing. Please send me an offer."
  
AI: "Great! I am updating the deal status..."

update_pipedrive_deal:
  deal_id: 12345
  stage_id: 3  # "Proposal Made" stage
  probability: 75
  close_date: "2024-02-15"
  call_notes: "Demo successful, offer requested. Customer very interested. Budget confirmed: €50k"
2

Value Negotiation Tracking

Price Negotiation:
  Customer: "€50k is too much. What can we do at €40k?"
  
Deal Update:
  value: 40000
  stage_id: 4  # "Negotiation" stage  
  probability: 60  # Reduced due to price pressure
  call_notes: "Customer requests price reduction from €50k to €40k. Negotiations ongoing."

Natural Language Integration

Agent Message: "I am updating the deal in Pipedrive..." Success Template: "Deal has been successfully updated."