Routing Voice Agent Salesforce Calls Through a Small Endpoint for Token Handling

The article argues that a Salesforce success response is the only reliable confirmation that a voice agent's call was logged, so failed requests must be retried. It recommends placing a small HTTPS endpoint between the voice agent and Salesforce, since the agent's fixed-value credentials don't fit Salesforce's short-lived client credentials tokens. That endpoint holds the Salesforce secret, checks a bridge key from the agent, and refreshes tokens automatically when Salesforce returns a 401. The author also covers setup details, including creating an External Client App and using a restricted integration user, and describes using Dograh's pre-call data fetch to look up inbound callers by phone number in Salesforce.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in