---
title: "Salesforce Webhook Setup Guide for 2026"
description: "Salesforce webhooks come via Workflow HTTP Callout, Outbound Message, Platform Event, Change Data Capture or Apex."
url: https://www.activepieces.com/blog/salesforce-webhook-setup-guide-for-2026
updated: 2026-12-04
---

> Every page on www.activepieces.com is available as markdown: add `.md` to the URL, or send `Accept: text/markdown`. Site index: https://www.activepieces.com/llms.txt

# Salesforce Webhook Setup Guide for 2026

By Bethany Morrison · December 4, 2026 · 17 min read · Filed under [Automation tutorials](https://www.activepieces.com/blog/category/automation-tutorials)

**Summary**

Salesforce offers four webhook mechanisms, but only Outbound Message automatically retries failed deliveries.

- Outbound Message alone retries automatically for up to 24 hours, then drops failed deliveries.
- Platform Event delivery limits are 10,000 daily for Professional, 25,000 for Enterprise.
- Outbound Message sends SOAP XML; most other mechanisms use JSON.

You choose one of four mechanisms, because Salesforce has no generic webhook feature: Flow HTTP Callout, Outbound Message, Platform Event, Change Data Capture or an Apex callout.

Each differs in who initiates delivery, what the payload looks like and who handles failure, whether the receiving end is a custom service or a workflow tool such as [Activepieces](https://www.activepieces.com).

**Only Outbound Message retries for you**, and with the others a failed delivery is your problem. That retries column matters most in the table below, which also compares push versus subscribe, payload, authentication and edition.

## Salesforce webhook options and what each one sends

> Only Outbound Message retries for you, and with the others a failed delivery is your problem.

[Revspire](https://www.revspire.io/compare/salesforce-pricing) checked this against [Salesforce](https://www.salesforce.com/sales/pricing/)'s developer documentation on 2026-12-04 (start at [developer.salesforce.com/docs](https://developer.salesforce.com/docs)). Editions change, so confirm yours before building.

| Mechanism | Push or subscribe | Payload format | Authentication | Retries | Edition |
|---|---|---|---|---|---|
| Flow HTTP Callout | Push | JSON, shaped by you | Named Credential | None built in | Enterprise, Unlimited, Performance, Developer |
| Outbound Message | Push | SOAP XML | Optional session ID in message; endpoint must acknowledge | Salesforce retries until acknowledged, within a limited window | Broadly available, including lower editions |
| Platform Event | Subscribe | Event schema over Pub/Sub API or CometD | OAuth | Subscriber replays from a replay ID | Enterprise, Unlimited, Performance, Developer |
| Change Data Capture | Subscribe | Change event with changed fields | OAuth | Subscriber replays from a replay ID | Enterprise, Unlimited, Performance, Developer |
| Apex callout | Push | Anything you serialize | Named Credential or code | Only what you write | Enterprise, Unlimited, Performance, Developer |

Read it as two groups: three mechanisms push to a URL, and two make your receiver connect and listen.

### Outbound Message: SOAP push on a record change

When a record meets a condition, this declarative action posts a SOAP envelope of selected fields to a URL. It's the one option with delivery retries built in, as long as your endpoint returns the SOAP acknowledgment.

![A single SOAP envelope, drawn as an XML-style card of selected fields, traveling from a Salesforce record to a URL…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/d15a53a2-31d1-4362-87b0-0f67ef1ddd08/salesforce-webhook-setup-guide-for-2026-illustra-cebb0fda.webp)

Because most modern receivers don't parse XML or answer in SOAP out of the box, the endpoint must do both, and that is the cost.

### Workflow HTTP Callout and Apex: a JSON POST you control

With a Flow HTTP Callout or an Apex callout, Salesforce initiates the request and you decide the JSON body, headers and endpoint. That control is why they're the closest thing to a webhook.

![Activepieces workflow builder with HTTP request step selected and its settings panel open showing method, URL, headers, and…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/9e36e973-de4a-435f-8912-12e666216b2d/self-host-mistral-ai-enterprise-deployment-guide-3f7fe28d.webp)

**Neither retries a failed call for you**, so a timeout on your side is a lost event unless you add a retry or a queue.

Flow suits admins; Apex suits batching, signing and error handling.

### Platform Events and Change Data Capture: subscribe, not push

Neither of these posts to your URL. Your receiver opens a subscription and Salesforce streams events to it. A Platform Event carries a payload you define and publish; Change Data Capture emits a change event automatically when records change.

![A person at a desk holding a pipe end up to their ear while a distant spout streams small envelopes toward them; their own…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/14e72e36-a348-4774-a409-28fece50e34e/salesforce-webhook-setup-guide-for-2026-illustra-19b2c086.webp)

If a subscriber was offline, it can resume from its last replay ID. That is the upside. The catch is that a plain HTTPS endpoint can't receive them without a subscriber process.

### Which option fits which task

Use Flow HTTP Callout when an admin needs a JSON POST on a record change. Choose Apex when you need signing, batching or custom retry.

Pick Outbound Message only if the receiver speaks SOAP. Reach for Platform Events or Change Data Capture when you need replay and can run a subscriber.

Once you've picked the mechanism, the receiving end of that callout isn't a hiring decision: you describe the process to [Activepieces](https://www.activepieces.com) in its built-in chat, say a Closed Won Opportunity posting to Slack, and it publishes the live flow a builder would otherwise have wired by hand.

That flow sits under the same RBAC and audit logs as every other one, human-built or not, and each run leaves a trace anyone can read without any certification. MoneyGram and Moneypenny run Activepieces in production.

What Salesforce emits is still yours to decide, so make that choice first.

## Access, editions and credentials for the Salesforce API

You need an edition that includes API access, a profile with API Enabled, an app registered for OAuth, and a token that the limits resource accepts. The webhook choice from the last section sits on top of these four things.

Edition decides the first one.

The $75 jump from Starter to Pro buys more than features, because API access is where lower tiers get fenced off.

Confirm in your own org that the edition you pay for exposes the API before you design around it. There's no per-call price. Calls count against your edition's allocation, and as of 4 December 2026 I found no metered fee in the docs.

1. Confirm the edition has API access, using Setup and the edition's documented limits.
2. Enable **API Enabled** on the integration user's profile or a permission set.
3. Create the Connected App (or External Client App).
4. Set the OAuth scopes.
5. Request a token.
6. Call the limits resource.

viz type=stripplot title="What Salesforce Sales Cloud editions cost per user" unit="$ per user per month" source="G2 - https://www.g2.com/products/salesforce-sales-cloud/pricing"65."
Starter Suite: 25
Pro Suite: 100
Enterprise: 165
Unlimited: 330
Einstein 1 Sales: 500

That order matters because each step fails with a vague error if the one before it was skipped.

### Create a Salesforce connected app with OAuth

In Setup, create the Connected App, or an External Client App where your org steers new integrations toward them. Enable OAuth settings and add a callback URL, even a placeholder if you use a server-to-server flow.

Grant the `api` scope, which covers REST calls. Add `refresh_token` only if you use a flow that issues refresh tokens. Narrow scopes mean a leaked token can do less, so skip `full`.

### Request a Salesforce API access token

For a server integration, the client credentials flow posts to `https://YOURDOMAIN.my.salesforce.com/services/oauth2/token` with `grant_type=client_credentials`, your consumer key and your consumer secret.

Assign a run-as user to the app first. Without one, the request is rejected, and the error text rarely says why.

Pin the API version in every URL. The version climbs with each release, per [Salesforce Developers](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/rest_rns.htm): 56 for Winter '23, 59 for Winter '24, 62 for Winter '25, 65 for Winter '26 and 68 for Winter '27.

![Salesforce API version at each Winter release](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/530266e2-32ce-458e-84fd-c285e4dc848d/salesforce-webhook-setup-guide-for-2026-distribu-6664988f.svg "Source: Salesforce Developers")

Because Salesforce ships three versions a year, an unpinned integration can drift by a dozen behaviours in four years without a line of your code changing. Use `v68.0` today and upgrade on purpose.

![A wall of calendar pages for four years, each slightly more tilted, with one small machine in front whose nameplate is…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/b4d572a8-77e2-40c8-9f33-65efc8348ddb/salesforce-webhook-setup-guide-for-2026-illustra-87fecc29.webp)

### Confirm Salesforce API access with the limits resource

Send a GET to `/services/data/v68.0/limits` with the header `Authorization: Bearer <token>`. A 200 response lists each allocation with `Max` and `Remaining`.

Read `DailyApiRequests` first. If `Remaining` is far below `Max` on a fresh integration user, something else in the org is already spending your budget.

That response proves the edition, profile, app, scope and token all line up. Now that you can read the allocation, you can pick what Salesforce emits without guessing what it costs.

## A minimal working Salesforce webhook, step by step

To get one real event to your HTTPS endpoint the cheapest way, you need six steps: a record-triggered Flow that fires an HTTP Callout through a Named Credential, so any failure in the chain blocks the event.

The list below is the whole build; the subsections after it cover the parts that fail quietly.

1. Create a Named Credential holding your endpoint and a shared-secret header.
2. Build a record-triggered Flow on Opportunity.
3. Add an HTTP Callout action that sends a POST with a JSON body.
4. Activate the Flow.
5. Edit a test Opportunity so the trigger condition is met.
6. Check what your receiver logged.

Because Salesforce doesn't sign these callouts by default, the shared secret in step one is your main proof of origin unless you add your own signature. Treat it as the authentication, not a nicety.

### Create a named credential for the webhook

Since every call carries the endpoint URL and credentials that a Named Credential stores, the secret never appears in Flow logic or a formula.

Create it in Setup with your receiver's HTTPS URL, then add a custom header such as `X-Webhook-Secret` carrying a long random value.

Grant the running user access through a permission set. A missing grant is the usual reason a Flow that looks correct fails at the callout with an authorization error.

### Build the record-triggered Workflow

Create a Flow that triggers on Opportunity when a record is updated, and give it an entry condition, for example a change to Stage. Without one, every save on every Opportunity calls out, and you pay for that in allocation.

In the immediate path of a record-triggered Flow, callouts can't run, so add the asynchronous path and place the HTTP Callout action there.

Pick your Named Credential, set the method to POST, and write a JSON body that maps in the record's Id, Name, Stage and Amount. Activate, then edit a test Opportunity to trigger it.

Nothing beyond what you mapped reaches your receiver. Salesforce adds no envelope, event name or delivery ID, so include any field you'll need later, including a changed-at value:

```json
{
 "event": "opportunity.stage_changed",
 "id": "006xx0000012AbCAAU",
 "name": "Renewal - Example Co",
 "stage": "Closed Won",
 "amount": 12000
}
```

The `event` label is yours, a convention you invent, not something Salesforce supplies. If your receiver logs this body, the path works end to end.

### Verify the Salesforce webhook sender at your endpoint

Reject any request whose `X-Webhook-Secret` header doesn't match your stored value, and compare with a constant-time function. Serve over HTTPS only. Because nothing signs the body, anyone who learns the secret can forge events, so rotate it in the Named Credential if it leaks.

There is an alternative in Outbound Message. It needs no Flow callout, but it sends fixed SOAP XML rather than your own JSON, which suits endpoints already built for it and few others.

## Understand API limits and production errors

Before traffic arrives, know which allowance you're burning: API requests for polling, callouts per transaction for Flow, delivery events for Platform Events. Each outbound mechanism spends a different one.

### Salesforce API rate limits by edition

Read the last two rows first: they're the event delivery allowances, and they're smaller than the pull allowances in the rows above them, so event delivery is more limited. The table below shows the daily ceilings that matter for this design.

| Limit | Value | Unit | Source |
|---|---|---|---|
| Developer Edition API requests | 15,000 | requests per 24 hours | Salesforce API limits documentation |
| Professional (with API access) and Enterprise API requests | 100,000 plus 1,000 per license | requests per 24 hours | Salesforce API limits documentation |
| Platform Event delivery, Enterprise | 25,000 | events per 24 hours | [Salesforce Developer Docs](https://developer.salesforce.com/docs/platform/platform-events/guide/platform-events-limits-svpe.html) |
| Platform Event delivery, Unlimited | 50,000 | events per 24 hours | [Salesforce Developer Docs](https://developer.salesforce.com/docs/platform/platform-events/guide/platform-events-limits-svpe.html) |

**10,000 Platform Event deliveries per 24 hours** is what Professional edition gets, according to [Developer](https://developer.salesforce.com/docs/platform/platform-events/guide/platform-events-limits-svpe.html). A busy Opportunity object can burn through that before lunch, so a Professional org should count its expected daily changes before choosing events.

25,000 for Enterprise and 50,000 for Unlimited is what G2 notes, and Unlimited is only double the Enterprise figure, not a different class of capacity.

When an endpoint is slow, the whole transaction stalls, not just one call, because two per-transaction limits apply to the Flow route: a transaction may make 100 callouts, and cumulative callout time is capped at 120 seconds. Recheck both against the docs before you build.

### Fix REQUEST_LIMIT_EXCEEDED and expired session errors

When the rolling 24-hour API allocation is spent, you get REQUEST_LIMIT_EXCEEDED, and every integration sharing that org is now failing, not just yours. Stop polling, back off, and move the trigger to push.

If the access token expired or was revoked, you get INVALID_SESSION_ID. Refresh it with the stored refresh token and retry once; don't loop. If it recurs within minutes, check the connected app's session policy.

"You have uncommitted work pending" appears when a callout follows a database write in the same transaction. Put the callout first or run it asynchronously, using the Flow's asynchronous path.

### Salesforce webhook failed deliveries, retries and replay

After up to 24 hours of retries, Outbound Message drops a failed delivery, which means undelivered messages are discarded after 24 hours.

A Flow HTTP Callout has no such queue: a failure is a fault in that one interview, and nothing is redelivered unless you build it.

If a subscriber was down, it **can resume from a stored replay ID**, because Platform Events keep events for 72 hours. That makes events the only option of the four here with a built-in replay position.

Treat every channel as at-least-once. Outbound Message retries can redeliver a notification you already processed, so deduplicate on the notification ID. With events, deduplicate on the replay ID.

Ordering holds within one channel, not across objects, so never assume a child record's event arrives after its parent's.

## Receive Salesforce events in Activepieces without code

Activepieces, whose core is MIT-licensed, receives the event, but it can't make Salesforce send one. If a child record's event may beat its parent's, the fix is in what Salesforce emits, and the flow you build afterward only inherits that behavior.

### Start from the Salesforce trigger or Webhook trigger

Use the Salesforce integration's trigger if its trigger list covers your event. Check that list in the flow builder rather than assuming, since I won't claim trigger names I can't point to.

If the integration offers nothing that matches, use the generic Webhook trigger, which gives you a URL that accepts an HTTP POST from anything. That's the route for a Flow HTTP Callout, because the callout is just an outbound POST with a body you define.

The steps, in order:

1. Create a new flow in Activepieces and add the Webhook trigger. Copy the URL it shows.
2. In Salesforce, open the record-triggered Flow, add an HTTP Callout action, and paste that URL as the endpoint. Build the JSON body from the record's fields, and send only the ones the flow needs.
3. Send a test record: change a test Opportunity so the Flow fires.
4. Back in Activepieces, open the trigger's sample data and confirm the fields arrived under the names you expect. This is your first look at the real payload, so map from it, not from your Flow definition.
5. Add a Slack action to post a message, then a Salesforce create-task action, or an HTTP step if the integration lacks one.
6. Publish. The test URL and the published URL aren't necessarily the same, so repoint the callout if the builder shows a different one.

You can prompt the chat assistant to build these steps from a description, but the trigger and its sample data are still yours to verify.

### One workflow: Closed Won to Slack and a task

Take this example: when an Opportunity's stage becomes Closed Won, the Flow fires the callout. The workflow posts the account name and amount to a Slack channel, then creates a follow-up task for the owner.

Put a condition in the Salesforce Flow entry criteria so the callout only fires on the transition to Closed Won. Otherwise every later edit to that record sends the same message again, and the Slack channel fills with duplicates.

![A workflow automation canvas showing a Stripe payment failed trigger connected to a Slack message action, with…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/832a3d13-71ba-413a-9599-dc58eb902861/webhook-signature-verification-how-to-secure-int-dbd07535.webp)

After each run, open the run trace. Each step shows its input and output, so you can see whether Slack got the amount you intended or an empty field. A green run only means every step executed, not that the data in it was right.

### When to stay inside Salesforce

If the whole job touches only Salesforce records, such as creating a task when an Opportunity closes, a Flow does it natively, with no external hop to fail. **A callout adds a network dependency**, so keep that work in the Flow.

Choose Platform Events or Change Data Capture when several systems need the same event, or when you need subscribers to replay missed messages. A webhook URL that is down simply misses the call, and you'd build your own retry around it.

Use the Salesforce API directly when you need to query related records in bulk or write back at volume.

Activepieces earns its place for the last mile: it has 751 integrations, roughly 60% of them community-contributed, so Slack, email and other tools that Salesforce doesn't reach cleanly on its own are already covered.

## Frequently asked questions

### Does Salesforce sign webhook payloads?

Not by default, and that depends on the mechanism. Outbound Messages are SOAP calls sent from Salesforce, and they carry no HMAC signature header you can verify against a shared secret.

Since a Flow HTTP Callout sends only what you put into it, signing is something you build. Compute the signature yourself and add it as a header, or use a named credential to attach authentication.

With Platform Events and Change Data Capture, nothing is pushed to your URL at all. Your subscriber connects to Salesforce and authenticates there, so the question moves from "is this payload genuine" to "is this connection authorized."

If your receiver sits on a public URL, add a shared secret or a signing step you control, and reject anything that lacks it.

### Can I get a webhook for any object without code?

Mostly, with a caveat about what "without code" covers. A record-triggered Flow with an HTTP Callout action is built with clicks, and it can watch any object that supports flow triggers.

Outbound Messages are also configured in Setup without code, though they're tied to workflow rules, an older tool Salesforce no longer steers new work toward.

Check the object's entry before promising a stakeholder coverage, because some objects don't support these triggers, and which ones is documented per object. You also write the request body yourself, so "no code" still means deciding which fields leave the org.

### Is the Salesforce API free to use?

There's no separate per-call charge on the API itself, but access isn't unlimited. API availability depends on your edition, and every org has a cap on requests over a rolling window, set by edition and licence count.

Outbound callouts from a Flow count against their own limits, and event delivery has allocations of its own.

Don't read "no per-call fee" as "no ceiling." A chatty integration can hit a limit and fail, which is a cost of a different kind. Read the limits page for your edition and compare it to your expected event volume before you build.

### Should I use Change Data Capture instead of a webhook?

Use Change Data Capture when you want a stream of every change to a set of objects. It needs a receiver that can hold a subscription open and replay from where it left off.

It publishes create, update, delete and undelete events without you building a trigger for each one.

Choose a Flow HTTP Callout instead when you want a plain HTTP POST to a URL, with a body you shape and a trigger condition you control.

The trade is simple: Change Data Capture gives you completeness and replay but needs a subscriber, while a callout gives you a webhook-like push but leaves retries and signing to you.

## Related reading

- [Datadog Salesforce Integration: A 2026 Setup Guide](https://www.activepieces.com/blog/datadog-salesforce-integration-a-2026-setup-guide)
- [DocuSign Salesforce Integration: Setup Guide (2026)](https://www.activepieces.com/blog/docusign-salesforce-integration-setup-guide-2026)
- [Salesforce Zendesk Integration: A Setup Guide for 2026](https://www.activepieces.com/blog/salesforce-zendesk-integration-a-setup-guide-for-2026)

## References

- [G2](https://www.g2.com/products/salesforce-sales-cloud/pricing)
- [Salesforce Developers](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/rest_rns.htm)
- [Salesforce Developer Docs](https://developer.salesforce.com/docs/platform/platform-events/guide/platform-events-limits-svpe.html)
