๐ค Route Placetel AI Voice Agent calls to Salesforce CRM
โก 4 views ยท ๐ค CRM & Sales Operations
Description
Quick overview
This workflow exposes a secured webhook for a Placetel AI Voice Agent and routes each request to Salesforce to either look up an existing contact by phone, create a callback task, open a case, update a contact via REST PATCH, or create a new lead, then returns a JSON response.
How it works
- Receives a POST webhook request from Placetel AI and reads the
vorgangfield in the request body to determine the requested operation. - For
bestandskunde_pruefen, normalizes the phone number, searches Salesforce Contacts by Phone/MobilePhone, and returns whether a matching customer was found along with contact details. - For
rueckruf_erfassen, creates a high-priority Salesforce Task with the caller details and preferred callback time, then returns a success response with the task ID. - For
ticket_anlegen, creates a Salesforce Case with the provided subject, description, and priority, then returns a success response with the case ID. - For
kontakt_aktualisieren, builds a field map from only the provided values and sends a Salesforce REST API PATCH request to update the Contact, then returns a success response. - For
lead_anlegen, creates a Salesforce Lead using the supplied name/company/phone/email and returns a success response with the lead ID. - If
vorgangis not recognized, returns an HTTP 400 error with the list of allowed operations.
Setup
- Add a Salesforce OAuth2 connection and select it for the Salesforce nodes and the REST API request that updates Contacts.
- Replace
https://YOUR_INSTANCE.my.salesforce.comin the contact update request URL with your Salesforce My Domain. - Configure the webhook header authentication credential (for example, a shared token header) and set the same header in Placetel AI.
- Copy the webhook URL from n8n and configure Placetel AI to call it via POST while sending the required
vorgangand corresponding fields in the JSON body.
๐ Nodes Used
HTTP Request, Webhook, Salesforce
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File