Get previous version of object in Salesforce subscriptions

Jul 13th, 2020view comments

Our Salesforce subscriptions now include the previous version of the object that was updated.

Example query:

subscription SalesforceOpportunityUpdateSubscription {
  salesforce {
    opportunityUpdated {
      opportunity {
        id        
        stageName
      }
      previousOpportunity {        
        stageName
      }
    }
  }
}

Read more about OneGraph's GraphQL subscriptions in the docs.

Hop into our Spectrum channel if you have any questions.