Salesforce Integration Template

Integrieren Sie Ihre Mid-Call-Tools mit Salesforce, dem weltweit führenden CRM-System. Diese Integration bietet umfangreiche Möglichkeiten für Enterprise-Workflows, komplexe Sales-Prozesse und skalierbare Customer-Relationship-Management.

Überblick & Enterprise-Features

Enterprise-CRM-Integration

  • Vollständige Salesforce-Object-Unterstützung (Leads, Contacts, Accounts, Opportunities)
  • Custom Objects und Fields
  • Salesforce-Workflows und Triggers
  • Multi-Org-Support für große Unternehmen

Advanced Sales Features

  • Territory Management Integration
  • Sales Process und Stage-Management
  • Einstein AI Lead Scoring
  • Revenue Cloud Integration

Salesforce API-Setup

1. Connected App erstellen

1

Setup-Navigation

  • Melden Sie sich bei Salesforce als Admin an
  • Gehen Sie zu “Setup” (Zahnrad-Symbol)
  • Navigieren Sie zu “Apps” → “App Manager”
2

Connected App konfigurieren

App-Details:
  Connected App Name: "Famulor Mid-Call Tools"
  API Name: "Famulor_Mid_Call_Tools"
  Contact Email: ihr-admin@firma.de
  
OAuth Settings:
  Enable OAuth Settings: 
  Callback URL: https://app.famulor.de/oauth/callback
  Selected OAuth Scopes:
    - "Access and manage your data (api)"
    - "Perform requests on your behalf at any time (refresh_token, offline_access)"
    - "Access your basic information (id, profile, email, address, phone)"
3

API-Credentials sichern

Nach der Erstellung:
  • Consumer Key (Client ID) notieren
  • Consumer Secret (Client Secret) notieren
  • Diese werden für die Tool-Authentication benötigt
4

User-Permissions setzen

Profile-Permissions (für Service User):
  - "API Enabled" 
  - "View All Data" (oder spezifische Object-Permissions)
  - "Modify All Data" (nur für Write-Operationen)
  
Optional - IP-Restrictions:
  - Vertrauenswürdige IP-Ranges definieren
  - VPN-basierte Zugriffe konfigurieren

2. Authentication-Flow

Authentication-Type: "OAuth 2.0"
Grant Type: "Client Credentials" oder "Authorization Code"

Token-Endpoint:
  URL: https://login.salesforce.com/services/oauth2/token
  Method: POST
  
Headers:
  Content-Type: "application/x-www-form-urlencoded"
  
Body:
  grant_type: "client_credentials"
  client_id: "{consumer_key}"
  client_secret: "{consumer_secret}"
  username: "{sf_username}"  # für Username-Password-Flow
  password: "{sf_password}{security_token}"

Lead-Management-Tool

1. Lead-Lookup-Tool

2. Lead-Creation-Tool

Funktionsname: create_salesforce_lead
HTTP-Methode: POST
URL: https://{instance}.salesforce.com/services/data/v60.0/sobjects/Lead

Headers:
  Authorization: "Bearer {access_token}"
  Content-Type: "application/json"

3. Lead-Update & Qualification

{
  "type": "object",
  "properties": {
    "lead_id": {
      "type": "string",
      "description": "Salesforce Lead-ID für Update"
    },
    "status": {
      "type": "string",
      "enum": ["Open - Not Contacted", "Working - Contacted", "Closed - Converted", "Closed - Not Converted"],
      "description": "Neuer Lead-Status"
    },
    "rating": {
      "type": "string", 
      "enum": ["Hot", "Warm", "Cold"],
      "description": "Lead-Rating basierend auf Gespräch"
    },
    "qualification_notes": {
      "type": "string",
      "description": "BANT-Qualifikation und Gesprächsnotizen"
    },
    "next_action": {
      "type": "string",
      "description": "Empfohlene nächste Schritte"
    },
    "assigned_owner": {
      "type": "string",
      "description": "Salesforce User-ID für Zuweisung"
    }
  },
  "required": ["lead_id"]
}

