I was wondering if there is any way to show a real time update by a callout which fires, let's say an async method called from a trigger.


User updates something on the account record page and this fires a trigger that does the callout from Salesforce to a webservice. The update will be shown when the response is received without needing user to refresh the page.

What are the possible ways that this is possible on the platform? Can we use platform events? Streaming API? LWC wire? Change data capture?

1 Answer 1


For anyone looking for a similar question, it's possible with EMPAPI + CDC.

Using a custom component on record page that listens to the record's channel handle the change event if the record id matches with the one on the event, then fire refresh view you can check the record id on the event payload.


    "payload": {
        "recordIds": [

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .