Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Extend Salesforce with Clicks, Not Code
Send Events from AWS Back to Salesforce Using an API Destination

Send Events from AWS Back to Salesforce Using an API Destination

An API destination is the target of a rule, and it enables you to route events to HTTP endpoints. Specifically, you can use an API destination to publish an event to Salesforce from EventBridge using REST API.

  • Create a Connected App in Salesforce for OAuth
    To use OAuth to authorize the API call to Salesforce, set up a connected app in Salesforce. The connected app generates a consumer key and secret that you can store in the EventBridge connection in AWS.
  • Create an API Destination and Connection in EventBridge
    Create an API destination that uses a new connection. In this case, the API destination is a REST API call to Salesforce to publish a platform event back. The connection contains the authentication information for the API call. The connection accepts several authorization methods.
  • Create an EventBridge Rule and Connect it to the API Destination
    The EventBridge rule routes events from the event bus to the API destination, which results in making a REST call to publish an event back to Salesforce.
  • Verify the API Destination
    Publish a test event to the event bus that is associated with the rule you created in a previous step, and verify that your subscriber in Salesforce receives the event from Amazon EventBridge.
 
Loading
Salesforce Help | Article