SalesForce +
OpenAI
Integration
Connect OpenAI
to Salesforce
Analyze documents, extract fields, and draft replies from Salesforce. When processing takes longer than a callout can wait, configure an OpenAI background request and completion webhook to bring the result back.
Free tier available
2.500+ installs
Setup in <30 min
Integrations
Popular ways to use the Salesforce + OpenAI integration.
Overview
How the Salesforce + OpenAI integration works
Send selected Salesforce fields to the OpenAI API and map the generated output back to your records. Use a reusable template from Flow or a dedicated scheduled job. For background responses, store the response ID and retrieve the result after a completion event.
How It Works
Three steps to go live.
The Platform
Why build it with Declarative Webhooks.
1
Summarize records for handoffs
Give the next account owner a concise summary of approved account notes, outstanding questions, and next steps directly on the Salesforce record.

2
Extract fields from notes
Ask for structured output such as a renewal date or requested product. Map each value to its own field and validate it before using it in automation.

3
Draft replies for review
Generate a follow-up using selected Opportunity details. Save the draft in Salesforce so the rep can edit and approve it before sending.

4
Process selected records on a schedule
Run a dedicated job for records awaiting analysis. Choose the record filter, callout template, and schedule instead of starting every request on a record change.

5
Handle analysis that outlasts a callout
Large-document analysis can exceed a callout’s timeout. Submit a background response, store its ID, and use a completion webhook to trigger retrieval and update Salesforce.

6
Control the full AI workflow
A simple prompt action may leave the difficult last step unfinished. Configure supported OpenAI requests, background completion handling, and result mappings around your Salesforce process.


Compatibility
Compatibility & Requirements

Declarative Webhooks package required
FAQ