Contact & Account Management

1. Contact-Lookup mit Account-Informationen

2. Account-Enrichment

Tool: get_salesforce_account
SOQL: "SELECT Id, Name, Industry, AnnualRevenue, NumberOfEmployees,
              BillingAddress, Website, Phone, Type, 
              Parent.Name, Owner.Name,
              Last_Activity__c, Health_Score__c
       FROM Account 
       WHERE Name LIKE '%{company_name}%' OR Website LIKE '%{domain}%'"

Use Case: Firmendaten während Gespräch anreichern

Opportunity-Management

1. Opportunity-Tracking

2. Opportunity-Creation-Tool

3. Sales Process Integration

Salesforce-Stage-Mapping:
  "Prospect Reached" → StageName: "Prospecting"
  "Needs Identified" → StageName: "Qualification" 
  "Budget Confirmed" → StageName: "Needs Analysis"
  "Demo Scheduled" → StageName: "Value Proposition"
  "Proposal Requested" → StageName: "Id. Decision Makers"
  "Negotiation Started" → StageName: "Proposal/Price Quote"
  "Contract Sent" → StageName: "Negotiation/Review"
  "Deal Closed" → StageName: "Closed Won"

Automatic-Stage-Progression:
  - Basierend auf Gesprächsinhalten
  - Trigger für Workflow-Rules
  - Integration mit Sales-Process-Builder

Activity & Task Management

Automatische Activity-Protokollierung

Territory & Team Management

1. Lead-Routing basierend auf Territory

-- Territory-Lookup für automatische Zuweisung
SELECT Id, Name, 
       (SELECT User.Id, User.Name FROM UserTerritories WHERE RoleInTerritory = 'Sales Rep')
FROM Territory2
WHERE State__c = '{customer_state}' 
   OR Industry__c = '{customer_industry}'
   OR Company_Size__c = '{company_size_category}'

2. Escalation-Management

Custom Objects & Industry Solutions

1. Industry-Specific Objects

Advanced Features

1. Flow & Process Builder Integration

Flow-Trigger-Beispiele:
  
  Lead-Created-Flow:
    Trigger: Lead Creation via API
    Actions:
      - Duplicate-Check ausführen
      - Enrichment via Data.com
      - Auto-Assignment Rules
      - Welcome-E-Mail senden
      - Task für First-Contact erstellen
  
  Opportunity-Stage-Change:
    Trigger: Stage-Update via Mid-Call-Tool
    Actions:
      - Approval-Process für große Deals
      - Quote-Generation für Proposal-Stage
      - Contract-Template-Creation
      - Revenue-Forecast-Update

2. Einstein Analytics Integration

Performance & Monitoring

API-Limits & Governance

Limit-TypStandardEnterpriseBest Practice
Daily API Requests15,000100,000+Request-Pooling
Concurrent Requests25100Queue-Management
Data Storage1GBUnlimitedArchive-Strategy
SOQL Queries per Transaction100100Bulk-Operations

Monitoring & Alerting

1

API-Usage-Monitoring

Metrics zu überwachen:
  - API-Request-Volume
  - Response-Times
  - Error-Rates by Endpoint
  - Quota-Utilization
2

Business-Impact-Tracking

KPIs:
  - Lead-Creation-Rate via Mid-Call-Tools
  - Conversion-Rate-Improvement  
  - Sales-Cycle-Reduction
  - Revenue-Attribution

Enterprise-Integration-Patterns

Erweitern Sie Ihre Salesforce-Integration:
Compliance-Hinweis: Bei Enterprise-Salesforce-Integrationen müssen Sie ggf. spezielle Compliance-Anforderungen (SOX, HIPAA, etc.) beachten. Konsultieren Sie Ihr Compliance-Team vor der Implementierung.
Skalierungs-Tipp: Beginnen Sie mit Standard-Objects (Lead, Contact, Opportunity) und erweitern Sie schrittweise um Custom-Objects und Advanced-Features. Salesforce bietet umfangreiche Sandbox-Umgebungen für sicheres Testing.