AWS AppFlow Salesforce EventBridge

1 min read aws, appflow, salesforce, eventbridge

Written in 2020. Tools, APIs and prices may have changed since.

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/aws-appflow-salesforce-eventbridge-playground.

AWS AppFlow example of salesforce event -> AppFlow -> EventBridge -> CloudWatch Logs. Followed steps in Building Salesforce integrations with Amazon EventBridge and Amazon AppFlow | Amazon Web Services post.

Notes

  • observed low latency - AppFlow flow runs within 2 seconds of event being generated in salesforce.
  • only fields specified in mapping are passed to EventBridge as properties of detail.
  • Private Amazon AppFlow flows is available for salesforce that uses AWS PrivateLink to route data over AWS infrastructure without exposing it to the public internet

Screenshot Tour

Turn on Change Data Capture for the relevant objects in salesforce

Error when CDC is not turned on in salesforce for the object

AppFlow leverages already installed/available “Amazon AppFlow Embedded Login App” Connected App in salesforce

Image no longer available

Run History

Event in CloudWatch Logs

AppFlow Mapping

Resources

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.