π€ Manage caller contacts, deals and callbacks with Placetel and Pipedrive
β‘ 18 views Β· π€ CRM & Sales Operations
Description
Quick overview
This workflow exposes a Placetel webhook that routes voice-agent requests to Pipedrive to look up callers, create contacts, log callback or call activities, create deals, and report deal status, returning a short βspeechβ text for the agent to read back.
How it works
- Receives a POST webhook request from Placetel containing an
operationplus call metadata. - Extracts the operation and normalizes the caller phone number (German format) from headers/body for consistent matching in Pipedrive.
- Routes the request by
operationto either search for an existing Pipedrive person, create a person, create a callback activity, fetch a deal, create a deal linked to the caller, or log the call as an activity. - For contact creation, creates a Pipedrive person with email when provided, otherwise creates the person without email to avoid validation errors.
- Builds a structured response containing status fields (for example
found,created, or IDs) and aspeechstring. - Returns the response to Placetel via the webhook response so the voice agent can speak the message to the caller.
Setup
- Add a Pipedrive credential in n8n and select it on all Pipedrive nodes.
- Activate the workflow and copy the production webhook URL for the
POST /placetel-pipedriveendpoint. - In Placetel, configure the voice agent tool to POST to this webhook URL and send an
operationvalue (one ofcheck_customer,create_contact,create_callback,deal_status,create_deal, orlog_call) in the request body or query. - Ensure Placetel passes the caller number in a request header (for example
x-caller-number) or in a body field likephone/caller, and include%%caller_number%%in your agent prompt if you use that pattern. - If you use
deal_status, ensure the agent provides a validdeal_id(orid) in the request body.
π Nodes Used
Pipedrive, Webhook
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File