BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
114 / 1048 · Module 4 — Salesforce Connector← prev⊞ allnext →

4.30Event-driven Salesforce integration

Not every integration is:

Mule → Salesforce

Sometimes Salesforce changes something and Mule reacts:

Salesforce
    ↓
event
    ↓
Mule
    ↓
ERP

Example:

Opportunity becomes Closed Won
       ↓
Mule receives event
       ↓
create customer in billing system

You may encounter:

Platform Events
Change Data Capture
Pub/Sub API

For now, just understand:

Polling model:

Mule:
"Anything changed?"
"Anything changed?"
"Anything changed?"


Event model:

Salesforce:
"Something changed."
        ↓
Mule

We'll go deeper into sync versus async later.