Skip to main content
The Salesforce plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).
New to Corsair? See webhooks and hooks.

Webhook map

  • accountCreatedOrUpdated (accountCreatedOrUpdated)
  • contactUpdated (contactUpdated)
  • genericSObjectRecordUpdated (genericSObjectRecordUpdated)
  • newContact (newContact)
  • newLead (newLead)
  • newOrUpdatedOpportunity (newOrUpdatedOpportunity)
  • taskCreatedOrCompleted (taskCreatedOrCompleted)

HTTP handler setup

app/api/webhook/route.ts

Events

Account Created Or Updated

Account Created Or Updated

accountCreatedOrUpdated Account created or updated Payload
webhookHooks example

Contact Updated

Contact Updated

contactUpdated Contact updated Payload
webhookHooks example

Generic SObject Record Updated

Generic SObject Record Updated

genericSObjectRecordUpdated Generic sObject record updated Payload
webhookHooks example

New Contact

New Contact

newContact New contact created Payload
webhookHooks example

New Lead

New Lead

newLead New lead created Payload
webhookHooks example

New Or Updated Opportunity

New Or Updated Opportunity

newOrUpdatedOpportunity Opportunity created or updated Payload
webhookHooks example

Task Created Or Completed

Task Created Or Completed

taskCreatedOrCompleted Task created or completed Payload
webhookHooks example